Tor  0.4.7.0-alpha-dev
Functions
keyval.h File Reference

Header for keyval.c. More...

Go to the source code of this file.

Functions

int string_is_key_value (int severity, const char *string)
 

Detailed Description

Header for keyval.c.

Definition in file keyval.h.

Function Documentation

◆ string_is_key_value()

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.