summaryrefslogtreecommitdiff
path: root/usr/src/lib/nsswitch/files/common/files_common.h
diff options
context:
space:
mode:
authordjl <none@none>2006-09-29 06:00:17 -0700
committerdjl <none@none>2006-09-29 06:00:17 -0700
commitcb5caa98562cf06753163f558cbcfe30b8f4673a (patch)
tree7a24623821583899295e29553207e69701b471ff /usr/src/lib/nsswitch/files/common/files_common.h
parent350f572a3fa518fc3690d53066c2c54fd03b5a08 (diff)
downloadillumos-gate-cb5caa98562cf06753163f558cbcfe30b8f4673a.tar.gz
PSARC 2005/133 Sparks: Name Service Switch 2
4406529 artificial limit of 10 threads per backend 4516075 LDAP connections could be reused more 4696964 LDAP naming services should support Kerberos authentication 4740951 Need host based authentication options in Native LDAP 4952533 Some backends of gethostby* do not set h_errno correctly 4979596 getXbyY calls should have better buffer mechanism 5028908 /usr/bin/logins accesses free memory deep in nss_getent_u(). 5046881 nscd: old-data-ok parameter is not useful, should go away 6225323 NSS/nscd Enhancements (Sparks Project) --HG-- rename : usr/src/cmd/nscd/attrstr.c => deleted_files/usr/src/cmd/nscd/attrstr.c rename : usr/src/cmd/nscd/hash.c => deleted_files/usr/src/cmd/nscd/hash.c rename : usr/src/cmd/nscd/nscd_parse.c => deleted_files/usr/src/cmd/nscd/nscd_parse.c rename : usr/src/cmd/nscd/nscd.h => usr/src/cmd/nscd/cache.h
Diffstat (limited to 'usr/src/lib/nsswitch/files/common/files_common.h')
-rw-r--r--usr/src/lib/nsswitch/files/common/files_common.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/usr/src/lib/nsswitch/files/common/files_common.h b/usr/src/lib/nsswitch/files/common/files_common.h
index 87980f8310..9f7457a033 100644
--- a/usr/src/lib/nsswitch/files/common/files_common.h
+++ b/usr/src/lib/nsswitch/files/common/files_common.h
@@ -45,12 +45,12 @@ extern "C" {
typedef struct files_backend *files_backend_ptr_t;
typedef nss_status_t (*files_backend_op_t)(files_backend_ptr_t, void *);
-typedef u_int (*files_hash_func)(nss_XbyY_args_t *, int);
+typedef uint_t (*files_hash_func)(nss_XbyY_args_t *, int, const char *, int);
typedef struct files_hashent {
struct files_hashent *h_first;
struct files_hashent *h_next;
- u_int h_hash;
+ uint_t h_hash;
} files_hashent_t;
typedef struct {
@@ -92,7 +92,8 @@ struct files_backend {
* generic work for nss_XbyY_args_t backends (calls cstr2ent etc).
*/
typedef nss_status_t (*files_do_all_func_t)(const char *, int, void *args);
-typedef int (*files_XY_check_func)(nss_XbyY_args_t *);
+typedef int (*files_XY_check_func)(nss_XbyY_args_t *,
+ const char *, int);
#if defined(__STDC__)
extern nss_backend_t *_nss_files_constr(files_backend_op_t *ops,
@@ -133,6 +134,9 @@ extern nss_status_t _nss_files_XY_all();
extern nss_status_t _nss_files_XY_hash();
#endif
+int _nss_files_check_name_aliases(nss_XbyY_args_t *, const char *, int);
+int _nss_files_check_name_colon(nss_XbyY_args_t *, const char *, int);
+
#ifdef __cplusplus
}
#endif