]>
Commit | Line | Data |
---|---|---|
fd6b7a7f KZ |
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 | ||
fd6b7a7f KZ |
17 | #ifndef DEBUG |
18 | #define PASSWD_FILE _PATH_PASSWD | |
19 | #define PTMP_FILE _PATH_PTMP | |
20 | #define PTMPTMP_FILE _PATH_PTMPTMP | |
21 | ||
22 | #define GROUP_FILE _PATH_GROUP | |
23 | #define GTMP_FILE _PATH_GTMP | |
24 | #define GTMPTMP_FILE _PATH_GTMPTMP | |
25 | #else | |
26 | #define PASSWD_FILE "/tmp/passwd" | |
27 | #define PTMP_FILE "/tmp/ptmp" | |
28 | #define PTMPTMP_FILE "/tmp/ptmptmp" | |
29 | ||
30 | #define GROUP_FILE "/tmp/group" | |
31 | #define GTMP_FILE "/tmp/gtmp" | |
32 | #define GTMPTMP_FILE "/tmp/gtmptmp" | |
33 | #endif | |
66ee8158 KZ |
34 | |
35 | extern int setpwnam (struct passwd *pwd); |