summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-09-20 15:27:06 +0300
committerValentin Bartenev <vbart@nginx.com>2018-09-20 15:27:06 +0300
commit2dfd8ffc2fa36712c8987afa870c355185d61af9 (patch)
tree19c39b2fad33085fe0ba9540ad1aed9ee8d476cb /src/nxt_conf.h
parentb5d76454ed41cdc38ac801ef143ca0ab516d741f (diff)
downloadunit-2dfd8ffc2fa36712c8987afa870c355185d61af9.tar.gz
unit-2dfd8ffc2fa36712c8987afa870c355185d61af9.tar.bz2
Deduplicated string value initializations.
Diffstat (limited to '')
-rw-r--r--src/nxt_conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_conf.h b/src/nxt_conf.h
index 3b0f09ff..3ddff801 100644
--- a/src/nxt_conf.h
+++ b/src/nxt_conf.h
@@ -101,6 +101,7 @@ void nxt_conf_json_position(u_char *start, u_char *pos, nxt_uint_t *line,
nxt_int_t nxt_conf_validate(nxt_conf_validation_t *vldt);
NXT_EXPORT void nxt_conf_get_string(nxt_conf_value_t *value, nxt_str_t *str);
+NXT_EXPORT void nxt_conf_set_string(nxt_conf_value_t *value, nxt_str_t *str);
NXT_EXPORT int64_t nxt_conf_get_integer(nxt_conf_value_t *value);
// FIXME reimplement and reorder functions below