avahi  0.7
defs.h
Go to the documentation of this file.
1 #ifndef foodefshfoo
2 #define foodefshfoo
3 
4 /***
5  This file is part of avahi.
6 
7  avahi is free software; you can redistribute it and/or modify it
8  under the terms of the GNU Lesser General Public License as
9  published by the Free Software Foundation; either version 2.1 of the
10  License, or (at your option) any later version.
11 
12  avahi is distributed in the hope that it will be useful, but WITHOUT
13  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
15  Public License for more details.
16 
17  You should have received a copy of the GNU Lesser General Public
18  License along with avahi; if not, write to the Free Software
19  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20  USA.
21 ***/
22 
25 #include <avahi-common/cdecl.h>
26 
216 AVAHI_C_DECL_BEGIN
217 
221 typedef enum {
228 
230 typedef enum {
237 
243 typedef enum {
249  AVAHI_PUBLISH_NO_REVERSE = 16,
250  AVAHI_PUBLISH_NO_COOKIE = 32,
254  AVAHI_PUBLISH_USE_WIDE_AREA = 128,
255  AVAHI_PUBLISH_USE_MULTICAST = 256
258 
260 typedef enum {
262  AVAHI_LOOKUP_USE_WIDE_AREA = 1,
263  AVAHI_LOOKUP_USE_MULTICAST = 2,
268 
270 typedef enum {
278 
284 typedef enum {
291 
293 typedef enum {
297 
303 typedef enum {
311 
319 #define AVAHI_SERVICE_COOKIE "org.freedesktop.Avahi.cookie"
320 
322 #define AVAHI_SERVICE_COOKIE_INVALID (0)
323 
328 enum {
339 };
340 
342 enum {
344 };
345 
349 #define AVAHI_DEFAULT_TTL_HOST_NAME (120)
350 
352 #define AVAHI_DEFAULT_TTL (75*60)
353 
354 AVAHI_C_DECL_END
355 
356 #endif
AvahiResolverEvent
Type of callback event when resolving.
Definition: defs.h:293
Host RRs are being registered.
Definition: defs.h:223
One-time event, to notify the user that all entries from the caches have been sent.
Definition: defs.h:287
AvahiDomainBrowserType
The type of domain to browse for.
Definition: defs.h:303
When doing service resolving, don&#39;t lookup TXT record.
Definition: defs.h:265
Browsing failed due to some reason which can be retrieved using avahi_server_errno()/avahi_client_err...
Definition: defs.h:289
For raw records: Do not announce this RR to other hosts.
Definition: defs.h:246
This response originates from multicast DNS.
Definition: defs.h:273
The entries have successfully been established.
Definition: defs.h:233
The object has been removed from the network.
Definition: defs.h:286
Invalid state (initial)
Definition: defs.h:222
Browse for the default registering domain.
Definition: defs.h:307
Some fatal failure happened, the server is unable to proceed.
Definition: defs.h:226
This record/service resides on and was announced by the local host.
Definition: defs.h:274
This response originates from wide area DNS.
Definition: defs.h:272
A name collision for one of the entries in the group has been detected, the entries have been withdra...
Definition: defs.h:234
Browse for the default browsing domain.
Definition: defs.h:305
Probably the only class we will ever use.
Definition: defs.h:343
AvahiEntryGroupState
States of an entry group object.
Definition: defs.h:230
The entries of the group are currently being registered.
Definition: defs.h:232
The object is new on the network.
Definition: defs.h:285
AvahiServerState
States of a server object.
Definition: defs.h:221
Legacy browse domain - see DNS-SD spec for more information.
Definition: defs.h:308
Update existing records instead of adding new ones.
Definition: defs.h:252
AvahiPublishFlags
Some flags for publishing functions.
Definition: defs.h:243
Browse for a list of available browsing domains.
Definition: defs.h:304
When doing service resolving, don&#39;t lookup A/AAAA record.
Definition: defs.h:266
The returned data has been defined statically by some configuration option.
Definition: defs.h:276
For raw records: Though the RRset is intended to be unique no probes shall be sent.
Definition: defs.h:245
For raw records: The RRset is intended to be unique.
Definition: defs.h:244
One-time event, to notify the user that more records will probably not show up in the near future...
Definition: defs.h:288
Browse for a list of available registering domains.
Definition: defs.h:306
AvahiLookupResultFlags
Some flags for lookup callback functions.
Definition: defs.h:270
There is a collision with a host RR.
Definition: defs.h:225
For raw records: Allow multiple local records of this type, even if they are intended to be unique...
Definition: defs.h:247
The group has not yet been commited, the user must still call avahi_entry_group_commit() ...
Definition: defs.h:231
Some kind of failure happened, the entries have been withdrawn.
Definition: defs.h:235
Resolving failed due to some reason which can be retrieved using avahi_server_errno()/avahi_client_er...
Definition: defs.h:295
This service belongs to the same local client as the browser object.
Definition: defs.h:275
This response originates from the cache.
Definition: defs.h:271
AvahiBrowserEvent
Type of callback event when browsing.
Definition: defs.h:284
RR found, resolving successful.
Definition: defs.h:294
All host RRs have been established.
Definition: defs.h:224
AvahiLookupFlags
Some flags for lookup functions.
Definition: defs.h:260