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