Lines Matching +full:entry +full:- +full:method
3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
50 #define NS_SUCCESS (1<<0) /* entry was found */
52 #define NS_NOTFOUND (1<<2) /* source responded 'no such entry' */
105 * ns_dtab `method' function signature.
110 * Macro for generating method prototypes.
112 #define NSS_METHOD_PROTOTYPE(method) \ argument
113 int method(void *, void *, va_list)
116 * ns_dtab - `nsswitch dispatch table'
117 * Contains an entry for each source and the appropriate function to
119 * the application to override built-in actions.
122 const char *src; /* Source this entry implements */
123 nss_method method; /* Method to be called */ member
124 void *mdata; /* Data passed to method */
147 * ns_src - `nsswitch source'
159 * or the requested database doesn't have an entry.
164 * ns_mtab - NSS method table
165 * An NSS module provides a mapping from (database name, method name)
171 nss_method method; member
176 * NSS module de-registration, called at module unload.
198 * private data structures for back-end nsswitch implementation
202 * ns_dbt - `nsswitch database thang'
213 * ns_mod - NSS module
218 ns_mtab *mtab; /* method table */
219 unsigned int mtabsize; /* count of entries in method table */