From 4a7bfd74db3915916d1e08d5a0f5a83e3aeec8d1 Mon Sep 17 00:00:00 2001 From: "Marcel M. Otte" Date: Fri, 27 Dec 2013 10:50:48 +0000 Subject: [PATCH] fixed changes --- c/cmdlineoptions.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/c/cmdlineoptions.h b/c/cmdlineoptions.h index 0295499..09e8cae 100644 --- a/c/cmdlineoptions.h +++ b/c/cmdlineoptions.h @@ -45,20 +45,20 @@ int CmdOptions_Parse(int argc, char** argv); /** * Add a new option with a new name, or a new option alternative to an existing one. */ -int CmdOptions_Add(char* name, char* option); +void CmdOptions_Add(char* name, char* option); /** * Add a defaultparameter to an existing option, specified by name. */ -int CmdOptions_AddDefaultParameter(char* name, char* defaultparameter); +void CmdOptions_AddDefaultParameter(char* name, char* defaultparameter); /** * Add a possible parameter to an existing option, specified by name. * Keep in mind that you LIMIT that option to all possible parameters (?) */ -int CmdOptions_AddPossibleParameter(char* name, char* possibleParameter); +void CmdOptions_AddPossibleParameter(char* name, char* possibleParameter); /** * Add a description to an existing option, specified by name. */ -int CmdOptions_AddDescription(char* name, char* description); +void CmdOptions_AddDescription(char* name, char* description); /** * Check if the option specified by name is set. @@ -86,8 +86,8 @@ double CmdOptions_GetDouble(char* name); */ int CmdOptions_GetAll(char* name, char** values, unsigned int* count); -int CmdOptions_Create(char* name); +CONode* CmdOptions_Create(char* name); CONode* CmdOptions_NodeGet(char* name); -void CmdOptions_AddElement(char** target, char* element); +void CmdOptions_AddElement(char** target,int* counter, char* element); #endif