diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-26 10:09:03 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-26 10:09:03 -0400 |
commit | 16dffa523e382caaca03515af3f455dcd191d461 (patch) | |
tree | dfbe47fa8c7aed43ab351d0e6c44b751612bb287 /src/lib/confmgt | |
parent | 2402d95715286dcd3875cc0d0fb4766c42078a5e (diff) | |
download | tor-16dffa523e382caaca03515af3f455dcd191d461.tar.gz tor-16dffa523e382caaca03515af3f455dcd191d461.zip |
Rename confparse.[ch] identifiers to confmgt.[ch] identifiers.
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
confparse.h confmgt.h \
confparse.c confmgt.c \
CONFPARSE_PRIVATE CONFMGT_PRIVATE \
TOR_CONFPARSE_H TOR_CONFMGT_H
Diffstat (limited to 'src/lib/confmgt')
-rw-r--r-- | src/lib/confmgt/confmgt.c | 4 | ||||
-rw-r--r-- | src/lib/confmgt/confmgt.h | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/confmgt/confmgt.c b/src/lib/confmgt/confmgt.c index ccef40bd2e..1218a63ae3 100644 --- a/src/lib/confmgt/confmgt.c +++ b/src/lib/confmgt/confmgt.c @@ -21,9 +21,9 @@ * specified, and a linked list of key-value pairs. */ -#define CONFPARSE_PRIVATE +#define CONFMGT_PRIVATE #include "orconfig.h" -#include "lib/confmgt/confparse.h" +#include "lib/confmgt/confmgt.h" #include "lib/confmgt/structvar.h" #include "lib/confmgt/unitparse.h" diff --git a/src/lib/confmgt/confmgt.h b/src/lib/confmgt/confmgt.h index 246ad887cb..f565742c55 100644 --- a/src/lib/confmgt/confmgt.h +++ b/src/lib/confmgt/confmgt.h @@ -5,13 +5,13 @@ /* See LICENSE for licensing information */ /** - * \file confparse.h + * \file confmgt.h * - * \brief Header for confparse.c. + * \brief Header for confmgt.c. */ -#ifndef TOR_CONFPARSE_H -#define TOR_CONFPARSE_H +#ifndef TOR_CONFMGT_H +#define TOR_CONFMGT_H #include "lib/conf/conftypes.h" #include "lib/conf/confmacros.h" @@ -123,13 +123,13 @@ bool config_var_is_listable(const config_var_t *var); #define CFG_EQ_LINELIST(a,b,opt) config_lines_eq((a)->opt, (b)->opt) #define CFG_EQ_ROUTERSET(a,b,opt) routerset_equal((a)->opt, (b)->opt) -#ifdef CONFPARSE_PRIVATE +#ifdef CONFMGT_PRIVATE STATIC void config_reset_line(const config_mgr_t *mgr, void *options, const char *key, int use_defaults); STATIC void *config_mgr_get_obj_mutable(const config_mgr_t *mgr, void *toplevel, int idx); STATIC const void *config_mgr_get_obj(const config_mgr_t *mgr, const void *toplevel, int idx); -#endif /* defined(CONFPARSE_PRIVATE) */ +#endif /* defined(CONFMGT_PRIVATE) */ -#endif /* !defined(TOR_CONFPARSE_H) */ +#endif /* !defined(TOR_CONFMGT_H) */ |