YAZ User's Guide and Reference
Prev | Chapter 3. Building clients with ZOOM | Next

# Options

Most objects in ZOOM allow you to specify options to change default behaviour. From an implementation point of view a set of options is just like an associate array / hash array, etc.

         Z3950_options Z3950_options_create (void);

         Z3950_options Z3950_options_create_with_parent (Z3950_options parent);

         void Z3950_options_destroy (Z3950_options opt);

         const char *Z3950_options_get (Z3950_options opt, const char *name);

         void Z3950_options_set (Z3950_options opt, const char *name,
                                 const char *v);

         typedef const char *(*Z3950_options_callback)
                                         (void *handle, const char *name);

         Z3950_options_callback
                 Z3950_options_set_callback (Z3950_options opt,
                                             Z3950_options_callback c,
    					 void *handle);

Prev | Home | Next
Records | Up | Events