nscd.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _NSCD_H
#define _NSCD_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
extern admin_t current_admin;
extern int attr_strlen(char *);
extern char *attr_strcpy(char *, char *);
extern nsc_stat_t *getcacheptr(char *s);
extern void getpw_init(void);
extern void getpw_revalidate(void);
extern void getpw_uid_reaper(void);
extern void getpw_nam_reaper(void);
extern void getpw_invalidate(void);
extern void getgr_init(void);
extern void getgr_revalidate(void);
extern void getgr_uid_reaper(void);
extern void getgr_nam_reaper(void);
extern void getgr_invalidate(void);
extern void gethost_init(void);
extern void gethost_revalidate(void);
extern void gethost_nam_reaper(void);
extern void gethost_addr_reaper(void);
extern void gethost_invalidate(void);
extern void getnode_init(void);
extern void getnode_revalidate(void);
extern void getnode_nam_reaper(void);
extern void getnode_addr_reaper(void);
extern void getnode_invalidate(void);
extern void getnode_name_invalidate(void);
int bucket);
extern int *maken(int n);
extern int get_clearance(int callnumber);
extern int release_clearance(int callnumber);
extern void getexec_init(void);
extern void getexec_revalidate(void);
extern void getexec_reaper(void);
extern void getexec_invalidate(void);
extern void getprof_init(void);
extern void getprof_revalidate(void);
extern void getprof_reaper(void);
extern void getprof_invalidate(void);
extern void getuser_init(void);
extern void getuser_revalidate(void);
extern void getuser_reaper(void);
extern void getuser_invalidate(void);
#ifdef __cplusplus
}
#endif
#endif /* _NSCD_H */