]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_config.h
Sending TM used size
[netatalk.git] / etc / afpd / afp_config.h
index 20e629a7b25d0db780c1ba9bf4e76623074fa3c2..ba800ce3aa45c5b547b296ea0e650ebf9a48d6f7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: afp_config.h,v 1.2 2001-06-20 18:33:04 rufustfirefly Exp $
+ * $Id: afp_config.h,v 1.5 2009-10-13 22:55:36 didg Exp $
  */
 
 #ifndef AFPD_CONFIG_H
 #include "globals.h"
 
 typedef struct AFPConfig {
-  AFPObj obj;
-  int fd, statuslen;
-  unsigned char *optcount;
-  char status[ATP_MAXDATA];
-  const void *defoptions, *signature;
-  int (*server_start) __P((struct AFPConfig *, struct AFPConfig *,
-                          server_child *));
-  void (*server_cleanup) __P((const struct AFPConfig *));
-  struct AFPConfig *next;
+    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 __P((struct afp_options *));
-extern void configfree __P((AFPConfig *, const AFPConfig *));
+extern AFPConfig *configinit (struct afp_options *);
+extern void configfree (AFPConfig *, const AFPConfig *);
 
 #endif