Mercurial > ~mikael > mcabber > hg
view mcabber/src/buddies.h @ 74:b392112ab995
[/trunk] Changeset 88 by mikael
* Switch to using hbuf, the new history buffer implementation.
* I've had to rewrite some parts of the interface, and I have removed
the frames for the roster and the chat window.
* The wrapping is not perfect, as the prefix is not yet treated separately...
* Seems to be a display problem when receiving UTF-8, too. :-(
author | mikael |
---|---|
date | Sat, 16 Apr 2005 16:37:31 +0000 |
parents | 85bbc6ed3796 |
children |
line wrap: on
line source
#ifndef __BUDDIES_H__ #define __BUDDIES_H__ 1 #include <ncurses.h> #include "jabglue.h" #include "list.h" /* Definici�n de tipos */ typedef struct _buddy_entry_t { char *jid; char *name; char *group; char *resource; int flags; struct list_head list; } buddy_entry_t; void bud_DrawRoster(WINDOW * win); void bud_RosterDown(void); void bud_RosterUp(void); void bud_TerminateBuddies(void); int bud_BuddyCount(void); void bud_SetBuddyStatus(char *jidfrom, enum imstatus status); void bud_SortRoster(void); buddy_entry_t *bud_SelectedInfo(void); buddy_entry_t *bud_AddBuddy(const char *bjid, const char *bname); void bud_DeleteBuddy(buddy_entry_t *buddy); #endif