]> rtime.felk.cvut.cz Git - ulut.git/blobdiff - ulut/ul_dbuff.h
uLUt library updated from other projects.
[ulut.git] / ulut / ul_dbuff.h
index 6e5f66ae9b4a1f9eee1030b228116dd6eda35003..de9fda461b7e5daf6630ae6f8259bb92542d36c4 100644 (file)
@@ -69,27 +69,28 @@ int ul_dbuff_pos(const ul_dbuff_t *buf, unsigned char what, unsigned char quote)
 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)
  */