]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_config.h
Spotlight: use async Tracker SPARQL API
[netatalk.git] / etc / afpd / afp_config.h
index 74c494061592f85b63c961e4226b26aec24aefd6..bfa93c73d4a6dba22c23a3e95efb21597231daf8 100644 (file)
@@ -1,23 +1,11 @@
 #ifndef AFPD_CONFIG_H
 #define AFPD_CONFIG_H 1
 
-#include <sys/cdefs.h>
 #include <atalk/server_child.h>
-#include <atalk/atp.h>
-#include "globals.h"
+#include <atalk/globals.h>
+#include <atalk/dsi.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;
-} AFPConfig;
+extern int configinit (AFPObj *);
+extern void configfree (AFPObj *, DSI *);
 
-extern AFPConfig *configinit __P((struct afp_options *));
-extern void configfree __P((AFPConfig *, const AFPConfig *));
 #endif