#include <iostream>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <avahi-client/client.h>
#include <avahi-client/publish.h>
#include <avahi-common/alternative.h>
#include <avahi-common/simple-watch.h>
#include <avahi-common/malloc.h>
#include <avahi-common/error.h>
#include <avahi-common/timeval.h>
Go to the source code of this file.
|
static void | client_callback (AvahiClient *c, AvahiClientState state, AVAHI_GCC_UNUSED void *userdata) |
|
static void | create_services (AvahiClient *c) |
|
static void | entry_group_callback (AvahiEntryGroup *g, AvahiEntryGroupState state, AVAHI_GCC_UNUSED void *userdata) |
|
int | main (AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char **argv) |
|
static void | modify_callback (AVAHI_GCC_UNUSED AvahiTimeout *e, void *userdata) |
|
|
static AvahiEntryGroup * | group = NULL |
|
static char * | name = NULL |
|
static AvahiSimplePoll * | simple_poll = NULL |
|
static void client_callback |
( |
AvahiClient * |
c, |
|
|
AvahiClientState |
state, |
|
|
AVAHI_GCC_UNUSED void * |
userdata |
|
) |
| |
|
static |
static void create_services |
( |
AvahiClient * |
c | ) |
|
|
static |
static void entry_group_callback |
( |
AvahiEntryGroup * |
g, |
|
|
AvahiEntryGroupState |
state, |
|
|
AVAHI_GCC_UNUSED void * |
userdata |
|
) |
| |
|
static |
int main |
( |
AVAHI_GCC_UNUSED int |
argc, |
|
|
AVAHI_GCC_UNUSED char ** |
argv |
|
) |
| |
static void modify_callback |
( |
AVAHI_GCC_UNUSED AvahiTimeout * |
e, |
|
|
void * |
userdata |
|
) |
| |
|
static |
AvahiEntryGroup* group = NULL |
|
static |
AvahiSimplePoll* simple_poll = NULL |
|
static |