Mercurial > trustbridge
comparison common/errorcodes.h @ 289:9ad00a3255f4
Change cinst from stdin input to use arguments.
As we have to execute this process on Windows over the
shell a stdin / stdout communication is not really possible
without some major hacks. So you now have to supply an
instructions file and the path to the certificatelist as arguments when
this process is called
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 13:52:02 +0000 |
parents | 539c856cb5da |
children | b832231640ab |
comparison
equal
deleted
inserted
replaced
288:c4a989a0d6cf | 289:9ad00a3255f4 |
---|---|
1 #ifndef ERRORCODES_H | 1 #ifndef ERRORCODES_H |
2 #define ERRORCODES_H | 2 #define ERRORCODES_H |
3 | 3 |
4 /* No error */ | 4 /* No error */ |
5 #define ERR_NO_ERROR 0 | 5 #define ERR_NO_ERROR 0 |
6 /* No begin certificate / end certificate could be found */ | 6 /* Failed to read / verify the certificate list */ |
7 #define ERR_INVALID_INPUT_NO_LIST 2 | 7 #define ERR_INVALID_INPUT_NO_LIST 2 |
8 /* Too much input for the installer process */ | 8 /* Too much input for the installer process */ |
9 #define ERR_TOO_MUCH_INPUT 3 | 9 #define ERR_TOO_MUCH_INPUT 3 |
10 /* Invalid signature */ | 10 /* Invalid signature */ |
11 #define ERR_INVALID_SIGNATURE 4 | 11 #define ERR_INVALID_SIGNATURE 4 |
19 #define ERR_STORE_ADD_FAILURE 8 | 19 #define ERR_STORE_ADD_FAILURE 8 |
20 /* Generic invalid input */ | 20 /* Generic invalid input */ |
21 #define ERR_INVALID_INPUT 9 | 21 #define ERR_INVALID_INPUT 9 |
22 /* Generic invalid certificate */ | 22 /* Generic invalid certificate */ |
23 #define ERR_INVALID_CERT 10 | 23 #define ERR_INVALID_CERT 10 |
24 /* Invalid parameters in call */ | |
25 #define ERR_INVALID_PARAMS 11 | |
24 | 26 |
25 /*********************************************************************** | 27 /*********************************************************************** |
26 * mozilla specific errors and warnings | 28 * mozilla specific errors and warnings |
27 * errors range from 0x0081 to 0x08F | 29 * errors range from 0x0081 to 0x08F |
28 * warnings from 0x0091 to 0x0098 | 30 * warnings from 0x0091 to 0x0098 |