From: Dennis Schafroth Date: Mon, 30 Apr 2012 12:04:44 +0000 (+0000) Subject: Rename struct to settings_array X-Git-Tag: v1.6.13~1^2~11 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a308a61764c5a8da2d386827d8574c45618d63de;p=pazpar2-moved-to-github.git Rename struct to settings_array --- diff --git a/src/settings.c b/src/settings.c index 124d9db..c41dc34 100644 --- a/src/settings.c +++ b/src/settings.c @@ -351,7 +351,7 @@ void expand_settings_array(struct setting ***set_ar, int *num, int offset, } } -void expand_settings_array2(struct settings *settings, int offset, NMEM nmem) +void expand_settings_array2(struct settings_array *settings, int offset, NMEM nmem) { assert(offset >= 0); assert(settings); @@ -368,7 +368,7 @@ void expand_settings_array2(struct settings *settings, int offset, NMEM nmem) } } -static void update_settings(struct setting *set, struct settings *settings, int offset, NMEM nmem) +static void update_settings(struct setting *set, struct settings_array *settings, int offset, NMEM nmem) { struct setting **sp; yaz_log(YLOG_LOG, "update service settings offset %d with %s=%s", offset, set->name, set->value); diff --git a/src/settings.h b/src/settings.h index 5826ac6..6ca2f6c 100644 --- a/src/settings.h +++ b/src/settings.h @@ -65,7 +65,7 @@ struct setting struct setting *next; }; -struct settings +struct settings_array { // Array of pointer setting, index is looked up in setting_dictionary struct setting **settings;