int ul_dbuff_strcpy(ul_dbuff_t *buf, const char *str);
int ul_dbuff_strcat(ul_dbuff_t *buf, const char *str);
int ul_dbuff_append_byte(ul_dbuff_t *buf, unsigned char b);
+int ul_dbuff_export(ul_dbuff_t *srcdb, void *dest, int maxlen);
void ul_dbuff_cut_pos(ul_dbuff_t *fromdb, ul_dbuff_t *todb, int n);
void ul_dbuff_cut_delimited(ul_dbuff_t *fromdb, ul_dbuff_t *todb, char delimiter, char quote);
void ul_dbuff_cut_token(ul_dbuff_t *fromdb, ul_dbuff_t *todb);
-/**
+/*
* ul_dbuff_ltrim - removes all white spaces from left of dbuff.
*
* Return Value: new len of dbuff (including terminating zero, if present)
*/
int ul_dbuff_ltrim(ul_dbuff_t *buf);
-/**
+/*
* ul_dbuff_rtrim - removes all white spaces from right of dbuff.
* If dbuff is zero terminated, trimmed dbuff is also zero terminated
*
* Return Value: new len of dbuff (including terminating zero, if present)
*/
int ul_dbuff_rtrim(ul_dbuff_t *buf);
-/**
- * ul_dbuff_rtrim - removes all white spaces from left and right of dbuff.
- * If dbuff is zero terminated, trimmed dbuff is also zero terminated
+/*
+ * ul_dbuff_trim - removes all white spaces from left and right of dbuff.
+ * If dbuff is zero terminated, trimmed dbuff is also zero terminated
*
* Return Value: new len of dbuff (including terminating zero, if present)
*/