avahi 0.6.30

avahi-glib/glib-watch.h

Go to the documentation of this file.
00001 #ifndef fooglibwatchhfoo
00002 #define fooglibwatchhfoo
00003 
00004 /***
00005   This file is part of avahi.
00006 
00007   avahi is free software; you can redistribute it and/or modify it
00008   under the terms of the GNU Lesser General Public License as
00009   published by the Free Software Foundation; either version 2.1 of the
00010   License, or (at your option) any later version.
00011 
00012   avahi is distributed in the hope that it will be useful, but WITHOUT
00013   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00014   or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
00015   Public License for more details.
00016 
00017   You should have received a copy of the GNU Lesser General Public
00018   License along with avahi; if not, write to the Free Software
00019   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00020   USA.
00021 ***/
00022 
00028 #include <glib.h>
00029 
00030 #include <avahi-common/cdecl.h>
00031 #include <avahi-common/watch.h>
00032 
00033 AVAHI_C_DECL_BEGIN
00034 
00036 typedef struct AvahiGLibPoll AvahiGLibPoll;
00037 
00042 AvahiGLibPoll *avahi_glib_poll_new(GMainContext *context, gint priority);
00043 
00045 void avahi_glib_poll_free(AvahiGLibPoll *g);
00046 
00050 const AvahiPoll *avahi_glib_poll_get(AvahiGLibPoll *g);
00051 
00052 AVAHI_C_DECL_END
00053 
00054 #endif