From b970eacf2fbbe5d082515f2085f3b3d4e471d467 Mon Sep 17 00:00:00 2001 From: David Keijser Date: Wed, 25 May 2011 07:15:35 +0200 Subject: move core variable stuff into variables file --- src/variables.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/variables.h (limited to 'src/variables.h') diff --git a/src/variables.h b/src/variables.h new file mode 100644 index 0000000..653a718 --- /dev/null +++ b/src/variables.h @@ -0,0 +1,30 @@ +/* + * Uzbl Variables + */ + +#ifndef __VARIABLES__ +#define __VARIABLES__ + +#include +#include "type.h" + +/* Uzbl variables */ + +typedef struct { + enum ptr_type type; + union { + int *i; + float *f; + gchar **s; + } ptr; + int dump; + int writeable; + /*@null@*/ void (*func)(void); +} uzbl_cmdprop; + +gboolean set_var_value(const gchar *name, gchar *val); +void variables_hash(); +void dump_config(); +void dump_config_as_events(); + +#endif -- cgit v1.2.3