summaryrefslogtreecommitdiff
path: root/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/objndx.h
blob: 09573ffeb035f2e3bd4ec9d43732b774f69cb10a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 1994, 1995.  Netscape Communications Corporation.  All
 * rights reserved.
 *
 * Use of this software is governed by the terms of the license agreement for
 * the Netscape Communications or Netscape Comemrce Server between the
 * parties.
 */


/* ------------------------------------------------------------------------ */


#ifndef __objndx_h
#define __objndx_h

/* Define maximum length of object name strings */
#define OBJNDXNAMLEN    16

/* Functions in objndx.c */
extern void * objndx_create(int size, void (*freefunc)(void *));
extern char * objndx_register(void * objndx, void * objptr, char * namebuf);
extern void * objndx_lookup(void * objndx, char * objname);
extern void * objndx_remove(void * objndx, char * objname);
extern void objndx_destroy(void * objndx);

#endif /* __objndx_h */