~ubuntu-branches/ubuntu/precise/netatalk/precise

« back to all changes in this revision

Viewing changes to etc/afpd/misc.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Rittau
  • Date: 2004-01-19 12:43:49 UTC
  • Revision ID: james.westby@ubuntu.com-20040119124349-es563jbp0hk0ae51
Tags: upstream-1.6.4
ImportĀ upstreamĀ versionĀ 1.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: misc.h,v 1.3 2001/12/03 05:03:38 jmarcus Exp $
 
3
 */
 
4
 
 
5
#ifndef AFPD_MISC_H
 
6
#define AFPD_MISC_H 1
 
7
 
 
8
#include <sys/cdefs.h>
 
9
#include "globals.h"
 
10
 
 
11
/* FP functions */
 
12
/* messages.c */
 
13
extern int      afp_getsrvrmesg __P((AFPObj *, char *, int, char *, int *));
 
14
 
 
15
/* afs.c */
 
16
#ifdef AFS
 
17
extern int      afp_getdiracl __P((AFPObj *, char *, int, char *, int *));
 
18
extern int      afp_setdiracl __P((AFPObj *, char *, int, char *, int *));
 
19
#else /* AFS */
 
20
#define afp_getdiracl   NULL
 
21
#define afp_setdiracl   NULL
 
22
#endif /* AFS */
 
23
 
 
24
#if defined( AFS ) && defined( UAM_AFSKRB )
 
25
extern int      afp_afschangepw __P((AFPObj *, char *, int, char *, int *));
 
26
#else /* AFS && UAM_AFSKRB */
 
27
#define afp_afschangepw NULL
 
28
#endif /* AFS && UAM_AFSKRB */
 
29
 
 
30
#endif