Diff for /embedaddon/sudo/plugins/sudoers/sudo_nss.h between versions 1.1 and 1.1.1.3

version 1.1, 2012/02/21 16:23:02 version 1.1.1.3, 2014/06/15 16:12:54
Line 1 Line 1
 /*  /*
 * Copyright (c) 2007-2011 Todd C. Miller <Todd.Miller@courtesan.com> * Copyright (c) 2007-2011, 2013 Todd C. Miller <Todd.Miller@courtesan.com>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 14 Line 14
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   
#ifndef _SUDO_NSS_H#ifndef _SUDOERS_NSS_H
#define _SUDO_NSS_H#define _SUDOERS_NSS_H
   
 struct lbuf;  struct lbuf;
 struct passwd;  struct passwd;
   
 struct sudo_nss {  struct sudo_nss {
    struct sudo_nss *prev;    TAILQ_ENTRY(sudo_nss) entries;
    struct sudo_nss *next; 
     int (*open)(struct sudo_nss *nss);      int (*open)(struct sudo_nss *nss);
     int (*close)(struct sudo_nss *nss);      int (*close)(struct sudo_nss *nss);
     int (*parse)(struct sudo_nss *nss);      int (*parse)(struct sudo_nss *nss);
Line 37  struct sudo_nss { Line 36  struct sudo_nss {
     short ret_if_notfound;      short ret_if_notfound;
 };  };
   
TQ_DECLARE(sudo_nss)TAILQ_HEAD(sudo_nss_list, sudo_nss);
   
 struct sudo_nss_list *sudo_read_nss(void);  struct sudo_nss_list *sudo_read_nss(void);
   
#endif /* _SUDO_NSS_H */#endif /* _SUDOERS_NSS_H */

Removed from v.1.1  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>