avahi  0.6.31
ga-enums.h File Reference
#include <glib-object.h>
#include <avahi-common/defs.h>
#include <avahi-common/address.h>

Go to the source code of this file.

Enumerations

enum  GaProtocol {
  GA_PROTOCOL_INET = AVAHI_PROTO_INET,
  GA_PROTOCOL_INET6 = AVAHI_PROTO_INET6,
  GA_PROTOCOL_UNSPEC = AVAHI_PROTO_UNSPEC
}
 Values for GaProtocol. More...
 
enum  GaLookupResultFlags {
  GA_LOOKUP_RESULT_CACHED = AVAHI_LOOKUP_RESULT_CACHED,
  GA_LOOKUP_RESULT_WIDE_AREA = AVAHI_LOOKUP_RESULT_WIDE_AREA,
  GA_LOOKUP_RESULT_MULTICAST = AVAHI_LOOKUP_RESULT_MULTICAST,
  GA_LOOKUP_RESULT_LOCAL = AVAHI_LOOKUP_RESULT_LOCAL,
  GA_LOOKUP_RESULT_OUR_OWN = AVAHI_LOOKUP_RESULT_OUR_OWN,
  GA_LOOKUP_RESULT_STATIC = AVAHI_LOOKUP_RESULT_STATIC
}
 Some flags for lookup callback functions. More...
 
enum  GaLookupFlags {
  GA_LOOKUP_NO_FLAGS = 0,
  GA_LOOKUP_USE_WIDE_AREA = AVAHI_LOOKUP_USE_WIDE_AREA,
  GA_LOOKUP_USE_MULTICAST = AVAHI_LOOKUP_USE_MULTICAST,
  GA_LOOKUP_NO_TXT = AVAHI_LOOKUP_NO_TXT,
  GA_LOOKUP_NO_ADDRESS = AVAHI_LOOKUP_NO_ADDRESS
}
 
enum  GaResolverEvent {
  GA_RESOLVER_FOUND = AVAHI_RESOLVER_FOUND,
  GA_RESOLVER_FAILURE = AVAHI_RESOLVER_FAILURE
}
 
enum  GaBrowserEvent {
  GA_BROWSER_NEW = AVAHI_BROWSER_NEW,
  GA_BROWSER_REMOVE = AVAHI_BROWSER_REMOVE,
  GA_BROWSER_CACHE_EXHAUSTED = AVAHI_BROWSER_CACHE_EXHAUSTED,
  GA_BROWSER_ALL_FOR_NOW = AVAHI_BROWSER_ALL_FOR_NOW,
  GA_BROWSER_FAILURE = AVAHI_BROWSER_FAILURE
}
 

Enumeration Type Documentation

Enumerator
GA_BROWSER_NEW 

The object is new on the network.

GA_BROWSER_REMOVE 

The object has been removed from the network.

GA_BROWSER_CACHE_EXHAUSTED 

One-time event, to notify the user that all entries from the caches have been send.

GA_BROWSER_ALL_FOR_NOW 

One-time event, to notify the user that more records will probably not show up in the near future, i.e.

all cache entries have been read and all static servers been queried

GA_BROWSER_FAILURE 

Browsing failed due to some reason which can be retrieved using avahi_server_errno()/avahi_client_errno()

Definition at line 61 of file ga-enums.h.

Enumerator
GA_LOOKUP_NO_FLAGS 
GA_LOOKUP_USE_WIDE_AREA 

Force lookup via wide area DNS.

GA_LOOKUP_USE_MULTICAST 

Force lookup via multicast DNS.

GA_LOOKUP_NO_TXT 

When doing service resolving, don't lookup TXT record.

GA_LOOKUP_NO_ADDRESS 

When doing service resolving, don't lookup A/AAAA record.

Definition at line 48 of file ga-enums.h.

Some flags for lookup callback functions.

Enumerator
GA_LOOKUP_RESULT_CACHED 

This response originates from the cache.

GA_LOOKUP_RESULT_WIDE_AREA 

This response originates from wide area DNS.

GA_LOOKUP_RESULT_MULTICAST 

This response originates from multicast DNS.

GA_LOOKUP_RESULT_LOCAL 

This record/service resides on and was announced by the local host.

Only available in service and record browsers and only on AVAHI_BROWSER_NEW.

GA_LOOKUP_RESULT_OUR_OWN 

This service belongs to the same local client as the browser object.

Only available in avahi-client, and only for service browsers and only on AVAHI_BROWSER_NEW.

GA_LOOKUP_RESULT_STATIC 

The returned data has been defined statically by some configuration option.

Definition at line 37 of file ga-enums.h.

enum GaProtocol

Values for GaProtocol.

Enumerator
GA_PROTOCOL_INET 

IPv4.

GA_PROTOCOL_INET6 

IPv6.

GA_PROTOCOL_UNSPEC 

Unspecified/all protocol(s)

Definition at line 29 of file ga-enums.h.

Enumerator
GA_RESOLVER_FOUND 

RR found, resolving successful.

GA_RESOLVER_FAILURE 

Resolving failed due to some reason which can be retrieved using avahi_server_errno()/avahi_client_errno()

Definition at line 56 of file ga-enums.h.