2007-07-12 18:26:36 +00:00
|
|
|
/* Copyright (C) 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
|
1998-01-31 08:39:55 +00:00
|
|
|
This file is part of the GNU C Library.
|
|
|
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
|
|
|
|
2007-07-12 18:26:36 +00:00
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License version 2 as
|
|
|
|
published by the Free Software Foundation.
|
1998-01-31 08:39:55 +00:00
|
|
|
|
2007-07-12 18:26:36 +00:00
|
|
|
This program is distributed in the hope that it will be useful,
|
1998-01-31 08:39:55 +00:00
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2007-07-12 18:26:36 +00:00
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
1998-01-31 08:39:55 +00:00
|
|
|
|
2007-07-12 18:26:36 +00:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software Foundation,
|
|
|
|
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
1998-01-31 08:39:55 +00:00
|
|
|
|
|
|
|
#include <grp.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define LOOKUP_TYPE struct group
|
|
|
|
#define FUNCTION_NAME getgrgid
|
|
|
|
#define DATABASE_NAME group
|
|
|
|
#define ADD_PARAMS gid_t gid
|
|
|
|
#define ADD_VARIABLES gid
|
|
|
|
#define BUFLEN NSS_BUFLEN_GROUP
|
|
|
|
|
|
|
|
#include <nss/getXXbyYY_r.c>
|