protos.h revision ba8937d83675c7d69808d1d3df8f823afdc5ce2a
/*
SSSD
Client Interface for NSS and PAM.
Authors:
Simo Sorce <ssorce@redhat.com>
Copyright (C) Red Hat, Inc 2007
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#if 0
/* SHADOW database NSS interface */
enum nss_status _nss_sss_setspent(void);
enum nss_status _nss_sss_endspent(void);
/* HOSTS database NSS interface */
enum nss_status _nss_sss_sethostent(void);
enum nss_status _nss_sss_endhostent(void);
/* NETGROUP database NSS interface */
struct __netgrent *result);
int *errnop);
enum nss_status _nss_ldap_endnetgrent(void);
/* too bad innetgr is currently implemented as an iteration over
* {set|get|end}netgroup ... */
/* NETWORKS database NSS interface */
enum nss_status _nss_sss_setnetent(void);
enum nss_status _nss_sss_endnetent(void);
/* PROTOCOLS database NSS interface */
int *errnop);
int *errnop);
enum nss_status _nss_sss_setprotoent(void);
int *errnop);
enum nss_status _nss_sss_endprotoent(void);
/* SERVICES database NSS interface */
const char *protocol,
int *errnop);
int *errnop);
enum nss_status _nss_sss_setservent(void);
int *errnop);
enum nss_status _nss_sss_endservent(void);
/* ALIASES database NSS interface */
int *errnop);
enum nss_status _nss_sss_setaliasent(void);
int *errnop);
enum nss_status _nss_sss_endaliasent(void);
/* ETHERS database NSS interface */
int *errnop);
int *errnop);
enum nss_status _nss_sss_setetherent(void);
int *errnop);
enum nss_status _nss_sss_endetherent(void);
/* RPC database NSS interface */
int *errnop);
int *errnop);
enum nss_status _nss_sss_setrpcent(void);
int *errnop);
enum nss_status _nss_sss_endrpcent(void);
#endif