|
Tor 0.4.9.8
|
Handle data encoded as a key=value pair. More...
#include "orconfig.h"#include "lib/encoding/keyval.h"#include "lib/log/escape.h"#include "lib/log/log.h"#include "lib/log/util_bug.h"#include <stdlib.h>#include <string.h>Go to the source code of this file.
Functions | |
| int | string_is_key_value (int severity, const char *string) |
Handle data encoded as a key=value pair.
Definition in file keyval.c.
| int string_is_key_value | ( | int | severity, |
| const char * | string ) |
Return true if string is a valid 'key=[value]' string. "value" is optional, to indicate the empty string. Log at logging severity if something ugly happens.
Definition at line 25 of file keyval.c.
Referenced by dirserv_read_measured_bandwidths(), get_options_from_transport_options_line(), parse_bridge_line(), and validate_transport_socks_arguments().