]> 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 7d5c482a16951a17c4e87923a099b8d5069b0c14..bfa93c73d4a6dba22c23a3e95efb21597231daf8 100644 (file)
@@ -1,31 +1,11 @@
-/*
- * $Id: afp_config.h,v 1.5 2009-10-13 22:55:36 didg Exp $
- */
-
 #ifndef AFPD_CONFIG_H
 #define AFPD_CONFIG_H 1
 
-#ifdef HAVE_SYS_CDEFS_H
-#include <sys/cdefs.h>
-#endif /* HAVE_SYS_CDEFS_H */
-
 #include <atalk/server_child.h>
-#include <atalk/atp.h>
 #include <atalk/globals.h>
+#include <atalk/dsi.h>
 
-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