Added buffer handling. Buffer are initialized, pushed, and freed. No use is made of them so far

Signed-off-by: James Booth <boothj5@gmail.com>
This commit is contained in:
Immae
2014-06-23 00:44:35 +02:00
committed by James Booth
parent 66ad23b35b
commit 6a9e19303e
5 changed files with 142 additions and 1 deletions

View File

@@ -32,6 +32,7 @@
#endif
#include "contact.h"
#include "ui/buffer.h"
#define NO_ME 1
#define NO_EOL 4
@@ -53,6 +54,7 @@ typedef enum {
typedef struct prof_win_t {
char *from;
WINDOW *win;
ProfBuff *buffer;
win_type_t type;
gboolean is_otr;
gboolean is_trusted;