|
typedef char *(* | avahi::alternative_service_name_fn) (char *) |
|
typedef int(* | avahi::client_errno_fn) (Client *) |
|
typedef void(* | avahi::client_free_fn) (Client *) |
|
typedef Client *(* | avahi::client_new_fn) (const Poll *poll_api, ClientFlags flags, ClientCallback callback, void *userdata, int *error) |
|
using | platf::publish::client_t = util::dyn_safe_ptr<avahi::Client, &avahi::client_free> |
|
typedef void(* | avahi::ClientCallback) (Client *, ClientState, void *userdata) |
|
typedef int(* | avahi::entry_group_add_service_fn) (EntryGroup *group, IfIndex interface, Protocol protocol, PublishFlags flags, const char *name, const char *type, const char *domain, const char *host, uint16_t port,...) |
|
typedef int(* | avahi::entry_group_commit_fn) (EntryGroup *) |
|
typedef Client *(* | avahi::entry_group_get_client_fn) (EntryGroup *) |
|
typedef int(* | avahi::entry_group_is_empty_fn) (EntryGroup *) |
|
typedef EntryGroup *(* | avahi::entry_group_new_fn) (Client *, EntryGroupCallback, void *userdata) |
|
typedef int(* | avahi::entry_group_reset_fn) (EntryGroup *) |
|
typedef void(* | avahi::EntryGroupCallback) (EntryGroup *g, EntryGroupState state, void *userdata) |
|
typedef void(* | avahi::free_fn) (void *) |
|
using | avahi::IfIndex = int |
|
using | platf::publish::poll_t = util::dyn_safe_ptr<avahi::SimplePoll, &avahi::simple_poll_free> |
|
using | avahi::Protocol = int |
|
template<class T > |
using | platf::publish::ptr_t = util::safe_ptr<T, free<T>> |
|
typedef void(* | avahi::simple_poll_free_fn) (SimplePoll *) |
|
typedef Poll *(* | avahi::simple_poll_get_fn) (SimplePoll *) |
|
typedef int(* | avahi::simple_poll_loop_fn) (SimplePoll *) |
|
typedef SimplePoll *(* | avahi::simple_poll_new_fn) () |
|
typedef void(* | avahi::simple_poll_quit_fn) (SimplePoll *) |
|
typedef char *(* | avahi::strdup_fn) (const char *) |
|
typedef char *(* | avahi::strerror_fn) (int) |
|
|
enum | avahi::ClientFlags { avahi::CLIENT_IGNORE_USER_CONFIG = 1
, avahi::CLIENT_NO_FAIL = 2
} |
|
enum | avahi::ClientState {
avahi::CLIENT_S_REGISTERING = SERVER_REGISTERING
, avahi::CLIENT_S_RUNNING = SERVER_RUNNING
, avahi::CLIENT_S_COLLISION = SERVER_COLLISION
, avahi::CLIENT_FAILURE = 100
,
avahi::CLIENT_CONNECTING = 101
} |
|
enum | avahi::EntryGroupState {
avahi::ENTRY_GROUP_UNCOMMITED
, avahi::ENTRY_GROUP_REGISTERING
, avahi::ENTRY_GROUP_ESTABLISHED
, avahi::ENTRY_GROUP_COLLISION
,
avahi::ENTRY_GROUP_FAILURE
} |
|
enum | avahi::err_e {
avahi::OK = 0
, avahi::ERR_FAILURE = -1
, avahi::ERR_BAD_STATE = -2
, avahi::ERR_INVALID_HOST_NAME = -3
,
avahi::ERR_INVALID_DOMAIN_NAME = -4
, avahi::ERR_NO_NETWORK = -5
, avahi::ERR_INVALID_TTL = -6
, avahi::ERR_IS_PATTERN = -7
,
avahi::ERR_COLLISION = -8
, avahi::ERR_INVALID_RECORD = -9
, avahi::ERR_INVALID_SERVICE_NAME = -10
, avahi::ERR_INVALID_SERVICE_TYPE = -11
,
avahi::ERR_INVALID_PORT = -12
, avahi::ERR_INVALID_KEY = -13
, avahi::ERR_INVALID_ADDRESS = -14
, avahi::ERR_TIMEOUT = -15
,
avahi::ERR_TOO_MANY_CLIENTS = -16
, avahi::ERR_TOO_MANY_OBJECTS = -17
, avahi::ERR_TOO_MANY_ENTRIES = -18
, avahi::ERR_OS = -19
,
avahi::ERR_ACCESS_DENIED = -20
, avahi::ERR_INVALID_OPERATION = -21
, avahi::ERR_DBUS_ERROR = -22
, avahi::ERR_DISCONNECTED = -23
,
avahi::ERR_NO_MEMORY = -24
, avahi::ERR_INVALID_OBJECT = -25
, avahi::ERR_NO_DAEMON = -26
, avahi::ERR_INVALID_INTERFACE = -27
,
avahi::ERR_INVALID_PROTOCOL = -28
, avahi::ERR_INVALID_FLAGS = -29
, avahi::ERR_NOT_FOUND = -30
, avahi::ERR_INVALID_CONFIG = -31
,
avahi::ERR_VERSION_MISMATCH = -32
, avahi::ERR_INVALID_SERVICE_SUBTYPE = -33
, avahi::ERR_INVALID_PACKET = -34
, avahi::ERR_INVALID_DNS_ERROR = -35
,
avahi::ERR_DNS_FORMERR = -36
, avahi::ERR_DNS_SERVFAIL = -37
, avahi::ERR_DNS_NXDOMAIN = -38
, avahi::ERR_DNS_NOTIMP = -39
,
avahi::ERR_DNS_REFUSED = -40
, avahi::ERR_DNS_YXDOMAIN = -41
, avahi::ERR_DNS_YXRRSET = -42
, avahi::ERR_DNS_NXRRSET = -43
,
avahi::ERR_DNS_NOTAUTH = -44
, avahi::ERR_DNS_NOTZONE = -45
, avahi::ERR_INVALID_RDATA = -46
, avahi::ERR_INVALID_DNS_CLASS = -47
,
avahi::ERR_INVALID_DNS_TYPE = -48
, avahi::ERR_NOT_SUPPORTED = -49
, avahi::ERR_NOT_PERMITTED = -50
, avahi::ERR_INVALID_ARGUMENT = -51
,
avahi::ERR_IS_EMPTY = -52
, avahi::ERR_NO_CHANGE = -53
, avahi::ERR_MAX = -54
} |
| Error codes used by avahi. More...
|
|
enum | avahi::proto { avahi::PROTO_INET = 0
, avahi::PROTO_INET6 = 1
, avahi::PROTO_UNSPEC = -1
} |
|
enum | avahi::PublishFlags {
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
} |
| Flags for publishing functions. More...
|
|
enum | avahi::ServerState {
avahi::SERVER_INVALID
, avahi::SERVER_REGISTERING
, avahi::SERVER_RUNNING
, avahi::SERVER_COLLISION
,
avahi::SERVER_FAILURE
} |
|
|
alternative_service_name_fn | avahi::alternative_service_name |
|
client_t | platf::publish::client |
|
client_errno_fn | avahi::client_errno |
|
client_free_fn | avahi::client_free |
|
client_new_fn | avahi::client_new |
|
entry_group_add_service_fn | avahi::entry_group_add_service |
|
entry_group_commit_fn | avahi::entry_group_commit |
|
entry_group_get_client_fn | avahi::entry_group_get_client |
|
entry_group_is_empty_fn | avahi::entry_group_is_empty |
|
entry_group_new_fn | avahi::entry_group_new |
|
entry_group_reset_fn | avahi::entry_group_reset |
|
free_fn | avahi::free |
|
avahi::EntryGroup * | platf::publish::group = nullptr |
|
constexpr auto | avahi::IF_UNSPEC = -1 |
|
ptr_t< char > | platf::publish::name |
|
poll_t | platf::publish::poll |
|
simple_poll_free_fn | avahi::simple_poll_free |
|
simple_poll_get_fn | avahi::simple_poll_get |
|
simple_poll_loop_fn | avahi::simple_poll_loop |
|
simple_poll_new_fn | avahi::simple_poll_new |
|
simple_poll_quit_fn | avahi::simple_poll_quit |
|
strdup_fn | avahi::strdup |
|
strerror_fn | avahi::strerror |
|