1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Whitespace formatting

This commit is contained in:
James Booth 2014-07-16 22:22:15 +01:00
parent a607b29d4a
commit 2786b7cb26

View File

@ -3,25 +3,23 @@
#include "config.h"
//#include "ui/window.h"
#define BUFF_SIZE 1000
typedef struct prof_buff_entry_t {
char show_char;
char *date_fmt;
int flags;
int attrs;
char *from;
char *message;
char show_char;
char *date_fmt;
int flags;
int attrs;
char *from;
char *message;
} ProfBuffEntry;
typedef struct prof_buff_t {
ProfBuffEntry entry[BUFF_SIZE];
int wrap;
int current;
ProfBuffEntry entry[BUFF_SIZE];
int wrap;
int current;
} 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);