X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fafp_config.h;h=bfa93c73d4a6dba22c23a3e95efb21597231daf8;hb=260c314546ffcfdbef47f2c7de82d5310b26df0a;hp=022a6e65d41e1c979fb7597408b41fb1dd47c139;hpb=14874ef66d68c5200a9a42a7408d022d58211898;p=netatalk.git diff --git a/etc/afpd/afp_config.h b/etc/afpd/afp_config.h index 022a6e65..bfa93c73 100644 --- a/etc/afpd/afp_config.h +++ b/etc/afpd/afp_config.h @@ -3,20 +3,9 @@ #include #include +#include -typedef struct AFPConfig { - AFPObj obj; - int fd, statuslen; - unsigned char *optcount; - char status[1400]; - const void *defoptions, *signature; - afp_child_t *(*server_start) (struct AFPConfig *, struct AFPConfig *, - server_child *); - void (*server_cleanup) (const struct AFPConfig *); - struct AFPConfig *next; -} AFPConfig; - -extern AFPConfig *configinit (struct afp_options *); -extern void configfree (AFPConfig *, const AFPConfig *); +extern int configinit (AFPObj *); +extern void configfree (AFPObj *, DSI *); #endif