Rewrote open_editor to wait asynchronuosly.
[vimprobable2.git] / utilities.h
blob3b532d2d420221f931fa165e132cf3b98660e4e4
1 /*
2 (c) 2009 by Leon Winter
3 (c) 2009-2012 by Hannes Schueller
4 (c) 2009-2010 by Matto Fransen
5 (c) 2010-2011 by Hans-Peter Deifel
6 (c) 2010-2011 by Thomas Adam
7 see LICENSE file
8 */
10 /* config file */
11 #define RCFILE "%s/vimprobable/vimprobablerc", config_base
13 /* max entries in command history */
14 #define COMMANDHISTSIZE 50
16 enum ConfigFileError read_rcfile(const char *config);
17 void save_command_history(char *line);
18 gboolean process_save_qmark(const char *bm, WebKitWebView *webview);
19 void make_keyslist(void);
20 gboolean parse_colour(char *color);
21 gboolean mappings(const Arg *arg);
22 gboolean process_mapping(char *keystring, int maprecord, char *cmd);
23 gboolean process_map_line(char *line);
24 gboolean changemapping(Key *search_key, int maprecord, char *cmd);
25 gboolean process_line_arg(const Arg *arg);
26 gboolean build_taglist(const Arg *arg, FILE *f);
27 void set_error(const char *error);
28 void give_feedback(const char *feedback);
29 Listelement * complete_list(const char *searchfor, const int mode, Listelement *elementlist);
30 Listelement * add_list(const char *element, Listelement *elementlist);
31 int count_list(Listelement *elementlist);
32 void free_list(Listelement *elementlist);
34 char *find_uri_for_searchengine(const char *handle);
35 void make_searchengines_list(Searchengine *searchengines, int length);
36 void make_uri_handlers_list(URIHandler *uri_handlers, int length);
37 gboolean open_handler(char *uri);
38 gboolean open_handler_pid(char *uri, GPid *child_pid);