X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fzoom-opt.c;h=0cda581dbe8bd0981b4fef2a289989a3ca35cf21;hb=827d331a56e9c2b17983717155b74c2f3e5808fd;hp=0f5d9da5e8567a7df804e4c2347162b8be31650e;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755;p=yaz-moved-to-github.git diff --git a/src/zoom-opt.c b/src/zoom-opt.c index 0f5d9da..0cda581 100644 --- a/src/zoom-opt.c +++ b/src/zoom-opt.c @@ -6,11 +6,31 @@ * \file zoom-opt.c * \brief Implements ZOOM options handling */ +#if HAVE_CONFIG_H +#include +#endif + #include #include "zoom-p.h" #include +struct ZOOM_options_entry { + char *name; + char *value; + int len; /* of `value', which may contain NULs */ + struct ZOOM_options_entry *next; +}; + +struct ZOOM_options_p { + int refcount; + void *callback_handle; + ZOOM_options_callback callback_func; + struct ZOOM_options_entry *entries; + ZOOM_options parent1; + ZOOM_options parent2; +}; + static void set_value(struct ZOOM_options_entry **e, const char *value, int len) {