]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/afp_config.h
74c494061592f85b63c961e4226b26aec24aefd6
[netatalk.git] / etc / afpd / afp_config.h
1 #ifndef AFPD_CONFIG_H
2 #define AFPD_CONFIG_H 1
3
4 #include <sys/cdefs.h>
5 #include <atalk/server_child.h>
6 #include <atalk/atp.h>
7 #include "globals.h"
8
9 typedef struct AFPConfig {
10   AFPObj obj;
11   int fd, statuslen;
12   unsigned char *optcount;
13   char status[ATP_MAXDATA];
14   const void *defoptions, *signature;
15   int (*server_start) __P((struct AFPConfig *, struct AFPConfig *,
16                            server_child *));
17   void (*server_cleanup) __P((const struct AFPConfig *));
18   struct AFPConfig *next;
19 } AFPConfig;
20
21 extern AFPConfig *configinit __P((struct afp_options *));
22 extern void configfree __P((AFPConfig *, const AFPConfig *));
23 #endif