]>
git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/dirsvc.h
2 * "$Id: dirsvc.h,v 1.8 2000/01/04 13:46:09 mike Exp $"
4 * Directory services definitions for the Common UNIX Printing System
7 * Copyright 1997-2000 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.txt" 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-3111 USA
21 * Voice: (301) 373-9603
22 * EMail: cups-info@cups.org
23 * WWW: http://www.cups.org
30 VAR
int Browsing
VALUE(TRUE
),
31 /* Whether or not browsing is enabled */
32 BrowseSocket
VALUE(-1),
33 /* Socket for browsing */
34 BrowsePort
VALUE(IPP_PORT
),
35 /* Port number for broadcasts */
36 BrowseInterval
VALUE(DEFAULT_INTERVAL
),
37 /* Broadcast interval in seconds */
38 BrowseTimeout
VALUE(DEFAULT_TIMEOUT
),
39 /* Time out for printers in seconds */
41 /* Number of broadcast addresses */
42 VAR
struct sockaddr_in Browsers
[MAX_BROWSERS
];
43 /* Broadcast addresses */
50 extern void StartBrowsing(void);
51 extern void StopBrowsing(void);
52 extern void UpdateBrowseList(void);
53 extern void SendBrowseList(void);
57 * End of "$Id: dirsvc.h,v 1.8 2000/01/04 13:46:09 mike Exp $".