1/*
2 * $Id: switch.h,v 1.4 2009-10-15 10:43:13 didg Exp $
3 *
4 * Copyright (c) 1990,1991 Regents of The University of Michigan.
5 * All Rights Reserved.
6 *
7 * Permission to use, copy, modify, and distribute this software and
8 * its documentation for any purpose and without fee is hereby granted,
9 * provided that the above copyright notice appears in all copies and
10 * that both that copyright notice and this permission notice appear
11 * in supporting documentation, and that the name of The University
12 * of Michigan not be used in advertising or publicity pertaining to
13 * distribution of the software without specific, written prior
14 * permission. This software is supplied as is without expressed or
15 * implied warranties of any kind.
16 *
17 *	Research Systems Unix Group
18 *	The University of Michigan
19 *	c/o Mike Clark
20 *	535 W. William Street
21 *	Ann Arbor, Michigan
22 *	+1-313-763-0525
23 *	netatalk@itd.umich.edu
24 */
25
26#ifndef AFPD_SWITCH_H
27#define AFPD_SWITCH_H 1
28
29extern AFPCmd	*afp_switch;
30extern AFPCmd	postauth_switch[];
31
32/* switch.c */
33#define UAM_AFPSERVER_PREAUTH  (0)
34#define UAM_AFPSERVER_POSTAUTH (1 << 0)
35
36extern int uam_afpserver_action (const int /*id*/, const int /*switch*/,
37				     AFPCmd new_table, AFPCmd *old);
38
39
40#endif
41