comparison common/errorcodes.h @ 60:6acb1dae6185

Use strn functions and improve error handling. Even if we know the strings are NULL terminated we use length terminated string functions after a first strlen this makes it easier to assert that at one point we know the string is terminated and afterwards use the length of that.
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 18 Mar 2014 11:28:02 +0000
parents
children fb9f78f7ab2f
comparison
equal deleted inserted replaced
59:3f6378647371 60:6acb1dae6185
1 #ifndef ERRORCODES_H
2 #define ERRORCODES_H
3
4 /* No begin certificate / end certificate could be found */
5 #define ERR_INVALID_INPUT_NO_LIST 2
6 /* Too much input for the installer process */
7 #define ERR_TOO_MUCH_INPUT 3
8
9 #endif

http://wald.intevation.org/projects/trustbridge/