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

« back to all changes in this revision

Viewing changes to etc/afpd/uid.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: uid.h,v 1.6 2002/08/30 19:32:41 didg Exp $
 
3
 * code: jeff@univrel.pr.uconn.edu
 
4
 */
 
5
 
 
6
#ifndef AFPD_UID_H
 
7
#define AFPD_UID_H 1
 
8
 
 
9
#ifdef FORCE_UIDGID
 
10
 
 
11
/* have to make sure struct vol is defined */
 
12
#include "volume.h"
 
13
 
 
14
/* functions to save and restore uid/gid pairs */
 
15
extern void save_uidgid    ( uidgidset * );
 
16
extern void restore_uidgid ( uidgidset * );
 
17
extern void set_uidgid     ( const struct vol * );
 
18
 
 
19
/* internal functions to convert user and group names to ids */
 
20
extern int  user_to_uid  ( char * );
 
21
extern int  group_to_gid ( char * );
 
22
 
 
23
#endif /* FORCE_UIDGID */
 
24
 
 
25
#endif