]>
git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/network.h
2 * "$Id: network.h 177 2006-06-21 00:20:03Z jlovell $"
4 * Network interface definitions for the Common UNIX Printing System
7 * Copyright 1997-2006 by Easy Software Products, all rights reserved.
9 * These coded instructions, statements, and computer programs are the
10 * property of Easy Software Products and are protected by Federal
11 * copyright law. Distribution and use rights are outlined in the file
12 * "LICENSE" which should have been included with this file. If this
13 * file is missing or damaged please contact Easy Software Products
16 * Attn: CUPS Licensing Information
17 * Easy Software Products
18 * 44141 Airport View Drive, Suite 204
19 * Hollywood, Maryland 20636 USA
21 * Voice: (301) 373-9600
22 * EMail: cups-info@cups.org
23 * WWW: http://www.cups.org
30 typedef struct cupsd_netif_s
/**** Network interface data ****/
32 int is_local
, /* Local (not point-to-point) interface? */
33 port
; /* Listen port */
34 http_addr_t address
, /* Network address */
35 mask
, /* Network mask */
36 broadcast
; /* Broadcast address */
37 char name
[32], /* Network interface name */
38 hostname
[1]; /* Hostname associated with interface */
46 VAR
time_t NetIFTime
VALUE(0);
47 /* Network interface list time */
48 VAR cups_array_t
*NetIFList
VALUE(NULL
);
49 /* Array of network interfaces */
55 extern cupsd_netif_t
*cupsdNetIFFind(const char *name
);
56 extern void cupsdNetIFUpdate(void);
60 * End of "$Id: network.h 177 2006-06-21 00:20:03Z jlovell $".