aboutsummaryrefslogtreecommitdiff
path: root/src/lib/conf
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-09-05 17:12:19 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-09-05 17:12:19 +0300
commitddd01541b909a84396e2d9ba31266ae63670c938 (patch)
tree3970c39be515202f6d6205f6ae6b4ccfba3dc9c8 /src/lib/conf
parentfb56b4c2bffe5d1d752694901b1853d89e3fb8cc (diff)
parenteb909c4e433087b466e78d33af8eed47adcabf16 (diff)
downloadtor-ddd01541b909a84396e2d9ba31266ae63670c938.tar.gz
tor-ddd01541b909a84396e2d9ba31266ae63670c938.zip
Merge branch 'tor-github/pr/1294'
Diffstat (limited to 'src/lib/conf')
-rw-r--r--src/lib/conf/conftypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/conf/conftypes.h b/src/lib/conf/conftypes.h
index 612272e453..4609564b34 100644
--- a/src/lib/conf/conftypes.h
+++ b/src/lib/conf/conftypes.h
@@ -122,8 +122,12 @@ typedef struct struct_member_t {
* that they have the correct type.
*/
typedef struct struct_magic_decl_t {
+ /** The name of the structure */
const char *typename;
+ /** A value used to recognize instances of this structure. */
uint32_t magic_val;
+ /** The location within the structure at which we expect to find
+ * <b>magic_val</b>. */
ptrdiff_t magic_offset;
} struct_magic_decl_t;