rpm
5.2.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
rpmio
ugid.h
Go to the documentation of this file.
1
#ifndef H_UGID
2
#define H_UGID
3
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
/*
13
* These may be called w/ a NULL argument to flush the cache -- they return
14
* -1 if the user can't be found.
15
*/
16
int
unameToUid
(
const
char
* thisUname,
/*@out@*/
uid_t * uid)
17
/*@modifies *uid @*/
;
18
int
gnameToGid
(
const
char
* thisGname,
/*@out@*/
gid_t * gid)
19
/*@modifies *gid @*/
;
20
21
/*
22
* Call w/ -1 to flush the cache, returns NULL if the user can't be found.
23
*/
24
/*@observer@*/
/*@null@*/
25
char
*
uidToUname
(uid_t uid)
26
/*@*/
;
27
/*@observer@*/
/*@null@*/
28
char
*
gidToGname
(gid_t gid)
29
/*@*/
;
30
31
#ifdef __cplusplus
32
}
33
#endif
34
35
#endif
/* H_UGID */
36
Generated on Wed Sep 25 2013 21:56:57 for rpm by
1.8.3.1