avahi  0.6.31
error.h
Go to the documentation of this file.
1 #ifndef fooerrorhfoo
2 #define fooerrorhfoo
3 
4 /***
5  This file is part of avahi.
6 
7  avahi is free software; you can redistribute it and/or modify it
8  under the terms of the GNU Lesser General Public License as
9  published by the Free Software Foundation; either version 2.1 of the
10  License, or (at your option) any later version.
11 
12  avahi is distributed in the hope that it will be useful, but WITHOUT
13  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
15  Public License for more details.
16 
17  You should have received a copy of the GNU Lesser General Public
18  License along with avahi; if not, write to the Free Software
19  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20  USA.
21 ***/
22 
25 #include <avahi-common/cdecl.h>
26 
27 AVAHI_C_DECL_BEGIN
28 
30 enum {
31  AVAHI_OK = 0,
51  AVAHI_ERR_OS = -19,
91  /****
92  **** IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD
93  **** IT TO THE STRING ARRAY IN avahi_strerror() IN error.c AND
94  **** TO THE ARRAY IN dbus.c AND FINALLY TO dbus.h!
95  ****
96  **** Also remember to update the MAX value below.
97  ****/
98 
100 };
101 
103 const char *avahi_strerror(int error);
104 
105 AVAHI_C_DECL_END
106 
107 #endif
Access denied.
Definition: error.h:53
DNS Error: No such domain.
Definition: error.h:72
Configuration error.
Definition: error.h:65
Too many entries.
Definition: error.h:50
Invalid RDATA.
Definition: error.h:81
DNS Error: Operation refused.
Definition: error.h:75
DNS Error: Not implemented.
Definition: error.h:73
Invalid operation.
Definition: error.h:54
The requested operation is invalid because it is redundant.
Definition: error.h:89
An unexpected D-Bus error occurred.
Definition: error.h:55
Invalid domain name.
Definition: error.h:35
Invalid DNS type.
Definition: error.h:83
Invalid packet.
Definition: error.h:68
Object was in a bad state.
Definition: error.h:33
Timeout reached.
Definition: error.h:47
Daemon connection failed.
Definition: error.h:56
DNS Error: Server Failure.
Definition: error.h:71
Invalid key.
Definition: error.h:45
Invalid host name.
Definition: error.h:34
Invalid RR.
Definition: error.h:40
OK.
Definition: error.h:31
const char * avahi_strerror(int error)
Return a human readable error string for the specified error code.
Invalid service name.
Definition: error.h:42
Invalid port number.
Definition: error.h:44
Not supported.
Definition: error.h:84
DNS Error: Not authorized.
Definition: error.h:79
Invalid argument.
Definition: error.h:87
Verson mismatch.
Definition: error.h:66
OS error.
Definition: error.h:51
Too many clients.
Definition: error.h:48
Invalid flags.
Definition: error.h:62
Invlaid DNS return code.
Definition: error.h:69
Invalid DNS class.
Definition: error.h:82
Invalid interface.
Definition: error.h:60
DNS Error: Form error.
Definition: error.h:70
Invalid address.
Definition: error.h:46
Invalid service subtype.
Definition: error.h:67
Invalid service type.
Definition: error.h:43
No suitable network protocol available.
Definition: error.h:36
The object passed to this function was invalid.
Definition: error.h:58
Too many objects.
Definition: error.h:49
Operation not permitted.
Definition: error.h:86
Memory exhausted.
Definition: error.h:57
Invalid DNS TTL.
Definition: error.h:37
Generic error code.
Definition: error.h:32
Is empty.
Definition: error.h:88
Invalid protocol.
Definition: error.h:61
Daemon not running.
Definition: error.h:59
RR key is pattern.
Definition: error.h:38
Name collision.
Definition: error.h:39
Not found.
Definition: error.h:64