Implemented /time preference
This commit is contained in:
@@ -37,9 +37,11 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
typedef struct prof_buff_entry_t {
|
||||
char show_char;
|
||||
char *date_fmt;
|
||||
GDateTime *time;
|
||||
int flags;
|
||||
int attrs;
|
||||
char *from;
|
||||
@@ -50,7 +52,7 @@ typedef struct prof_buff_t *ProfBuff;
|
||||
|
||||
ProfBuff buffer_create();
|
||||
void buffer_free(ProfBuff buffer);
|
||||
void buffer_push(ProfBuff buffer, const char show_char, const char * const date_fmt, int flags, int attrs, const char * const from, const char * const message);
|
||||
void buffer_push(ProfBuff buffer, const char show_char, GDateTime *time, int flags, int attrs, const char * const from, const char * const message);
|
||||
int buffer_size(ProfBuff buffer);
|
||||
ProfBuffEntry* buffer_yield_entry(ProfBuff buffer, int entry);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user