diff options
Diffstat (limited to 'ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/objndx.h')
-rw-r--r-- | ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/objndx.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/objndx.h b/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/objndx.h new file mode 100644 index 00000000000..ceb6d06b133 --- /dev/null +++ b/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/objndx.h @@ -0,0 +1,29 @@ +/* + * $Id$ + * + * 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 */ |