]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/switch.h
fce: afpd: fix event names array
[netatalk.git] / etc / afpd / switch.h
index 3ca8d2a9942a83359b947cebfc61d57843126152..1cc50d01bf038a4f017c530dcf5b7b001d2d5e9f 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: switch.h,v 1.3 2009-10-13 22:55:37 didg 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)(AFPObj *, char *ibuf, int ilen, char *rbuf, int *rlen);
-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