diff options
Diffstat (limited to 'uzbl-core.h')
-rw-r--r-- | uzbl-core.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/uzbl-core.h b/uzbl-core.h index 32d92e3..77f3a84 100644 --- a/uzbl-core.h +++ b/uzbl-core.h @@ -12,6 +12,7 @@ #define _POSIX_SOURCE +#include <glib/gstdio.h> #include <gtk/gtk.h> #include <gdk/gdkx.h> #include <gdk/gdkkeysyms.h> @@ -217,6 +218,19 @@ typedef struct { gchar* default_value; } XDG_Var; +/* uzbl variables */ +enum ptr_type {TYPE_INT, TYPE_STR, TYPE_FLOAT}; +typedef struct { + enum ptr_type type; + union { + int *i; + float *f; + gchar **s; + } ptr; + int dump; + int writeable; + /*@null@*/ void (*func)(void); +} uzbl_cmdprop; /* Functions */ char * |