Add double_t and float_t typedefs for both i386 and amd64 as required by C99.
[dragonfly.git] / usr.sbin / rpc.ypupdated / ypupdated_extern.h
blob36e029f5fe778107448fbe07e011974436c2b559
1 /*
2 * $FreeBSD: src/usr.sbin/rpc.ypupdated/ypupdated_extern.h,v 1.1.1.1.6.1 2002/02/15 00:46:57 des Exp $
3 * $DragonFly: src/usr.sbin/rpc.ypupdated/ypupdated_extern.h,v 1.3 2004/05/20 19:24:43 cpressey Exp $
4 */
6 #include <db.h>
8 #define YPOP_CHANGE 1 /* change, do not add */
9 #define YPOP_INSERT 2 /* add, do not change */
10 #define YPOP_DELETE 3 /* delete this entry */
11 #define YPOP_STORE 4 /* add, or change */
13 #define ERR_ACCESS 1
14 #define ERR_MALLOC 2
15 #define ERR_READ 3
16 #define ERR_WRITE 4
17 #define ERR_DBASE 5
18 #define ERR_KEY 6
20 #ifndef YPLIBDIR
21 #define YPLIBDIR "/usr/libexec/"
22 #endif
24 #ifndef MAP_UPPATE
25 #define MAP_UPDATE "ypupdate"
26 #endif
28 #define MAP_UPDATE_PATH YPLIBDIR MAP_UPDATE
30 extern int children;
31 extern void ypu_prog_1(struct svc_req *, SVCXPRT *);
32 extern int localupdate(char *, char *, u_int, u_int, char *, u_int, char *);
33 extern int ypmap_update(char *, char *, u_int, u_int, char *, u_int, char *);
34 extern int yp_del_record(DB *, DBT *);