avahi 0.6.30

avahi-gobject/ga-enums.h

Go to the documentation of this file.
00001 /*
00002  * ga-enums.h
00003  * Copyright (C) 2006-2007 Collabora Ltd.
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018  */
00019 
00020 #ifndef __GA_ENUMS_H__
00021 #define __GA_ENUMS_H__
00022 
00023 #include <glib-object.h>
00024 #include <avahi-common/defs.h>
00025 #include <avahi-common/address.h>
00026 
00027 G_BEGIN_DECLS
00029         typedef enum {
00030     GA_PROTOCOL_INET = AVAHI_PROTO_INET,     
00031     GA_PROTOCOL_INET6 = AVAHI_PROTO_INET6,   
00032     GA_PROTOCOL_UNSPEC = AVAHI_PROTO_UNSPEC  
00033 } GaProtocol;
00034 
00035 
00037 typedef enum {
00038     GA_LOOKUP_RESULT_CACHED = AVAHI_LOOKUP_RESULT_CACHED,     
00039     GA_LOOKUP_RESULT_WIDE_AREA = AVAHI_LOOKUP_RESULT_WIDE_AREA,
00041     GA_LOOKUP_RESULT_MULTICAST = AVAHI_LOOKUP_RESULT_MULTICAST,
00043     GA_LOOKUP_RESULT_LOCAL = AVAHI_LOOKUP_RESULT_LOCAL,       
00044     GA_LOOKUP_RESULT_OUR_OWN = AVAHI_LOOKUP_RESULT_OUR_OWN,   
00045     GA_LOOKUP_RESULT_STATIC = AVAHI_LOOKUP_RESULT_STATIC      
00046 } GaLookupResultFlags;
00047 
00048 typedef enum {
00049     GA_LOOKUP_NO_FLAGS = 0,
00050     GA_LOOKUP_USE_WIDE_AREA = AVAHI_LOOKUP_USE_WIDE_AREA,    
00051     GA_LOOKUP_USE_MULTICAST = AVAHI_LOOKUP_USE_MULTICAST,    
00052     GA_LOOKUP_NO_TXT = AVAHI_LOOKUP_NO_TXT,                  
00053     GA_LOOKUP_NO_ADDRESS = AVAHI_LOOKUP_NO_ADDRESS           
00054 } GaLookupFlags;
00055 
00056 typedef enum {
00057     GA_RESOLVER_FOUND = AVAHI_RESOLVER_FOUND,           
00058     GA_RESOLVER_FAILURE = AVAHI_RESOLVER_FAILURE        
00059 } GaResolverEvent;
00060 
00061 typedef enum {
00062     GA_BROWSER_NEW = AVAHI_BROWSER_NEW,             
00063     GA_BROWSER_REMOVE = AVAHI_BROWSER_REMOVE,                     
00064     GA_BROWSER_CACHE_EXHAUSTED = AVAHI_BROWSER_CACHE_EXHAUSTED,   
00065     GA_BROWSER_ALL_FOR_NOW = AVAHI_BROWSER_ALL_FOR_NOW,           
00066     GA_BROWSER_FAILURE = AVAHI_BROWSER_FAILURE                    
00067 } GaBrowserEvent;
00068 
00069 G_END_DECLS
00070 #endif /* #ifndef __GA_CLIENT_H__ */