*
*/
-enum {
- /* statusbar symbols */
- SYM_TITLE, SYM_URI, SYM_NAME,
- SYM_LOADPRGS, SYM_LOADPRGSBAR,
- SYM_KEYCMD, SYM_MODE, SYM_MSG,
- SYM_SELECTED_URI,
-};
-
-const struct {
- /*@null@*/ gchar *symbol_name;
- guint symbol_token;
-} symbols[] = {
- {"KEYCMD", SYM_KEYCMD},
-
- {NULL, 0}
-}, *symp = symbols;
-
/* status bar elements */
typedef struct {
gint load_progress;
str_replace (const char* search, const char* replace, const char* string);
GArray*
-read_file_by_line (gchar *path);
+read_file_by_line (const gchar *path);
gchar*
parseenv (char* string);
setup_signal(int signe, sigfunc *shandler);
gboolean
-set_var_value(gchar *name, gchar *val);
+set_var_value(const gchar *name, gchar *val);
void
print(WebKitWebView *page, GArray *argv, GString *result);
gboolean
mime_policy_cb(WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequest *request, gchar *mime_type, WebKitWebPolicyDecision *policy_decision, gpointer user_data);
-WebKitWebView*
+/*@null@*/ WebKitWebView*
create_web_view_cb (WebKitWebView *web_view, WebKitWebFrame *frame, gpointer user_data);
gboolean
void
parse_cmd_line(const char *ctl_line, GString *result);
-gchar*
+/*@null@*/ gchar*
build_stream_name(int type, const gchar *dir);
gboolean
control_fifo(GIOChannel *gio, GIOCondition condition);
-gchar*
+/*@null@*/ gchar*
init_fifo(gchar *dir);
gboolean
void
create_stdin();
-gchar*
+/*@null@*/ gchar*
init_socket(gchar *dir);
gboolean
void
add_binding (const gchar *key, const gchar *act);
-gchar*
+/*@null@*/ gchar*
get_xdg_var (XDG_Var xdg);
-gchar*
-find_xdg_file (int xdg_type, char* filename);
+/*@null@*/ gchar*
+find_xdg_file (int xdg_type, const char* filename);
void
settings_init ();
dump_config();
void
-retreive_geometry();
+retrieve_geometry();
+
+void
+update_gui(WebKitWebView *page, GArray *argv, GString *result);
gboolean
configure_event_cb(GtkWidget* window, GdkEventConfigure* event);