comparison common/listutil.h @ 59:3f6378647371

Start work on cinst. Strhelp new helpers to work with C String arrays and to have a terminating malloc / realloc
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 18 Mar 2014 10:04:30 +0000
parents 37fc66967517
children 8ffbb48528ae
comparison
equal deleted inserted replaced
58:ad61489ce593 59:3f6378647371
39 * @param[out] size Size in Bytes of the file content. 39 * @param[out] size Size in Bytes of the file content.
40 * 40 *
41 * @return status of the operation. 41 * @return status of the operation.
42 */ 42 */
43 list_status_t read_and_verify_list(const char *fileName, char **data, size_t *size); 43 list_status_t read_and_verify_list(const char *fileName, char **data, size_t *size);
44
45 /** @brief verify the certificate list
46 *
47 * The public key to verify against is the static publicKeyPEM data defined
48 * in the pubkey header.
49 *
50 * @param [in] data the list data
51 * @param [in] size the size of the data
52 *
53 * @returns 0 if the list is valid a polarssl error or -1 otherwise
54 */
55 int verify_list(char *data, size_t size);
44 #ifdef __cplusplus 56 #ifdef __cplusplus
45 } 57 }
46 #endif 58 #endif
47 #endif 59 #endif

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