use skip_prefix to avoid magic numbers
[gitweb.git] / Documentation / technical / api-strbuf.txt
index 4396be9dda07dfad679f834120b7f1aa2adb16c5..077a7096a4ba3c47a0cbc8981abdde1b7b35d924 100644 (file)
@@ -134,6 +134,15 @@ Functions
 
        Strip whitespace from the beginning of a string.
 
+`strbuf_reencode`::
+
+       Replace the contents of the strbuf with a reencoded form.  Returns -1
+       on error, 0 on success.
+
+`strbuf_tolower`::
+
+       Lowercase each character in the buffer using `tolower`.
+
 `strbuf_cmp`::
 
        Compare two buffers. Returns an integer less than, equal to, or greater