ce9011e4ef204950e41d4f509537588cd5b891b0
[silc.git] / apps / irssi / src / fe-text / statusbar-item.h
1 #ifndef IRSSI_STATUSBAR_ITEM_H
2 #define IRSSI_STATUSBAR_ITEM_H
3
4 struct SBAR_ITEM_REC;
5
6 typedef void (*STATUSBAR_FUNC) (struct SBAR_ITEM_REC *item, int get_size_only);
7
8 void statusbar_item_register(const char *name, const char *value,
9                              STATUSBAR_FUNC func);
10 void statusbar_item_unregister(const char *name);
11 void statusbar_item_set_size(struct SBAR_ITEM_REC *item, int min_size, int max_size);
12 void statusbar_item_default_handler(struct SBAR_ITEM_REC *item, int get_size_only,
13                                     const char *str, const char *data,
14                                     int escape_vars);
15 void statusbar_items_redraw(const char *name);
16
17 #endif