mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 17:42:49 +02:00
30 lines
732 B
C
30 lines
732 B
C
#ifndef IRSSI_FE_TEXT_TEXTBUFFER_FORMATS_H
|
|
#define IRSSI_FE_TEXT_TEXTBUFFER_FORMATS_H
|
|
|
|
#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;
|
|
char *server_tag;
|
|
char *target;
|
|
char *nick;
|
|
char *address;
|
|
char **args;
|
|
int nargs;
|
|
GSList *expando_cache;
|
|
int flags;
|
|
} 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);
|
|
|
|
#endif
|