]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/switch.h
fce: afpd: fix event names array
[netatalk.git] / etc / afpd / switch.h
index 38eaf67caf68fc19b96e0683205986c87342afa8..1cc50d01bf038a4f017c530dcf5b7b001d2d5e9f 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ *
  * 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