diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-18 14:38:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 14:40:12 -0400 |
commit | f45e1fbd5b25735c75bed8767d9d50e279c4b63a (patch) | |
tree | ed755a43790fa2b93ee0f932e00fc81fc82197c4 /src/or/confparse.h | |
parent | abedd35de08f2a2bd91d9d17e2f3cfd3b42ba52a (diff) | |
download | tor-f45e1fbd5b25735c75bed8767d9d50e279c4b63a.tar.gz tor-f45e1fbd5b25735c75bed8767d9d50e279c4b63a.zip |
Start of a unit test for options_validate.
I added this so I could write a unit test for ServerTransportOptions,
but it incidentally exercises the succeed-on-defaults case of
options_validate too.
Diffstat (limited to 'src/or/confparse.h')
-rw-r--r-- | src/or/confparse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/confparse.h b/src/or/confparse.h index d82e1096ca..924ee0d945 100644 --- a/src/or/confparse.h +++ b/src/or/confparse.h @@ -76,7 +76,7 @@ typedef int (*validate_fn_t)(void*,void*,int,char**); /** Information on the keys, value types, key-to-struct-member mappings, * variable descriptions, validation functions, and abbreviations for a * configuration or storage format. */ -typedef struct { +typedef struct config_format_t { size_t size; /**< Size of the struct that everything gets parsed into. */ uint32_t magic; /**< Required 'magic value' to make sure we have a struct * of the right type. */ |