| version 1.1.1.1, 2012/02/21 16:23:02 | version 1.1.1.3, 2013/07/22 10:46:12 | 
| Line 1 | Line 1 | 
 | /* | /* | 
| * Copyright (c) 1996, 1998-2005, 2007, 2010 | * Copyright (c) 1996, 1998-2005, 2007, 2010-2013 | 
 | *      Todd C. Miller <Todd.Miller@courtesan.com> | *      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 | 
| Line 19 | Line 19 | 
 | * Materiel Command, USAF, under agreement number F39502-99-1-0512. | * Materiel Command, USAF, under agreement number F39502-99-1-0512. | 
 | */ | */ | 
 |  |  | 
| #ifndef _SUDO_INTERFACES_H | #ifndef _SUDOERS_INTERFACES_H | 
| #define _SUDO_INTERFACES_H | #define _SUDOERS_INTERFACES_H | 
 |  |  | 
 | /* | /* | 
 | * Union to hold either strucr in_addr or in6_add | * Union to hold either strucr in_addr or in6_add | 
 | */ | */ | 
 | union sudo_in_addr_un { | union sudo_in_addr_un { | 
 | struct in_addr ip4; | struct in_addr ip4; | 
| #ifdef HAVE_IN6_ADDR | #ifdef HAVE_STRUCT_IN6_ADDR | 
 | struct in6_addr ip6; | struct in6_addr ip6; | 
 | #endif | #endif | 
 | }; | }; | 
| Line 48  struct interface { | Line 48  struct interface { | 
 | int get_net_ifs(char **addrinfo); | int get_net_ifs(char **addrinfo); | 
 | void dump_interfaces(const char *); | void dump_interfaces(const char *); | 
 | void set_interfaces(const char *); | void set_interfaces(const char *); | 
 |  | struct interface *get_interfaces(void); | 
 |  |  | 
| /* | #endif /* _SUDOERS_INTERFACES_H */ | 
| * Definitions for external variables. |  | 
| */ |  | 
| #ifndef _SUDO_MAIN |  | 
| extern struct interface *interfaces; |  | 
| #endif |  | 
|  |  | 
| #endif /* _SUDO_INTERFACES_H */ |  |