ZOOM_options dst = ZOOM_options_create();
struct ZOOM_options_entry *src_e = src->entries;
struct ZOOM_options_entry **dst_e = &dst->entries;
ZOOM_options dst = ZOOM_options_create();
struct ZOOM_options_entry *src_e = src->entries;
struct ZOOM_options_entry **dst_e = &dst->entries;
while(src_e)
{
append_entry(dst_e, src_e->name, src_e->value, src_e->len);
while(src_e)
{
append_entry(dst_e, src_e->name, src_e->value, src_e->len);
ZOOM_options_get_bool(ZOOM_options opt, const char *name, int defa)
{
const char *v = ZOOM_options_get(opt, name);
ZOOM_options_get_bool(ZOOM_options opt, const char *name, int defa)
{
const char *v = ZOOM_options_get(opt, name);