]> code.delx.au - gnu-emacs/blob - nt/inc/grp.h
Add 2012 to FSF copyright years for Emacs files (do not merge to trunk)
[gnu-emacs] / nt / inc / grp.h
1 /* Replacement grp.h file for building GNU Emacs on Windows.
2
3 Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
4 Free Software Foundation, Inc.
5
6 This file is part of GNU Emacs.
7
8 GNU Emacs is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 GNU Emacs is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20
21 #ifndef _GRP_H
22 #define _GRP_H
23
24 #include <pwd.h> /* gid_t defined here */
25
26 /* Emacs uses only gr_name */
27 struct group {
28 char *gr_name; /* group name */
29 gid_t gr_gid; /* group numerical ID */
30 };
31
32 struct group *getgrgid(gid_t);
33
34 #endif /* _GRP_H */
35