/*
- * $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