diff options
author | Martin Willi <martin@strongswan.org> | 2007-10-03 15:02:29 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-10-03 15:02:29 +0000 |
commit | 6a8e7381d0fc2f6df83c0d75fe02372a3b35a2b3 (patch) | |
tree | b71f01f9f95fd58654d331ec0e625f699e5c7a4a /src/libstrongswan/utils/optionsfrom.h | |
parent | 8bcdf1562cab27ad2946c268db3d61a4394e3b5c (diff) | |
download | strongswan-6a8e7381d0fc2f6df83c0d75fe02372a3b35a2b3.tar.bz2 strongswan-6a8e7381d0fc2f6df83c0d75fe02372a3b35a2b3.tar.xz |
more libstrongswan-like error handling in optionsfrom
Diffstat (limited to 'src/libstrongswan/utils/optionsfrom.h')
-rw-r--r-- | src/libstrongswan/utils/optionsfrom.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstrongswan/utils/optionsfrom.h b/src/libstrongswan/utils/optionsfrom.h index 14db376dd..d6b9efde5 100644 --- a/src/libstrongswan/utils/optionsfrom.h +++ b/src/libstrongswan/utils/optionsfrom.h @@ -30,9 +30,8 @@ * @param argcp pointer to argc * @param argvp pointer to argv[] * @param optind current optind, number of next argument - * @param errfile where to report errors (NULL means return) - * @return NULL if successful, error string otherwise + * @return TRUE if optionsfrom parsing successful */ -err_t optionsfrom(const char *filename, int *argcp, char **argvp[], int optind, FILE *errfile); +bool optionsfrom(const char *filename, int *argcp, char **argvp[], int optind); #endif /*OPTIONSFROM_H_*/ |