/*1* Network interface definitions for the CUPS scheduler.2*3* Copyright © 2007-2010 by Apple Inc.4* Copyright © 1997-2006 by Easy Software Products, all rights reserved.5*6* Licensed under Apache License v2.0. See the file "LICENSE" for more7* information.8*/910/*11* Structures...12*/1314typedef struct cupsd_netif_s /**** Network interface data ****/15{16int is_local, /* Local (not point-to-point) interface? */17port; /* Listen port */18http_addr_t address, /* Network address */19mask, /* Network mask */20broadcast; /* Broadcast address */21size_t hostlen; /* Length of hostname */22char name[32], /* Network interface name */23hostname[1]; /* Hostname associated with interface */24} cupsd_netif_t;252627/*28* Globals...29*/3031VAR int NetIFUpdate VALUE(1);32/* Network interface list needs updating */33VAR cups_array_t *NetIFList VALUE(NULL);34/* Array of network interfaces */3536/*37* Prototypes...38*/3940extern cupsd_netif_t *cupsdNetIFFind(const char *name);41extern void cupsdNetIFUpdate(void);424344