Mercurial > ~mikael > mcabber > hg
view mcabber/src/jabglue.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 | f22e1d120606 |
children | edb5591e2e64 |
line wrap: on
line source
#ifndef __JABGLUE_H__ #define __JABGLUE_H__ 1 #include "../libjabber/jabber.h" extern jconn jc; extern char imstatus2char[]; // Status chars: '_', 'o', 'i', 'f', 'd', 'c', 'n', 'a' enum imstatus { offline, available, invisible, freeforchat, dontdisturb, occupied, notavail, away, imstatus_size }; enum agtype { unknown, groupchat, transport, search }; jconn jb_connect(const char *jid, unsigned int port, int ssl, const char *pass); void jb_disconnect(void); void jb_keepalive(); void jb_main(); void jb_send_msg(const char *, const char *); #endif /* __JABGLUE_H__ */