struct t_hdata * gui_hotlist_hdata_hotlist_cb (const void *pointer, void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) pointer; (void) data; hdata = hdata_new (NULL, hdata_name, "prev_hotlist", "next_hotlist", 0, 0, NULL, NULL); if (hdata) { HDATA_VAR(struct t_gui_hotlist, priority, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_hotlist, creation_time.tv_sec, TIME, 0, NULL, NULL); HDATA_VAR(struct t_gui_hotlist, creation_time.tv_usec, LONG, 0, NULL, NULL); HDATA_VAR(struct t_gui_hotlist, buffer, POINTER, 0, NULL, NULL); HDATA_VAR(struct t_gui_hotlist, count, INTEGER, 0, GUI_HOTLIST_NUM_PRIORITIES_STR, NULL); HDATA_VAR(struct t_gui_hotlist, prev_hotlist, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_hotlist, next_hotlist, POINTER, 0, NULL, hdata_name); HDATA_LIST(gui_hotlist, WEECHAT_HDATA_LIST_CHECK_POINTERS); HDATA_LIST(last_gui_hotlist, 0); } return hdata; }
struct t_hdata * gui_layout_hdata_layout_cb (void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) data; hdata = hdata_new (NULL, hdata_name, "prev_layout", "next_layout", 0, 0, NULL, NULL); if (hdata) { HDATA_VAR(struct t_gui_layout, name, STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_layout, layout_buffers, POINTER, 0, NULL, "layout_buffer"); HDATA_VAR(struct t_gui_layout, last_layout_buffer, POINTER, 0, NULL, "layout_buffer"); HDATA_VAR(struct t_gui_layout, layout_windows, POINTER, 0, NULL, "layout_window"); HDATA_VAR(struct t_gui_layout, internal_id, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_layout, internal_id_current_window, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_layout, prev_layout, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_layout, next_layout, POINTER, 0, NULL, hdata_name); HDATA_LIST(gui_layouts); HDATA_LIST(last_gui_layout); HDATA_LIST(gui_layout_current); } return hdata; }
struct t_hdata * gui_filter_hdata_filter_cb (void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) data; hdata = hdata_new (NULL, hdata_name, "prev_filter", "next_filter", 0, 0, NULL, NULL); if (hdata) { HDATA_VAR(struct t_gui_filter, enabled, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_filter, name, STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_filter, buffer_name, STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_filter, num_buffers, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_filter, buffers, POINTER, 0, NULL, NULL); HDATA_VAR(struct t_gui_filter, tags, STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_filter, tags_count, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_filter, tags_array, STRING, 0, "tags_count", NULL); HDATA_VAR(struct t_gui_filter, regex, STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_filter, regex_prefix, POINTER, 0, NULL, NULL); HDATA_VAR(struct t_gui_filter, regex_message, POINTER, 0, NULL, NULL); HDATA_VAR(struct t_gui_filter, prev_filter, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_filter, next_filter, POINTER, 0, NULL, hdata_name); HDATA_LIST(gui_filters); HDATA_LIST(last_gui_filter); } return hdata; }
struct t_hdata * gui_nicklist_hdata_nick_group_cb (void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) data; hdata = hdata_new (NULL, hdata_name, "prev_group", "next_group", 0, 0, NULL, NULL); if (hdata) { HDATA_VAR(struct t_gui_nick_group, name, SHARED_STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_nick_group, color, SHARED_STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_nick_group, visible, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_nick_group, level, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_nick_group, parent, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_nick_group, children, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_nick_group, last_child, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_nick_group, nicks, POINTER, 0, NULL, "nick"); HDATA_VAR(struct t_gui_nick_group, last_nick, POINTER, 0, NULL, "nick"); HDATA_VAR(struct t_gui_nick_group, prev_group, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_nick_group, next_group, POINTER, 0, NULL, hdata_name); } return hdata; }
struct t_hdata * gui_line_hdata_line_data_cb (void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) data; hdata = hdata_new (NULL, hdata_name, NULL, NULL, 0, 0, &gui_line_hdata_line_data_update_cb, NULL); if (hdata) { HDATA_VAR(struct t_gui_line_data, buffer, POINTER, 0, NULL, "buffer"); HDATA_VAR(struct t_gui_line_data, y, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_line_data, date, TIME, 1, NULL, NULL); HDATA_VAR(struct t_gui_line_data, date_printed, TIME, 1, NULL, NULL); HDATA_VAR(struct t_gui_line_data, str_time, STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_line_data, tags_count, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_line_data, tags_array, STRING, 1, "tags_count", NULL); HDATA_VAR(struct t_gui_line_data, displayed, CHAR, 0, NULL, NULL); HDATA_VAR(struct t_gui_line_data, highlight, CHAR, 0, NULL, NULL); HDATA_VAR(struct t_gui_line_data, refresh_needed, CHAR, 0, NULL, NULL); HDATA_VAR(struct t_gui_line_data, prefix, STRING, 1, NULL, NULL); HDATA_VAR(struct t_gui_line_data, prefix_length, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_line_data, message, STRING, 1, NULL, NULL); } return hdata; }
struct t_hdata * gui_nicklist_hdata_nick_cb (const void *pointer, void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) pointer; (void) data; hdata = hdata_new (NULL, hdata_name, "prev_nick", "next_nick", 0, 0, NULL, NULL); if (hdata) { HDATA_VAR(struct t_gui_nick, group, POINTER, 0, NULL, "nick_group"); HDATA_VAR(struct t_gui_nick, name, SHARED_STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_nick, color, SHARED_STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_nick, prefix, SHARED_STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_nick, prefix_color, SHARED_STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_nick, visible, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_nick, prev_nick, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_nick, next_nick, POINTER, 0, NULL, hdata_name); } return hdata; }
struct t_hdata * gui_line_hdata_line_cb (void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) data; hdata = hdata_new (NULL, hdata_name, "prev_line", "next_line", 0, 0, NULL, NULL); if (hdata) { HDATA_VAR(struct t_gui_line, data, POINTER, 0, NULL, "line_data"); HDATA_VAR(struct t_gui_line, prev_line, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_line, next_line, POINTER, 0, NULL, hdata_name); } return hdata; }
struct t_hdata * gui_layout_hdata_layout_buffer_cb (void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) data; hdata = hdata_new (NULL, hdata_name, "prev_layout", "next_layout", 0, 0, NULL, NULL); if (hdata) { HDATA_VAR(struct t_gui_layout_buffer, plugin_name, STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_layout_buffer, buffer_name, STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_layout_buffer, number, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_layout_buffer, prev_layout, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_layout_buffer, next_layout, POINTER, 0, NULL, hdata_name); } return hdata; }
struct t_hdata * proxy_hdata_proxy_cb (void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) data; hdata = hdata_new (NULL, hdata_name, "prev_proxy", "next_proxy", 0, 0, NULL, NULL); if (hdata) { HDATA_VAR(struct t_proxy, name, STRING, 0, NULL, NULL); HDATA_VAR(struct t_proxy, options, POINTER, 0, NULL, NULL); HDATA_VAR(struct t_proxy, prev_proxy, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_proxy, next_proxy, POINTER, 0, NULL, hdata_name); HDATA_LIST(weechat_proxies); HDATA_LIST(last_weechat_proxy); } return hdata; }
struct t_hdata * gui_history_hdata_history_cb (const void *pointer, void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) pointer; (void) data; hdata = hdata_new (NULL, hdata_name, "prev_history", "next_history", 1, 1, &gui_history_hdata_history_update_cb, NULL); if (hdata) { HDATA_VAR(struct t_gui_history, text, STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_history, prev_history, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_history, next_history, POINTER, 0, NULL, hdata_name); HDATA_LIST(gui_history, WEECHAT_HDATA_LIST_CHECK_POINTERS); HDATA_LIST(last_gui_history, 0); } return hdata; }
struct t_hdata * gui_layout_hdata_layout_window_cb (void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) data; hdata = hdata_new (NULL, hdata_name, NULL, NULL, 0, 0, NULL, NULL); if (hdata) { HDATA_VAR(struct t_gui_layout_window, internal_id, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_layout_window, parent_node, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_layout_window, split_pct, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_layout_window, split_horiz, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_layout_window, child1, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_layout_window, child2, POINTER, 0, NULL, hdata_name); HDATA_VAR(struct t_gui_layout_window, plugin_name, STRING, 0, NULL, NULL); HDATA_VAR(struct t_gui_layout_window, buffer_name, STRING, 0, NULL, NULL); } return hdata; }
struct t_hdata * gui_line_hdata_lines_cb (void *data, const char *hdata_name) { struct t_hdata *hdata; /* make C compiler happy */ (void) data; hdata = hdata_new (NULL, hdata_name, NULL, NULL, 0, 0, NULL, NULL); if (hdata) { HDATA_VAR(struct t_gui_lines, first_line, POINTER, 0, NULL, "line"); HDATA_VAR(struct t_gui_lines, last_line, POINTER, 0, NULL, "line"); HDATA_VAR(struct t_gui_lines, last_read_line, POINTER, 0, NULL, "line"); HDATA_VAR(struct t_gui_lines, lines_count, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_lines, first_line_not_read, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_lines, lines_hidden, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_lines, buffer_max_length, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_lines, buffer_max_length_refresh, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_lines, prefix_max_length, INTEGER, 0, NULL, NULL); HDATA_VAR(struct t_gui_lines, prefix_max_length_refresh, INTEGER, 0, NULL, NULL); } return hdata; }