~vorlon/ubuntu/natty/avahi/multiarch

« back to all changes in this revision

Viewing changes to avahi-client/client.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-05-06 14:04:57 UTC
  • mfrom: (4.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20090506140457-72h3msg32nuc4j7v
Tags: 0.6.27-2ubuntu1
* Merge from Debian unstable, remaining Ubuntu changes:
* debian/control:
  - Remove linux-any as it is not yet supported by Soyuz
  - Add versioned dependency on the dbus that satisfies our upstart job
    dependency.
  - Add udebs corresponding to libavahi-common3 and libavahi-core6, so that
    we can use them for Eucalyptus integration in the installer.
  - Recommend dhcp3-client instead of isc-dhcp-client (not yet available in
    Ubuntu)
* debian/rules:
* debian/avahi-daemon.init:
* debian/avahi-dnsconfd.init:
  - Avahi init scripts (daemon or dnsconfd) do not need to
    be started before gdm, and do not need to be stopped specially on
    shutdown.
* debian/avahi-daemon.postinst:
* debian/avahi-dnsconfd.postinst:
  - Use Ubuntu versions for migration scripts
* debian/avahi-autoipd.preinst:
* debian/avahi-autoipd.install:
* debian/avahi-autoipd.postinst:
* debian/avahi-autoipd.postrm:
  - Disable DHCP 3 to 4 migration (not yet in Ubuntu)
* debian/avahi-daemon.upstart:
* debian/avahi-dnsconfd.upstart:
  - Add Upstart config
* debian/patches/03_gir_1.1.patch:
  - Compile with the latest Gobject introspection

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef fooclienthfoo
2
2
#define fooclienthfoo
3
3
 
4
 
/* $Id$ */
5
 
 
6
4
/***
7
5
  This file is part of avahi.
8
 
 
 
6
 
9
7
  avahi is free software; you can redistribute it and/or modify it
10
8
  under the terms of the GNU Lesser General Public License as
11
9
  published by the Free Software Foundation; either version 2.1 of the
12
10
  License, or (at your option) any later version.
13
 
 
 
11
 
14
12
  avahi is distributed in the hope that it will be useful, but WITHOUT
15
13
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16
14
  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
17
15
  Public License for more details.
18
 
 
 
16
 
19
17
  You should have received a copy of the GNU Lesser General Public
20
18
  License along with avahi; if not, write to the Free Software
21
19
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
44
42
    AVAHI_CLIENT_S_RUNNING = AVAHI_SERVER_RUNNING,          /**< Server state: RUNNING */
45
43
    AVAHI_CLIENT_S_COLLISION = AVAHI_SERVER_COLLISION,      /**< Server state: COLLISION */
46
44
    AVAHI_CLIENT_FAILURE = 100,                             /**< Some kind of error happened on the client side */
47
 
    AVAHI_CLIENT_CONNECTING = 101                           /**< We're still connecting. This state is only entered when AVAHI_CLIENT_NO_FAIL has been passed to avahi_client_new() and the daemon is not yet available. */  
 
45
    AVAHI_CLIENT_CONNECTING = 101                           /**< We're still connecting. This state is only entered when AVAHI_CLIENT_NO_FAIL has been passed to avahi_client_new() and the daemon is not yet available. */
48
46
} AvahiClientState;
49
47
 
50
48
typedef enum {
93
91
const char* avahi_client_get_host_name_fqdn (AvahiClient*);
94
92
 
95
93
/** Get state */
96
 
AvahiClientState avahi_client_get_state(AvahiClient *client); 
 
94
AvahiClientState avahi_client_get_state(AvahiClient *client);
97
95
 
98
96
/** @{ \name Error Handling */
99
97