Mercurial > ~mikael > mcabber > hg
view mcabber/src/jabglue.h @ 197:c289e3c39c48
[/trunk] Changeset 209 by mikael
* screen.c: display prefixes "*<*" or "*>*" when both info and in/out prefixes
are requested.
* hbuf.c: set HBB_PREFIX_INFO prefix when a line is too long to fit in an
hbuf block
* histolog.c: display a message when reading a big history file (because it
can hang the ui for a while)
author | mikael |
---|---|
date | Sat, 07 May 2005 07:33:10 +0000 |
parents | ba51d1737086 |
children | e01bf6d9b4b8 |
line wrap: on
line source
#ifndef __JABGLUE_H__ #define __JABGLUE_H__ 1 #include <glib.h> #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_main(); void jb_addbuddy(const char *jid, const char *group); inline enum imstatus jb_getstatus(); void jb_setstatus(enum imstatus st, char *msg); void jb_send_msg(const char *, const char *); void jb_keepalive(); inline void jb_reset_keepalive(); void jb_set_keepalive_delay(unsigned int delay); #endif /* __JABGLUE_H__ */