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