2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #ifndef __gator_objdict_h
11 #define __gator_objdict_h 1
13 /*--------------------------------------------------------------------------------
16 * Definitions for the gator object dictionary.
17 *--------------------------------------------------------------------------------*/
19 #include "gtxobjects.h" /*Standard gator object defns */
21 extern int gator_objdict_init(int adebug
);
24 * Initialize the gator object dictionary package.
27 * int adebug: Is debugging output turned on?
31 * Error value otherwise.
34 extern int gator_objdict_add(struct onode
*objtoadd
);
37 * Add an entry to the gator object dictionary.
40 * struct onode *objtoadd: Ptr to object to add.
44 * Error value otherwise.
47 extern int gator_objdict_delete(struct onode
*objtodelete
);
50 * Delete an entry from the gator object dictionary.
53 * struct onode *objtodelete: Ptr to object to delete.
57 * Error value otherwise.
60 extern struct onode
*gator_objdict_lookup(char *nametofind
);
63 * Look up a gator object by name.
66 * char *nametofind: String name of desired onode.
69 * Ptr to desired onode if successful,
70 * Null pointer otherwise.
73 #endif /* __gator_objdict_h */