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 */
15extern void save_uidgid    ( uidgidset * );
16extern void restore_uidgid ( uidgidset * );
17extern void set_uidgid     ( const struct vol * );
18
19/* internal functions to convert user and group names to ids */
20extern int  user_to_uid  ( char * );
21extern int  group_to_gid ( char * );
22
23#endif /* FORCE_UIDGID */
24
25#endif
26