Now inbound_cap_ls() can enable extensions when a bouncer uses a namespace for the...
[rofl0r-ixchat.git] / src / common / history.h
blob5267f1fc081da641f9f387fd68846bcee87bd9f6
1 #ifndef XCHAT_HISTORY_H
2 #define XCHAT_HISTORY_H
4 #define HISTORY_SIZE 100
6 struct history
8 char *lines[HISTORY_SIZE];
9 int pos;
10 int realpos;
13 void history_add (struct history *his, char *text);
14 void history_free (struct history *his);
15 char *history_up (struct history *his, char *current_text);
16 char *history_down (struct history *his);
18 #endif