var-expand.h revision ee3cb11d230d549367a1213aefe4598345796256
bd4e36a8cd7257cca7d1434c49a1e343ed7c5100Timo Sirainen/* Expand % variables in src and append the string in dest.
adb6413686e52e00dded4932babcc08ff041876bTimo Sirainen table must end with key = 0. */
b1f37113a5760bee842c5a7678bb5fa6f5bd8b60Timo Sirainenvoid var_expand(string_t *dest, const char *str,
e28fa207d1a097fa6e4a867f74ee0761472ef1ceTimo Sirainen/* Returns the actual key character for given string, ie. skip any modifiers
37847ec8eaec9ad55c9df10ae109efe7b37ac573Timo Sirainen that are before it. The string should be the data after the '%' character. */