Revert manifest to default one
[external/cups.git] / scheduler / avahi.h
1 /*
2  * "$Id$"
3  *
4  *   Avahi poll implementation for the CUPS scheduler.
5  *
6  *   Copyright (C) 2010 Red Hat, Inc.
7  *   Authors:
8  *    Tim Waugh <twaugh@redhat.com>
9  *
10  *   Distribution and use rights are outlined in the file "LICENSE.txt"
11  *   which should have been included with this file.  If this file is
12  *   file is missing or damaged, see the license at "http://www.cups.org/".
13  */
14
15 #include <config.h>
16
17 #ifdef HAVE_AVAHI
18 #  include <avahi-client/client.h>
19 #  include <avahi-client/publish.h>
20 #endif /* HAVE_AVAHI */
21
22 #ifdef HAVE_AUTHORIZATION_H
23 #  include <Security/Authorization.h>
24 #endif /* HAVE_AUTHORIZATION_H */
25
26
27 #ifdef HAVE_AVAHI
28 typedef struct
29 {
30     AvahiPoll api;
31     cups_array_t *watched_fds;
32     cups_array_t *timeouts;
33 } AvahiCupsPoll;
34 #endif /* HAVE_AVAHI */
35
36 /*
37  * Prototypes...
38  */
39
40 #ifdef HAVE_AVAHI
41 extern AvahiCupsPoll *  avahi_cups_poll_new(void);
42 extern void             avahi_cups_poll_free(AvahiCupsPoll *cups_poll);
43 extern const AvahiPoll *avahi_cups_poll_get(AvahiCupsPoll *cups_poll);
44 #endif /* HAVE_AVAHI */
45
46
47 /*
48  * End of "$Id$".
49  */