diff options
author | Roland Mainz <rmainz@redhat.com> | 2015-04-14 16:07:18 +0200 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-04-15 10:31:39 -0400 |
commit | 116e6c8f716e1104823c77f3d732513dd1b2a794 (patch) | |
tree | 0ac322b1403183d2ce364ab2240bc4cc57787156 /proxy/src/gp_config.c | |
parent | bcea066dc65fd2fef6f0c26454f5ecc076d69430 (diff) | |
download | gss-proxy-116e6c8f716e1104823c77f3d732513dd1b2a794.tar.gz gss-proxy-116e6c8f716e1104823c77f3d732513dd1b2a794.tar.xz gss-proxy-116e6c8f716e1104823c77f3d732513dd1b2a794.zip |
Remove support for iniparse library
This library already does not support some features we need and
we want to drop its usage as the code quality is bad.
Fixes: https://fedorahosted.org/gss-proxy/ticket/139
Signed-off-by: Roland Mainz <rmainz@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy/src/gp_config.c')
-rw-r--r-- | proxy/src/gp_config.c | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/proxy/src/gp_config.c b/proxy/src/gp_config.c index d3af376..71e2ca6 100644 --- a/proxy/src/gp_config.c +++ b/proxy/src/gp_config.c @@ -567,58 +567,6 @@ void free_config(struct gp_config **cfg) *cfg = NULL; } -#ifdef WITH_INIPARSER -#include "gp_config_iniparser.h" - -int gp_config_init(const char *config_file, - struct gp_ini_context *ctx) -{ - return gp_iniparser_init(config_file, ctx); -} - -int gp_config_get_string(struct gp_ini_context *ctx, - const char *secname, - const char *keyname, - char **value) -{ - return gp_iniparser_get_string(ctx, secname, keyname, value); -} - -int gp_config_get_string_array(struct gp_ini_context *ctx, - const char *secname, - const char *keyname, - int *num_values, - char ***values) -{ - return ENOENT; -} - -int gp_config_get_int(struct gp_ini_context *ctx, - const char *secname, - const char *keyname, - int *value) -{ - return gp_iniparser_get_int(ctx, secname, keyname, value); -} - -int gp_config_get_nsec(struct gp_ini_context *ctx) -{ - return gp_iniparser_get_nsec(ctx); -} - -char *gp_config_get_secname(struct gp_ini_context *ctx, - int i) -{ - return gp_iniparser_get_secname(ctx, i); -} - -int gp_config_close(struct gp_ini_context *ctx) -{ - return gp_iniparser_close(ctx); -} - -#endif /* WITH_INIPARSER */ - #ifdef WITH_DINGLIBS #include "gp_config_dinglibs.h" |