dummypwd.h - enscript - GNU Enscript
HTML git clone git://thinkerwim.org/enscript.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
dummypwd.h (1095B)
---
1 /*
2 * Replacement for the pwd.h header file for micro ports.
3 * Copyright (c) 1996 Markku Rossi.
4 *
5 * Author: Markku Rossi <mtr@iki.fi>
6 */
7
8 /*
9 * This file is part of GNU Enscript.
10 *
11 * Enscript is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Enscript is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Enscript. If not, see <http://www.gnu.org/licenses/>.
23 */
24
25 #ifndef DUMMYPWD_H
26 #define DUMMYPWD_H
27
28 /* Passwd structure. */
29 struct passwd
30 {
31 char *pw_name;
32 char *pw_gecos;
33 char *pw_dir;
34 };
35
36 /*
37 * Prototypes for passwd related functions.
38 */
39
40 struct passwd *getpwuid ();
41
42 struct passwd *getpwnam ();
43
44 #endif /* DUMMYPWD_H */