[BACK]Return to nsswitch.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/include/nsswitch.h between version 1.22 and 1.23

version 1.22, 2016/01/22 21:55:57 version 1.23, 2016/01/23 01:26:14
Line 175  typedef struct {
Line 175  typedef struct {
  * nss_module_unregister_fn - module un-registration function   * nss_module_unregister_fn - module un-registration function
  *      called at module unload   *      called at module unload
  */   */
 typedef void (*nss_module_unregister_fn)(ns_mtab *, unsigned);  typedef void (*nss_module_unregister_fn)(ns_mtab *, unsigned int);
 typedef ns_mtab *(*nss_module_register_fn)(const char *, unsigned *,  typedef ns_mtab *(*nss_module_register_fn)(const char *, unsigned int *,
                                            nss_module_unregister_fn *);                                             nss_module_unregister_fn *);
   
 #ifdef _NS_PRIVATE  #ifdef _NS_PRIVATE
Line 193  typedef ns_mtab *(*nss_module_register_f
Line 193  typedef ns_mtab *(*nss_module_register_f
 typedef struct {  typedef struct {
         const char      *name;          /* name of database */          const char      *name;          /* name of database */
         ns_src          *srclist;       /* list of sources */          ns_src          *srclist;       /* list of sources */
         unsigned         srclistsize;   /* size of srclist */          unsigned int     srclistsize;   /* size of srclist */
 } ns_dbt;  } ns_dbt;
   
 /*  /*
Line 203  typedef struct {
Line 203  typedef struct {
         const char      *name;          /* module name */          const char      *name;          /* module name */
         void            *handle;        /* handle from dlopen() */          void            *handle;        /* handle from dlopen() */
         ns_mtab         *mtab;          /* method table */          ns_mtab         *mtab;          /* method table */
         unsigned         mtabsize;      /* size of mtab */          unsigned int     mtabsize;      /* size of mtab */
                                         /* called to unload module */                                          /* called to unload module */
         nss_module_unregister_fn unregister;          nss_module_unregister_fn unregister;
 } ns_mod;  } ns_mod;

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

CVSweb <webmaster@jp.NetBSD.org>