diff options
Diffstat (limited to 'mknetid/mknetid.h')
-rw-r--r-- | mknetid/mknetid.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mknetid/mknetid.h b/mknetid/mknetid.h new file mode 100644 index 0000000..c2b628e --- /dev/null +++ b/mknetid/mknetid.h @@ -0,0 +1,28 @@ +/* Copyright (c) 1996, 1999, 2001, 2009 Thorsten Kukuk + Author: Thorsten Kukuk <kukuk@suse.de> + + The YP Server is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 2 as published by the Free Software Foundation. + + The YP Server is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public + License along with the YP Server; see the file COPYING. If + not, write to the Free Software Foundation, Inc., 51 Franklin Street, + Suite 500, Boston, MA 02110-1335, USA. */ + +#ifndef _MKNETID_H_ +#define _MKNETID_H_ + +extern char *xstrtok (char *cp, int delim); +extern int insert_user(const char *key, const char *domain, + const char *uid, const char *gid); +extern int insert_host(const char *host, const char *domain); +extern void print_table(void); +extern int add_group(const char *key, const char *grp); + +#endif |