errors.h
Go to the documentation of this file.
1 /* Copyright (c) 2004-2009, Isode Limited, London, England.
2  * All rights reserved.
3  *
4  * Acquisition and use of this software and related materials for any
5  * purpose requires a written licence agreement from Isode Limited,
6  * or a written licence from an organisation licenced by Isode Limited
7  * to grant such a licence.
8  *
9  */
10 
11 #ifndef _SOM_ERRORS_H
12 #define _SOM_ERRORS_H
13 
26 /* Define an offset for errors so that the numbers do not conflict with
27  * X.400 API error codes
28  */
29 
30 #define SOM_ERROR_OFFSET 1000
33 enum som_error {
34  SOM_OK = 0,
61 };
62 
63 /* \} */
64 
65 #endif /* _SOM_ERRORS_H */
@ SOM_ERROR_NOINIT
Definition: errors.h:37
@ SOM_ERROR_PROTOCOL
Definition: errors.h:51
@ SOM_ERROR_AUTHFAILED
Definition: errors.h:49
@ SOM_ERROR_LIMITREACHED
Definition: errors.h:55
@ SOM_ERROR_BUSY
Definition: errors.h:53
#define SOM_ERROR_OFFSET
Definition: errors.h:30
@ SOM_ERROR_NOMEM
Definition: errors.h:43
@ SOM_ERROR_WRONGTYPE
Definition: errors.h:58
@ SOM_ERROR_NYI
Definition: errors.h:60
@ SOM_ERROR_INVALIDARGS
Definition: errors.h:44
@ SOM_ERROR_NOFACILITY
Definition: errors.h:38
@ SOM_ERROR_DUPLICATE
Definition: errors.h:59
@ SOM_ERROR_TIMEOUT
Definition: errors.h:40
@ SOM_ERROR_NOCALLBACK
Definition: errors.h:45
@ SOM_OK
Definition: errors.h:34
@ SOM_ERROR_CONNECT
Definition: errors.h:48
@ SOM_ERROR_NOSESSION
Definition: errors.h:41
@ SOM_ERROR_VERSION
Definition: errors.h:35
@ SOM_ERROR_MORE
Definition: errors.h:54
@ SOM_ERROR_NOTFOUND
Definition: errors.h:57
@ SOM_ERROR_NOSPACE
Definition: errors.h:56
@ SOM_ERROR_NOTCONNECTED
Definition: errors.h:50
@ SOM_ERROR_FAILED
Definition: errors.h:52
@ SOM_ERROR_NETWORK
Definition: errors.h:47
@ SOM_ERROR_INTERNAL
Definition: errors.h:39
@ SOM_ERROR_ABORT
Definition: errors.h:42
@ SOM_ERROR_NOHOST
Definition: errors.h:46

All rights reserved © 2002 - 2024 Isode Ltd.