mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 16:23:14 +02:00
relay/api: add parameter "lines_free" in GET /api/buffers
This parameter is the number of lines to return for buffers with free content. Its default value is `0` if "lines" is set to `0`, otherwise all buffer lines are returned.
This commit is contained in:
@@ -40,6 +40,7 @@ extern int relay_api_msg_send_event (struct t_relay_client *client,
|
||||
cJSON *json_body);
|
||||
extern cJSON *relay_api_msg_buffer_to_json (struct t_gui_buffer *buffer,
|
||||
long lines,
|
||||
long lines_free,
|
||||
int nicks,
|
||||
enum t_relay_api_colors colors);
|
||||
extern cJSON *relay_api_msg_key_to_json (struct t_gui_key *key);
|
||||
|
||||
Reference in New Issue
Block a user