]> git.ipfire.org Git - thirdparty/util-linux.git/blob - login-utils/setpwnam.h
Imported from util-linux-2.7.1 tarball.
[thirdparty/util-linux.git] / login-utils / setpwnam.h
1 /*
2 * setpwnam.h --
3 * define several paths
4 *
5 * (c) 1994 Martin Schulze <joey@infodrom.north.de>
6 * This file is based on setpwnam.c which is
7 * (c) 1994 Salvatore Valente <svalente@mit.edu>
8 *
9 * This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
13 */
14
15 #include "pathnames.h"
16
17 #define false 0
18 #define true 1
19
20 typedef int boolean;
21
22 #ifndef DEBUG
23 #define PASSWD_FILE _PATH_PASSWD
24 #define PTMP_FILE _PATH_PTMP
25 #define PTMPTMP_FILE _PATH_PTMPTMP
26
27 #define GROUP_FILE _PATH_GROUP
28 #define GTMP_FILE _PATH_GTMP
29 #define GTMPTMP_FILE _PATH_GTMPTMP
30 #else
31 #define PASSWD_FILE "/tmp/passwd"
32 #define PTMP_FILE "/tmp/ptmp"
33 #define PTMPTMP_FILE "/tmp/ptmptmp"
34
35 #define GROUP_FILE "/tmp/group"
36 #define GTMP_FILE "/tmp/gtmp"
37 #define GTMPTMP_FILE "/tmp/gtmptmp"
38 #endif