tool_getparam: Added global config to getparameter()

In preparation for parsing global options added the GlobalConfig
structure to the getparameter() function.
This commit is contained in:
Steve Holme 2014-02-23 16:04:39 +00:00
parent ad388a7d37
commit 0704dd770d
5 changed files with 15 additions and 14 deletions

View file

@ -44,10 +44,9 @@ typedef enum {
struct GlobalConfig;
struct OperationConfig;
ParameterError getparameter(char *flag,
char *nextarg,
bool *usedarg,
struct OperationConfig *config);
ParameterError getparameter(char *flag, char *nextarg, bool *usedarg,
struct GlobalConfig *global,
struct OperationConfig *operation);
#ifdef UNITTESTS
void parse_cert_parameter(const char *cert_parameter,