]> git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/network.h
Remove svn:keywords since they cause svn_load_dirs.pl to complain about every file.
[thirdparty/cups.git] / scheduler / network.h
1 /*
2 * "$Id: network.h 177 2006-06-21 00:20:03Z jlovell $"
3 *
4 * Network interface definitions for the Common UNIX Printing System
5 * (CUPS) scheduler.
6 *
7 * Copyright 1997-2006 by Easy Software Products, all rights reserved.
8 *
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
14 * at:
15 *
16 * Attn: CUPS Licensing Information
17 * Easy Software Products
18 * 44141 Airport View Drive, Suite 204
19 * Hollywood, Maryland 20636 USA
20 *
21 * Voice: (301) 373-9600
22 * EMail: cups-info@cups.org
23 * WWW: http://www.cups.org
24 */
25
26 /*
27 * Structures...
28 */
29
30 typedef struct cupsd_netif_s /**** Network interface data ****/
31 {
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 */
39 } cupsd_netif_t;
40
41
42 /*
43 * Globals...
44 */
45
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 */
50
51 /*
52 * Prototypes...
53 */
54
55 extern cupsd_netif_t *cupsdNetIFFind(const char *name);
56 extern void cupsdNetIFUpdate(void);
57
58
59 /*
60 * End of "$Id: network.h 177 2006-06-21 00:20:03Z jlovell $".
61 */