Functions | Variables
official_publish_example.cpp File Reference
#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>
Include dependency graph for official_publish_example.cpp:

Go to the source code of this file.

Functions

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)

Variables

static AvahiEntryGroup * group = NULL
static char * name = NULL
static AvahiSimplePoll * simple_poll = NULL

Function Documentation

static void client_callback ( AvahiClient *  c,
AvahiClientState  state,
AVAHI_GCC_UNUSED void *  userdata 
) [static]

Definition at line 171 of file official_publish_example.cpp.

static void create_services ( AvahiClient *  c) [static]

Definition at line 89 of file official_publish_example.cpp.

static void entry_group_callback ( AvahiEntryGroup *  g,
AvahiEntryGroupState  state,
AVAHI_GCC_UNUSED void *  userdata 
) [static]

Definition at line 41 of file official_publish_example.cpp.

int main ( AVAHI_GCC_UNUSED int  argc,
AVAHI_GCC_UNUSED char **  argv 
)

Definition at line 238 of file official_publish_example.cpp.

static void modify_callback ( AVAHI_GCC_UNUSED AvahiTimeout *  e,
void *  userdata 
) [static]

Definition at line 213 of file official_publish_example.cpp.


Variable Documentation

AvahiEntryGroup* group = NULL [static]

Definition at line 35 of file official_publish_example.cpp.

char* name = NULL [static]

Definition at line 37 of file official_publish_example.cpp.

AvahiSimplePoll* simple_poll = NULL [static]

Definition at line 36 of file official_publish_example.cpp.



zeroconf_avahi_demos
Author(s): Daniel Stonier
autogenerated on Mon Oct 6 2014 09:12:39