~mdw
/
become
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for different login styles, and environment variable
[become]
/
src
/
name.h
diff --git
a/src/name.h
b/src/name.h
index
8d94ed5
..
85e170e
100644
(file)
--- a/
src/name.h
+++ b/
src/name.h
@@
-1,13
+1,13
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: name.h,v 1.
1 1997/07/21 13:47:46
mdw Exp $
+ * $Id: name.h,v 1.
3 1997/08/20 16:18:05
mdw Exp $
*
* Looking up of names in symbol tables
*
* (c) 1997 EBI
*/
*
* Looking up of names in symbol tables
*
* (c) 1997 EBI
*/
-/*----- Licen
c
ing notice --------------------------------------------------*
+/*----- Licen
s
ing notice --------------------------------------------------*
*
* This file is part of `become'
*
*
* This file is part of `become'
*
@@
-22,14
+22,20
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with `become'; if not, write to the Free Software
- *
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139
, USA.
+ * along with `become'; if not, write to the Free Software
Foundation,
+ *
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307
, USA.
*/
/*----- Revision history --------------------------------------------------*
*
* $Log: name.h,v $
*/
/*----- Revision history --------------------------------------------------*
*
* $Log: name.h,v $
- * Revision 1.1 1997/07/21 13:47:46 mdw
+ * Revision 1.3 1997/08/20 16:18:05 mdw
+ * Replace `name_reinit' by `name_end' for more sensible restart.
+ *
+ * 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
*
*/
* Initial revision
*
*/
@@
-72,18
+78,17
@@
typedef struct name {
extern void name_init(void);
extern void name_init(void);
-/* --- @name_
reinit
@ --- *
+/* --- @name_
end
@ --- *
*
* Arguments: ---
*
* Returns: ---
*
*
* 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@ --- *
*
/* --- @name_find@ --- *
*
@@
-105,14
+110,14
@@
extern name *name_find(const char */*p*/,
/* --- @name_dump@ --- *
*
/* --- @name_dump@ --- *
*
- * Arguments:
@FILE *fp@ = stream to dump on
+ * Arguments:
---
*
* Returns: ---
*
* Use: Dumps a complete listing of the symbol table.
*/
*
* Returns: ---
*
* Use: Dumps a complete listing of the symbol table.
*/
-extern void name_dump(
FILE */*fp*/
);
+extern void name_dump(
void
);
/*----- That's all, folks -------------------------------------------------*/
/*----- That's all, folks -------------------------------------------------*/