Changeset View
Changeset View
Standalone View
Standalone View
common/sexputil.c
Context not available. | |||||
*/ | */ | ||||
/* This file implements a few utility functions useful when working | /* This file implements a few utility functions useful when working | ||||
with canonical encrypted S-expresions (i.e. not the S-exprssion | with canonical encrypted S-expressions (i.e. not the S-exprssion | ||||
objects from libgcrypt). */ | objects from libgcrypt). */ | ||||
#include <config.h> | #include <config.h> | ||||
Context not available. | |||||
/* Create a simple S-expression from the hex string at LINE. Returns | /* Create a simple S-expression from the hex string at LINE. Returns | ||||
a newly allocated buffer with that canonical encoded S-expression | a newly allocated buffer with that canonical encoded S-expression | ||||
or NULL in case of an error. On return the number of characters | or NULL in case of an error. On return the number of characters | ||||
scanned in LINE will be stored at NSCANNED. This fucntions stops | scanned in LINE will be stored at NSCANNED. This functions stops | ||||
converting at the first character not representing a hexdigit. Odd | converting at the first character not representing a hexdigit. Odd | ||||
numbers of hex digits are allowed; a leading zero is then | numbers of hex digits are allowed; a leading zero is then | ||||
assumed. If no characters have been found, NULL is returned.*/ | assumed. If no characters have been found, NULL is returned.*/ | ||||
Context not available. |