]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/status.h
/tmp/log
[netatalk.git] / etc / afpd / status.h
1 /*
2  * $Id: status.h,v 1.5 2001-12-03 05:03:38 jmarcus Exp $
3  */
4
5 #ifndef AFPD_STATUS_H
6 #define AFPD_STATUS_H 1
7
8 #include <sys/cdefs.h>
9 #include <atalk/dsi.h>
10 #include <atalk/asp.h>
11 #include "globals.h"
12 #include "afp_config.h"
13
14 /* we use these to prevent whacky alignment problems */
15 #define AFPSTATUS_MACHOFF     0
16 #define AFPSTATUS_VERSOFF     2
17 #define AFPSTATUS_UAMSOFF     4
18 #define AFPSTATUS_ICONOFF     6
19 #define AFPSTATUS_FLAGOFF     8
20 #define AFPSTATUS_PRELEN     10
21 #define AFPSTATUS_POSTLEN     4
22 #define AFPSTATUS_LEN        (AFPSTATUS_PRELEN + AFPSTATUS_POSTLEN)
23
24
25 #define PASSWD_NONE     0
26 #define PASSWD_SET     (1 << 0)
27 #define PASSWD_NOSAVE  (1 << 1)
28 #define PASSWD_ALL     (PASSWD_SET | PASSWD_NOSAVE)
29
30 extern void status_versions __P((char * /*status*/));
31 extern void status_uams __P((char * /*status*/, const char * /*authlist*/));
32 extern void status_init __P((AFPConfig *, AFPConfig *,
33                                  const struct afp_options *));
34 extern int      afp_getsrvrinfo __P((AFPObj *, char *, int, char *, int *));
35
36 #endif