]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/switch.h
Spotlight: use async Tracker SPARQL API
[netatalk.git] / etc / afpd / switch.h
index 27e104f648b6eaf6f25c739e089d9d265a9d416a..1cc50d01bf038a4f017c530dcf5b7b001d2d5e9f 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: switch.h,v 1.2 2001-06-20 18:33:04 rufustfirefly Exp $
  *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
 #ifndef AFPD_SWITCH_H
 #define AFPD_SWITCH_H 1
 
-extern int     (**afp_switch)();
-extern int     (*postauth_switch[])();
+extern AFPCmd  *afp_switch;
+extern AFPCmd  postauth_switch[];
+
+/* switch.c */
+#define UAM_AFPSERVER_PREAUTH  (0)
+#define UAM_AFPSERVER_POSTAUTH (1 << 0)
+
+extern int uam_afpserver_action (const int /*id*/, const int /*switch*/, 
+                                    AFPCmd new_table, AFPCmd *old);
+
 
 #endif