]> 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
6 #include "globals.h"
7
8 typedef struct AFPConfig {
9     AFPObj obj;
10     int fd, statuslen;
11     unsigned char *optcount;
12     char status[1400];
13     const void *defoptions, *signature;
14     afp_child_t *(*server_start) (struct AFPConfig *, struct AFPConfig *,
15                              server_child *);
16     void (*server_cleanup) (const struct AFPConfig *);
17     struct AFPConfig *next;
18 } AFPConfig;
19
20 extern AFPConfig *configinit (struct afp_options *);
21 extern void configfree (AFPConfig *, const AFPConfig *);
22
23 #endif