X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fafp_config.h;h=022a6e65d41e1c979fb7597408b41fb1dd47c139;hb=b0bcb8f6b0571592a50ce039882c9319e012a270;hp=b8a28b9f697111535f19cc2f9b27291aa615f37f;hpb=a7349ad51dd4d6e119ab7414fd19d6a8467f3f35;p=netatalk.git diff --git a/etc/afpd/afp_config.h b/etc/afpd/afp_config.h index b8a28b9f..022a6e65 100644 --- a/etc/afpd/afp_config.h +++ b/etc/afpd/afp_config.h @@ -1,31 +1,22 @@ -/* - * $Id: afp_config.h,v 1.3 2001-12-03 05:03:38 jmarcus Exp $ - */ - #ifndef AFPD_CONFIG_H #define AFPD_CONFIG_H 1 -#ifdef HAVE_SYS_CDEFS_H -#include -#endif /* HAVE_SYS_CDEFS_H */ - #include -#include -#include "globals.h" +#include typedef struct AFPConfig { AFPObj obj; int fd, statuslen; unsigned char *optcount; - char status[ATP_MAXDATA]; + char status[1400]; const void *defoptions, *signature; - int (*server_start) __P((struct AFPConfig *, struct AFPConfig *, - server_child *)); - void (*server_cleanup) __P((const struct AFPConfig *)); + afp_child_t *(*server_start) (struct AFPConfig *, struct AFPConfig *, + server_child *); + void (*server_cleanup) (const struct AFPConfig *); struct AFPConfig *next; } AFPConfig; -extern AFPConfig *configinit __P((struct afp_options *)); -extern void configfree __P((AFPConfig *, const AFPConfig *)); +extern AFPConfig *configinit (struct afp_options *); +extern void configfree (AFPConfig *, const AFPConfig *); #endif