Code

Make help entries alphabetical
[git.git] / Documentation / technical / api-strbuf.txt
index a9668e5f2d2b1a7ffac45e4111ca6d8a4818af2b..a8ee2fe6a1504b943ff9c3c51807bf0f839182b1 100644 (file)
@@ -205,6 +205,13 @@ In order to facilitate caching and to make it possible to give
 parameters to the callback, `strbuf_expand()` passes a context pointer,
 which can be used by the programmer of the callback as she sees fit.
 
+`strbuf_expand_dict_cb`::
+
+       Used as callback for `strbuf_expand()`, expects an array of
+       struct strbuf_expand_dict_entry as context, i.e. pairs of
+       placeholder and replacement string.  The array needs to be
+       terminated by an entry with placeholder set to NULL.
+
 `strbuf_addf`::
 
        Add a formatted string to the buffer.