netatalk: switch.h Source File

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