X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=include%2Fcstring.h;h=ebaa28f55f29693c43f5b414683af60c94856dfe;hb=b416f18295f7edcb5474396a6b26a59fd5ddb1f5;hp=5e6c3f0679a77127447e51ef15ac0034960d6eb7;hpb=0f870f29388a36d32ec9ffaabe9ffe03edc038c0;p=smdp.git diff --git a/include/cstring.h b/include/cstring.h index 5e6c3f0..ebaa28f 100644 --- a/include/cstring.h +++ b/include/cstring.h @@ -7,7 +7,9 @@ * struct: cstring_t which defines a expandable c string type in heap memory * * function: cstring_init to intialize struct of type cstring_t - * function: cstring_t->expand to add one character to the string + * function: cstring_t->expand to add one character to the struct + * function: cstring_t->expand_arr to add a string to the struct + * function: cstring_t->reset to clear and reuse the struct * function: cstring_t->delete to free the allocated memory * * Example: