diff options
author | wpaul <wpaul@FreeBSD.org> | 1997-05-28 15:47:10 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1997-05-28 15:47:10 +0000 |
commit | 93c9d6f0d2e00568c4a86fdce41d2843a35dcb29 (patch) | |
tree | 2cec6e499fc9885ffaaca37c53d046064f0d2ecf /usr.sbin/rpc.ypupdated/ypupdated_extern.h | |
parent | 7467e74fd1ffc0466987fdf1610da369c4f873e3 (diff) | |
parent | 90bef9e0aea2a3b97f16d0f3d3a23b6df8221e96 (diff) | |
download | FreeBSD-src-93c9d6f0d2e00568c4a86fdce41d2843a35dcb29.zip FreeBSD-src-93c9d6f0d2e00568c4a86fdce41d2843a35dcb29.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r26236,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'usr.sbin/rpc.ypupdated/ypupdated_extern.h')
-rw-r--r-- | usr.sbin/rpc.ypupdated/ypupdated_extern.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/usr.sbin/rpc.ypupdated/ypupdated_extern.h b/usr.sbin/rpc.ypupdated/ypupdated_extern.h new file mode 100644 index 0000000..28ea7ac --- /dev/null +++ b/usr.sbin/rpc.ypupdated/ypupdated_extern.h @@ -0,0 +1,29 @@ +#include <db.h> + +#define YPOP_CHANGE 1 /* change, do not add */ +#define YPOP_INSERT 2 /* add, do not change */ +#define YPOP_DELETE 3 /* delete this entry */ +#define YPOP_STORE 4 /* add, or change */ + +#define ERR_ACCESS 1 +#define ERR_MALLOC 2 +#define ERR_READ 3 +#define ERR_WRITE 4 +#define ERR_DBASE 5 +#define ERR_KEY 6 + +#ifndef YPLIBDIR +#define YPLIBDIR "/usr/libexec/" +#endif + +#ifndef MAP_UPPATE +#define MAP_UPDATE "ypupdate" +#endif + +#define MAP_UPDATE_PATH YPLIBDIR MAP_UPDATE + +extern int children; +extern void ypu_prog_1 __P(( struct svc_req *, register SVCXPRT * )); +extern int localupdate __P(( char *, char *, u_int, u_int, char *, u_int, char * )); +extern int ypmap_update __P(( char *, char *, u_int, u_int, char *, u_int, char * )); +extern int yp_del_record __P(( DB *, DBT * )); |