|
|
@ -97,6 +97,17 @@ extern "C" {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
CSTRING *sadd(CSTRING *s, char *a);
|
|
|
|
CSTRING *sadd(CSTRING *s, char *a);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Concatenate the len bytes of the second argument to the CSTRING
|
|
|
|
|
|
|
|
* passed in the first.
|
|
|
|
|
|
|
|
* A NULL return value indicates that something went wrong and that
|
|
|
|
|
|
|
|
* sexp_errno should be checked for the cause. The contents of s are
|
|
|
|
|
|
|
|
* left alone. As such, the caller should check the pointer returned
|
|
|
|
|
|
|
|
* before overwriting the value of s, as this may result in a memory
|
|
|
|
|
|
|
|
* leak if an error condition occurs.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
CSTRING *snadd(CSTRING *s, char *a, size_t len);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Append a character to the end of the CSTRING.
|
|
|
|
* Append a character to the end of the CSTRING.
|
|
|
|
* A NULL return value indicates that something went wrong and that
|
|
|
|
* A NULL return value indicates that something went wrong and that
|
|
|
|