2 * ion/ioncore/extlconv.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_EXTLCONV_H
10 #define ION_IONCORE_EXTLCONV_H
12 #include <libextl/extl.h>
13 #include <libtu/iterable.h>
14 #include <libtu/setparam.h>
15 #include <libtu/objlist.h>
19 extern bool extl_iter_obj(ExtlFn fn, Obj *obj);
20 extern bool extl_iter_objlist_(ExtlFn fn, ObjIterator *iter, void *st);
21 extern bool extl_iter_objlist(ExtlFn fn, ObjList *list);
23 extern bool extl_table_is_bool_set(ExtlTab tab, const char *entry);
25 extern bool extl_table_to_rectangle(ExtlTab tab, WRectangle *rect);
26 extern ExtlTab extl_table_from_rectangle(const WRectangle *rect);
28 extern bool extl_table_gets_rectangle(ExtlTab tab, const char *nam,
30 extern void extl_table_sets_rectangle(ExtlTab tab, const char *nam,
31 const WRectangle *rect);
33 #endif /* ION_IONCORE_EXTLCONV_H */