summaryrefslogtreecommitdiff
path: root/build/names.h
blob: 4e797448f1d939c8413eb7c7a0e327b888d04d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* names.h -- user/group name/id cache plus hostname and buildtime */

#ifndef _NAMES_H_
#define _NAMES_H_

#include <sys/types.h>

char *getUname(uid_t uid);
char *getUnameS(char *uname);
char *getGname(gid_t gid);
char *getGnameS(char *gname);

char *buildHost(void);
void markBuildTime(void);
time_t *getBuildTime(void);

#endif _NAMES_H_