X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsettings.h;h=d211cb6645dc9d2b2983c58a606890cb9b092550;hb=5b4ea0cf66dd82c871ed7d69a5801d78789087b2;hp=08411ac821595ab0054c8fb37d9c3f3aaca95a52;hpb=4014c2edcb681e0714ef2a7a91069d9c905056af;p=pazpar2-moved-to-github.git diff --git a/src/settings.h b/src/settings.h index 08411ac..d211cb6 100644 --- a/src/settings.h +++ b/src/settings.h @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2008 Index Data + Copyright (C) 2006-2009 Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -36,6 +36,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define PZ_ZPROXY 13 #define PZ_APDULOG 14 #define PZ_SRU 15 +#define PZ_SRU_VERSION 16 +#define PZ_PQF_PREFIX 17 struct setting { @@ -46,18 +48,20 @@ struct setting struct setting *next; }; -int settings_num(void); -void settings_read(const char *path); -int settings_offset(const char *name); -int settings_offset_cprefix(const char *name); -void init_settings(void); +int settings_num(struct conf_service *service); +void settings_read(struct conf_service *service, const char *path); +int settings_offset(struct conf_service *service, const char *name); +int settings_offset_cprefix(struct conf_service *service, const char *name); +void init_settings(struct conf_service *service); #endif /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +