diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-06-13 12:32:27 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-06-13 12:32:27 +0200 |
commit | c8b2a6a08485abfe6a8fb849b68ec574af8879e5 (patch) | |
tree | e7b5202773f259439d7f1cac1239ea464769768b /src/gui/gui-buffer.h | |
parent | 756252b95cb1b1988891c7a7525378c8feaa5f8e (diff) | |
download | weechat-c8b2a6a08485abfe6a8fb849b68ec574af8879e5.zip |
core: add "hdata" (direct access to WeeChat/plugin data)
Diffstat (limited to 'src/gui/gui-buffer.h')
-rw-r--r-- | src/gui/gui-buffer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/gui-buffer.h b/src/gui/gui-buffer.h index b21cc393a..087273884 100644 --- a/src/gui/gui-buffer.h +++ b/src/gui/gui-buffer.h @@ -137,7 +137,7 @@ struct t_gui_buffer int input_buffer_1st_display; /* first char displayed on screen */ /* undo/redo for input */ - struct t_gui_input_undo input_undo_snap; /* snapshot of input buffer */ + struct t_gui_input_undo *input_undo_snap; /* snapshot of input buffer */ struct t_gui_input_undo *input_undo; /* undo for input */ struct t_gui_input_undo *last_input_undo; /* last undo for input */ struct t_gui_input_undo *ptr_input_undo; /* pointer to current undo */ @@ -284,6 +284,10 @@ extern void gui_buffer_visited_remove_by_buffer (struct t_gui_buffer *buffer); extern struct t_gui_buffer_visited *gui_buffer_visited_add (struct t_gui_buffer *buffer); extern int gui_buffer_visited_get_index_previous (); extern int gui_buffer_visited_get_index_next (); +extern struct t_hdata *gui_buffer_hdata_buffer_cb (void *data, + const char *hdata_name); +extern struct t_hdata *gui_buffer_hdata_input_undo_cb (void *data, + const char *hdata_name); extern int gui_buffer_add_to_infolist (struct t_infolist *infolist, struct t_gui_buffer *buffer); extern void gui_buffer_dump_hexa (struct t_gui_buffer *buffer); |