summaryrefslogtreecommitdiff
path: root/src/gui/gui-line.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-12-26 18:37:21 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-12-26 19:44:37 +0100
commit9fb3d3f14c17f8307f04907d5f57034410dc7010 (patch)
tree239415921e803382adf1abb9a334456c5d96711b /src/gui/gui-line.h
parent57f80a4c1fac3d5b3c194206c900b1066f9a565e (diff)
downloadweechat-9fb3d3f14c17f8307f04907d5f57034410dc7010.zip
core: store microseconds in buffer lines (closes #649)
Diffstat (limited to 'src/gui/gui-line.h')
-rw-r--r--src/gui/gui-line.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/gui-line.h b/src/gui/gui-line.h
index ba4d7fdee..5cf9d45b9 100644
--- a/src/gui/gui-line.h
+++ b/src/gui/gui-line.h
@@ -35,7 +35,9 @@ struct t_gui_line_data
/* free buffer: equals to "y" */
int y; /* line position (for free buffer) */
time_t date; /* date/time of line (may be past) */
+ int date_usec; /* microseconds for date */
time_t date_printed; /* date/time when weechat print it */
+ int date_usec_printed; /* microseconds for date printed */
char *str_time; /* time string (for display) */
int tags_count; /* number of tags for line */
char **tags_array; /* tags for line */
@@ -124,7 +126,9 @@ extern void gui_line_set_highlight (struct t_gui_line *line,
extern struct t_gui_line *gui_line_new (struct t_gui_buffer *buffer,
int y,
time_t date,
+ int date_usec,
time_t date_printed,
+ int date_usec_printed,
const char *tags,
const char *prefix,
const char *message);