diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-04-02 10:29:07 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-04-25 14:13:03 -0400 |
commit | f18b7dc4731bcb853db92a0faaa4ec03d6ef5586 (patch) | |
tree | 9c4fe19191358faa9980ef287f946136fb6bab75 /src/feature/control/control.h | |
parent | de70eebc65d40d50f877b0f82df4d05ce670faa5 (diff) | |
download | tor-f18b7dc4731bcb853db92a0faaa4ec03d6ef5586.tar.gz tor-f18b7dc4731bcb853db92a0faaa4ec03d6ef5586.zip |
Extract the argument-splitting part of control.c's parser
This is preliminary work for fixing 29984; no behavior has changed.
Diffstat (limited to 'src/feature/control/control.h')
-rw-r--r-- | src/feature/control/control.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/feature/control/control.h b/src/feature/control/control.h index 3083837931..6fc1c40cac 100644 --- a/src/feature/control/control.h +++ b/src/feature/control/control.h @@ -60,4 +60,9 @@ int get_cached_network_liveness(void); void set_cached_network_liveness(int liveness); #endif /* defined(CONTROL_MODULE_PRIVATE) */ +#ifdef CONTROL_PRIVATE +STATIC char *control_split_incoming_command(char *incoming_cmd, + size_t *data_len); +#endif + #endif /* !defined(TOR_CONTROL_H) */ |