expand_string
int expand_string(char *, size_t, const char *, const char *);
if (expand_string(sa->sa_tag, len, "$id", idrepl) != 0) {
if (expand_string(sa->sa_tag, len, "$eapid",
if (expand_string(sa->sa_tag, len, "$name",
if (expand_string(sa->sa_tag, len, "$domain", domain) != 0) {
if (expand_string(sa->tag, len, "$id", id_string) != 0) {
if (expand_string(sa->tag, len, "$domain", domain) != 0) {
extern int expand_string(char *, size_t, const char *, const char *);
int expand_string(char *, size_t, const char *, const char *);
ret = expand_string(buf, len, ibuf, str);
ret = expand_string(buf, len, "$DOCUMENT_URI", path);
ret = expand_string(buf, len, "$QUERY_STRING_ENC", "");
ret = expand_string(buf, len, "$QUERY_STRING_ENC", query);
ret = expand_string(buf, len, "$QUERY_STRING", "");
ret = expand_string(buf, len, "$QUERY_STRING",
expand_string(buf, len, "$HTTP_HOST", str);
if (expand_string(buf, len,
if (expand_string(buf, len,
ret = expand_string(buf, len, "$REMOTE_USER", str);
ret = expand_string(buf, len, "$REQUEST_URI", str);
ret = expand_string(buf, len, "$REQUEST_SCHEME", "https");
ret = expand_string(buf, len, "$REQUEST_SCHEME", "http");
if (expand_string(buf, len,
if (expand_string(buf, len,
ret = expand_string(buf, len, "$SERVER_NAME", str);
int expand_string(char *, size_t, const char *, const char *);
if (expand_string(buf, sizeof(buf),
if (expand_string(buf, len, "$HOST", ibuf))
if (expand_string(buf, len,
if (expand_string(buf, len,
if (expand_string(buf, len,
if (expand_string(buf, len,
if (expand_string(buf, len,
if (expand_string(buf, len, "$TIMEOUT", ibuf) != 0)
int expand_string(char *, size_t, const char *, const char *);