TrustedQSL Library API: tqslerrno.h Source File

TrustedQSL Library API

tqslerrno.h
Go to the documentation of this file.
1/***************************************************************************
2 tqslerrno.h - description
3 -------------------
4 begin : Tue May 28 2002
5 copyright : (C) 2002 by ARRL
6 author : Jon Bloom
7 email : jbloom@arrl.org
8 revision : $Id$
9 ***************************************************************************/
10
11#ifndef __TQSLERRNO_H
12#define __TQSLERRNO_H
13
17
18#define TQSL_NO_ERROR 0
19#define TQSL_SYSTEM_ERROR 1
20#define TQSL_OPENSSL_ERROR 2
21#define TQSL_ADIF_ERROR 3
22#define TQSL_CUSTOM_ERROR 4
23#define TQSL_CABRILLO_ERROR 5
24#define TQSL_OPENSSL_VERSION_ERROR 6
25#define TQSL_ERROR_ENUM_BASE 16
26#define TQSL_ALLOC_ERROR 16
27#define TQSL_RANDOM_ERROR 17
28#define TQSL_ARGUMENT_ERROR 18
29#define TQSL_OPERATOR_ABORT 19
30#define TQSL_NOKEY_ERROR 20
31#define TQSL_BUFFER_ERROR 21
32#define TQSL_INVALID_DATE 22
33#define TQSL_SIGNINIT_ERROR 23
34#define TQSL_PASSWORD_ERROR 24
35#define TQSL_EXPECTED_NAME 25
36#define TQSL_NAME_EXISTS 26
37#define TQSL_NAME_NOT_FOUND 27
38#define TQSL_INVALID_TIME 28
39#define TQSL_CERT_DATE_MISMATCH 29
40#define TQSL_PROVIDER_NOT_FOUND 30
41#define TQSL_CERT_KEY_ONLY 31
42#define TQSL_CONFIG_ERROR 32
43#define TQSL_CERT_NOT_FOUND 33
44#define TQSL_PKCS12_ERROR 34
45#define TQSL_CERT_TYPE_ERROR 35
46#define TQSL_DATE_OUT_OF_RANGE 36
47#define TQSL_DUPLICATE_QSO 37
48#define TQSL_DB_ERROR 38
49#define TQSL_LOCATION_NOT_FOUND 39
50#define TQSL_CALL_NOT_FOUND 40
51#define TQSL_CONFIG_SYNTAX_ERROR 41
52#define TQSL_FILE_SYSTEM_ERROR 42
53#define TQSL_FILE_SYNTAX_ERROR 43
54#define TQSL_CERT_ERROR 44
55#define TQSL_CERT_MISMATCH 45
56#define TQSL_LOCATION_MISMATCH 46
57#define TQSL_NEW_UPLOAD_DB 47
58#define TQSL_INCONSISTENT_GRID 48
59#define TQSL_INVALID_ADIF 49
60
61#define TQSL_CERT_NOT_FOUND_INVALID 0x10000
62#define TQSL_CERT_NOT_FOUND_EXPIRED 0x20000
63#define TQSL_CERT_NOT_FOUND_SUPERCEDED 0x40000
64
65#endif /* __TQSLERRNO_H */