aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/type.h')
-rw-r--r--src/type.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/type.h b/src/type.h
new file mode 100644
index 0000000..24fc97f
--- /dev/null
+++ b/src/type.h
@@ -0,0 +1,24 @@
+/*
+ * Uzbl Types
+ */
+
+enum ptr_type {
+ TYPE_INT = 1,
+ TYPE_STR,
+ TYPE_FLOAT,
+ TYPE_NAME,
+ TYPE_FORMATTEDSTR // used by send_event
+};
+
+typedef struct {
+ enum ptr_type type;
+ union {
+ int *i;
+ float *f;
+ gchar **s;
+ } ptr;
+ int dump;
+ int writeable;
+ /*@null@*/ void (*func)(void);
+} uzbl_cmdprop;
+