aboutsummaryrefslogtreecommitdiff
path: root/src/lib/confmgt/confmgt.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-26 10:09:03 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-26 10:09:03 -0400
commit16dffa523e382caaca03515af3f455dcd191d461 (patch)
treedfbe47fa8c7aed43ab351d0e6c44b751612bb287 /src/lib/confmgt/confmgt.h
parent2402d95715286dcd3875cc0d0fb4766c42078a5e (diff)
downloadtor-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/confmgt.h')
-rw-r--r--src/lib/confmgt/confmgt.h14
1 files changed, 7 insertions, 7 deletions
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) */