summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2017-02-28 00:09:19 +0100
committerDaniel Carl <danielcarl@gmx.de>2017-02-28 00:10:33 +0100
commitca8dfe7dee5f4c7474f0723ec65cf9a3978f083e (patch)
tree8cc03496ca6e49e6c7f1f5d6cd1b07d9c10f018a /src/util.h
parentfdb7d1fda3e34590c86579a635da1deafed32307 (diff)
Allow to manage bookmarks and queue.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 94a60ca..ca9ba68 100644
--- a/src/util.h
+++ b/src/util.h
@@ -33,12 +33,15 @@ typedef void *(*Util_Content_Func)(const char*, const char*);
void util_cleanup(void);
char *util_expand(Client *c, const char *src, int expflags);
gboolean util_file_append(const char *file, const char *format, ...);
+gboolean util_file_prepend(const char *file, const char *format, ...);
+char *util_file_pop_line(const char *file, int *item_count);
char *util_get_config_dir(void);
char *util_get_file_contents(const char *filename, gsize *length);
char *util_get_filepath(const char *dir, const char *filename, gboolean create);
char **util_get_lines(const char *filename);
GList *util_file_to_unique_list(const char *filename, Util_Content_Func func,
guint max_items);
+gboolean util_fill_completion(GtkListStore *store, const char *input, GList *src);
gboolean util_filename_fill_completion(Client *c, GtkListStore *store, const char *input);
gboolean util_parse_expansion(Client *c, const char **input, GString *str,
int flags, const char *quoteable);