Logo Search packages:      
Sourcecode: avahi version File versions

defs.h File Reference


Detailed Description

Some common definitions

Definition in file defs.h.

#include <avahi-common/cdecl.h>

Go to the source code of this file.

Defines

#define AVAHI_DEFAULT_TTL   (75*60)
#define AVAHI_DEFAULT_TTL_HOST_NAME   (120)
#define AVAHI_SERVICE_COOKIE   "org.freedesktop.Avahi.cookie"
#define AVAHI_SERVICE_COOKIE_INVALID   (0)

Enumerations

enum  {
  AVAHI_DNS_TYPE_A = 0x01, AVAHI_DNS_TYPE_NS = 0x02, AVAHI_DNS_TYPE_CNAME = 0x05, AVAHI_DNS_TYPE_SOA = 0x06,
  AVAHI_DNS_TYPE_PTR = 0x0C, AVAHI_DNS_TYPE_HINFO = 0x0D, AVAHI_DNS_TYPE_MX = 0x0F, AVAHI_DNS_TYPE_TXT = 0x10,
  AVAHI_DNS_TYPE_AAAA = 0x1C, AVAHI_DNS_TYPE_SRV = 0x21
}
enum  { AVAHI_DNS_CLASS_IN = 0x01 }
enum  AvahiBrowserEvent {
  AVAHI_BROWSER_NEW, AVAHI_BROWSER_REMOVE, AVAHI_BROWSER_CACHE_EXHAUSTED, AVAHI_BROWSER_ALL_FOR_NOW,
  AVAHI_BROWSER_FAILURE
}
enum  AvahiDomainBrowserType {
  AVAHI_DOMAIN_BROWSER_BROWSE, AVAHI_DOMAIN_BROWSER_BROWSE_DEFAULT, AVAHI_DOMAIN_BROWSER_REGISTER, AVAHI_DOMAIN_BROWSER_REGISTER_DEFAULT,
  AVAHI_DOMAIN_BROWSER_BROWSE_LEGACY, AVAHI_DOMAIN_BROWSER_MAX
}
enum  AvahiEntryGroupState {
  AVAHI_ENTRY_GROUP_UNCOMMITED, AVAHI_ENTRY_GROUP_REGISTERING, AVAHI_ENTRY_GROUP_ESTABLISHED, AVAHI_ENTRY_GROUP_COLLISION,
  AVAHI_ENTRY_GROUP_FAILURE
}
enum  AvahiLookupFlags { AVAHI_LOOKUP_USE_WIDE_AREA = 1, AVAHI_LOOKUP_USE_MULTICAST = 2, AVAHI_LOOKUP_NO_TXT = 4, AVAHI_LOOKUP_NO_ADDRESS = 8 }
enum  AvahiLookupResultFlags {
  AVAHI_LOOKUP_RESULT_CACHED = 1, AVAHI_LOOKUP_RESULT_WIDE_AREA = 2, AVAHI_LOOKUP_RESULT_MULTICAST = 4, AVAHI_LOOKUP_RESULT_LOCAL = 8,
  AVAHI_LOOKUP_RESULT_OUR_OWN = 16, AVAHI_LOOKUP_RESULT_STATIC = 32
}
enum  AvahiPublishFlags {
  AVAHI_PUBLISH_UNIQUE = 1, AVAHI_PUBLISH_NO_PROBE = 2, AVAHI_PUBLISH_NO_ANNOUNCE = 4, AVAHI_PUBLISH_ALLOW_MULTIPLE = 8,
  AVAHI_PUBLISH_NO_REVERSE = 16, AVAHI_PUBLISH_NO_COOKIE = 32, AVAHI_PUBLISH_UPDATE = 64, AVAHI_PUBLISH_USE_WIDE_AREA = 128,
  AVAHI_PUBLISH_USE_MULTICAST = 256
}
enum  AvahiResolverEvent { AVAHI_RESOLVER_FOUND, AVAHI_RESOLVER_FAILURE }
enum  AvahiServerState {
  AVAHI_SERVER_INVALID, AVAHI_SERVER_REGISTERING, AVAHI_SERVER_RUNNING, AVAHI_SERVER_COLLISION,
  AVAHI_SERVER_FAILURE
}


Generated by  Doxygen 1.6.0   Back to index