mirror of
https://github.com/irssi/irssi.git
synced 2026-08-15 14:42:08 +02:00
implement server-time
This commit is contained in:
parent
33d8cc3254
commit
d535a79730
21 changed files with 323 additions and 39 deletions
|
|
@ -3,6 +3,11 @@
|
|||
|
||||
#include <irssi/src/fe-text/textbuffer.h>
|
||||
|
||||
typedef struct _TEXT_BUFFER_META_REC {
|
||||
gint64 server_time;
|
||||
GHashTable *hash;
|
||||
} TEXT_BUFFER_META_REC;
|
||||
|
||||
typedef struct _TEXT_BUFFER_FORMAT_REC {
|
||||
char *module;
|
||||
char *format;
|
||||
|
|
@ -17,6 +22,7 @@ typedef struct _TEXT_BUFFER_FORMAT_REC {
|
|||
} TEXT_BUFFER_FORMAT_REC;
|
||||
|
||||
void textbuffer_format_rec_free(TEXT_BUFFER_FORMAT_REC *rec);
|
||||
void textbuffer_meta_rec_free(TEXT_BUFFER_META_REC *rec);
|
||||
char *textbuffer_line_get_text(TEXT_BUFFER_REC *buffer, LINE_REC *line);
|
||||
void textbuffer_formats_init(void);
|
||||
void textbuffer_formats_deinit(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue