2008-12-16 11:30:16 +03:00
/*
2002-01-30 09:08:46 +03:00
Unix SMB / CIFS implementation .
2003-03-31 08:36:01 +04:00
Winbind daemon for ntdom nss module
Copyright ( C ) Tim Potter 2000
2008-12-16 11:30:16 +03:00
2002-01-09 00:11:25 +03:00
This library is free software ; you can redistribute it and / or
2007-07-10 08:04:46 +04:00
modify it under the terms of the GNU Lesser General Public
2002-01-09 00:11:25 +03:00
License as published by the Free Software Foundation ; either
2007-07-10 06:31:50 +04:00
version 3 of the License , or ( at your option ) any later version .
2008-12-16 11:30:16 +03:00
2002-01-09 00:11:25 +03:00
This library is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the GNU
Library General Public License for more details .
2008-12-16 11:30:16 +03:00
2007-07-10 08:04:46 +04:00
You should have received a copy of the GNU Lesser General Public License
2007-07-10 06:31:50 +04:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2002-01-09 00:11:25 +03:00
*/
2003-03-31 08:36:01 +04:00
# ifndef _WINBIND_NSS_LINUX_H
# define _WINBIND_NSS_LINUX_H
2017-10-21 15:08:15 +03:00
NSS_STATUS _nss_winbind_setpwent ( void ) ;
NSS_STATUS _nss_winbind_endpwent ( void ) ;
NSS_STATUS _nss_winbind_getpwent_r ( struct passwd * result , char * buffer ,
size_t buflen , int * errnop ) ;
NSS_STATUS _nss_winbind_getpwuid_r ( uid_t uid , struct passwd * result ,
char * buffer , size_t buflen , int * errnop ) ;
NSS_STATUS _nss_winbind_getpwnam_r ( const char * name , struct passwd * result ,
char * buffer , size_t buflen , int * errnop ) ;
NSS_STATUS _nss_winbind_setgrent ( void ) ;
NSS_STATUS _nss_winbind_endgrent ( void ) ;
NSS_STATUS _nss_winbind_getgrent_r ( struct group * result , char * buffer ,
size_t buflen , int * errnop ) ;
NSS_STATUS _nss_winbind_getgrlst_r ( struct group * result , char * buffer ,
size_t buflen , int * errnop ) ;
NSS_STATUS _nss_winbind_getgrnam_r ( const char * name , struct group * result ,
char * buffer , size_t buflen , int * errnop ) ;
NSS_STATUS _nss_winbind_getgrgid_r ( gid_t gid , struct group * result , char * buffer ,
size_t buflen , int * errnop ) ;
2017-10-21 15:14:34 +03:00
NSS_STATUS _nss_winbind_initgroups_dyn ( const char * user , gid_t group , long int * start ,
2017-10-21 15:08:15 +03:00
long int * size , gid_t * * groups ,
long int limit , int * errnop ) ;
2003-03-31 08:36:01 +04:00
# endif /* _WINBIND_NSS_LINUX_H */