error.h
Go to the documentation of this file.
00001 #ifndef fooerrorhfoo
00002 #define fooerrorhfoo
00003 
00004 /* $Id: error.h 1298 2006-08-31 17:26:29Z lennart $ */
00005 
00006 /***
00007   This file is part of avahi.
00008  
00009   avahi is free software; you can redistribute it and/or modify it
00010   under the terms of the GNU Lesser General Public License as
00011   published by the Free Software Foundation; either version 2.1 of the
00012   License, or (at your option) any later version.
00013  
00014   avahi is distributed in the hope that it will be useful, but WITHOUT
00015   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00016   or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
00017   Public License for more details.
00018  
00019   You should have received a copy of the GNU Lesser General Public
00020   License along with avahi; if not, write to the Free Software
00021   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00022   USA.
00023 ***/
00024 
00027 #include <avahi-common/cdecl.h>
00028 
00029 AVAHI_C_DECL_BEGIN
00030 
00032 enum { 
00033     AVAHI_OK = 0,                            
00034     AVAHI_ERR_FAILURE = -1,                  
00035     AVAHI_ERR_BAD_STATE = -2,                
00036     AVAHI_ERR_INVALID_HOST_NAME = -3,        
00037     AVAHI_ERR_INVALID_DOMAIN_NAME = -4,      
00038     AVAHI_ERR_NO_NETWORK = -5,               
00039     AVAHI_ERR_INVALID_TTL = -6,              
00040     AVAHI_ERR_IS_PATTERN = -7,               
00041     AVAHI_ERR_COLLISION = -8,                
00042     AVAHI_ERR_INVALID_RECORD = -9,           
00044     AVAHI_ERR_INVALID_SERVICE_NAME = -10,    
00045     AVAHI_ERR_INVALID_SERVICE_TYPE = -11,    
00046     AVAHI_ERR_INVALID_PORT = -12,            
00047     AVAHI_ERR_INVALID_KEY = -13,             
00048     AVAHI_ERR_INVALID_ADDRESS = -14,         
00049     AVAHI_ERR_TIMEOUT = -15,                 
00050     AVAHI_ERR_TOO_MANY_CLIENTS = -16,        
00051     AVAHI_ERR_TOO_MANY_OBJECTS = -17,        
00052     AVAHI_ERR_TOO_MANY_ENTRIES = -18,        
00053     AVAHI_ERR_OS = -19,                      
00055     AVAHI_ERR_ACCESS_DENIED = -20,           
00056     AVAHI_ERR_INVALID_OPERATION = -21,       
00057     AVAHI_ERR_DBUS_ERROR = -22,              
00058     AVAHI_ERR_DISCONNECTED = -23,            
00059     AVAHI_ERR_NO_MEMORY = -24,               
00060     AVAHI_ERR_INVALID_OBJECT = -25,          
00061     AVAHI_ERR_NO_DAEMON = -26,               
00062     AVAHI_ERR_INVALID_INTERFACE = -27,       
00063     AVAHI_ERR_INVALID_PROTOCOL = -28,        
00064     AVAHI_ERR_INVALID_FLAGS = -29,           
00066     AVAHI_ERR_NOT_FOUND = -30,               
00067     AVAHI_ERR_INVALID_CONFIG = -31,          
00068     AVAHI_ERR_VERSION_MISMATCH = -32,        
00069     AVAHI_ERR_INVALID_SERVICE_SUBTYPE = -33, 
00070     AVAHI_ERR_INVALID_PACKET = -34,          
00071     AVAHI_ERR_INVALID_DNS_ERROR = -35,       
00072     AVAHI_ERR_DNS_FORMERR = -36,             
00073     AVAHI_ERR_DNS_SERVFAIL = -37,            
00074     AVAHI_ERR_DNS_NXDOMAIN = -38,            
00075     AVAHI_ERR_DNS_NOTIMP = -39,              
00077     AVAHI_ERR_DNS_REFUSED = -40,             
00078     AVAHI_ERR_DNS_YXDOMAIN = -41,
00079     AVAHI_ERR_DNS_YXRRSET = -42,
00080     AVAHI_ERR_DNS_NXRRSET = -43,
00081     AVAHI_ERR_DNS_NOTAUTH = -44,             
00082     AVAHI_ERR_DNS_NOTZONE = -45,             
00083     AVAHI_ERR_INVALID_RDATA = -46,           
00084     AVAHI_ERR_INVALID_DNS_CLASS = -47,       
00085     AVAHI_ERR_INVALID_DNS_TYPE = -48,        
00086     AVAHI_ERR_NOT_SUPPORTED = -49,           
00088     AVAHI_ERR_NOT_PERMITTED = -50,           
00089     AVAHI_ERR_INVALID_ARGUMENT = -51,        
00090     AVAHI_ERR_IS_EMPTY = -52,                
00091     AVAHI_ERR_NO_CHANGE = -53,               
00093     /****
00094      ****    IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD
00095      ****    IT TO THE STRING ARRAY IN avahi_strerror() IN error.c AND
00096      ****    TO THE ARRAY IN dbus.c AND FINALLY TO dbus.h!
00097      ****
00098      ****    Also remember to update the MAX value below.
00099      ****/
00100     
00101     AVAHI_ERR_MAX = -54
00102 };
00103 
00105 const char *avahi_strerror(int error);
00106 
00107 AVAHI_C_DECL_END
00108 
00109 #endif


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21