X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/03f996bd8a0d6391518979cdab3dbe38cba0bf83..9dc8f71525461775496b3f363a5aa7c462ca4858:/src/name.h diff --git a/src/name.h b/src/name.h index 93793c9..8a6b106 100644 --- a/src/name.h +++ b/src/name.h @@ -1,10 +1,10 @@ /* -*-c-*- * - * $Id: name.h,v 1.2 1997/08/04 10:24:24 mdw Exp $ + * $Id: name.h,v 1.8 2004/04/08 01:36:20 mdw Exp $ * * Looking up of names in symbol tables * - * (c) 1997 EBI + * (c) 1998 EBI */ /*----- Licensing notice --------------------------------------------------* @@ -26,19 +26,8 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: name.h,v $ - * Revision 1.2 1997/08/04 10:24:24 mdw - * Sources placed under CVS control. - * - * Revision 1.1 1997/07/21 13:47:46 mdw - * Initial revision - * - */ - -#ifndef NAMES_H -#define NAMES_H +#ifndef NAME_H +#define NAME_H #ifdef __cplusplus extern "C" { @@ -46,19 +35,17 @@ /*----- Required headers --------------------------------------------------*/ +#include + #ifndef CLASS_H # include "class.h" #endif -#ifndef SYM_H -# include "sym.h" -#endif - /*----- Data structures ---------------------------------------------------*/ typedef struct name { sym_base base; /* Base block for symbol table */ - classdef *c; /* Base class pointer */ + class_node *c; /* Base class pointer */ } name; /*----- Functions provided ------------------------------------------------*/ @@ -75,18 +62,17 @@ typedef struct name { extern void name_init(void); -/* --- @name_reinit@ --- * +/* --- @name_end@ --- * * * Arguments: --- * * Returns: --- * - * Use: Reinitialises the names table. It's cleared and then - * initialised with the current user and group ids as for - * @name_init@ above. + * Use: Closes down the name database, so that it can be + * reinitialised. */ -extern void name_reinit(void); +extern void name_end(void); /* --- @name_find@ --- * *