Mercurial > ~mikael > mcabber > hg
view mcabber/src/utils.h @ 35:a8ceaa3005fd
[/trunk] Changeset 51 by mikael
Work on libjabber integration. This is a big patch...
* Remove socket.[ch] server.[ch]
We have now fully switched to libjabber.
* Roster is fetched, and buddies are added to the buddylist
* Can send/receive messages using libjabber
* Presence messages are handled. I have added statuses, as there only were
online / offline statuses.
* Use halfdelay to have a non-blocking getch().
And use a timeout in jb_main().
* Use utf8_{encode,decode}
author | mikael |
---|---|
date | Mon, 04 Apr 2005 19:13:58 +0000 |
parents | e88b15cbf2de |
children | 32f54ad6d729 |
line wrap: on
line source
#ifndef __UTILS_H__ #define __UTILS_H__ 1 #include <ncurses.h> char **ut_SplitMessage(char *mensaje, int *nsubmsgs, unsigned int maxlong); void ut_InitDebug(int level); void ut_WriteLog(const char *fmt, ...); char *ut_strrstr(const char *s1, const char *s2); char *getattr(char *buffer, char *what); char *gettag(char *buffer, char *what); void ut_CenterMessage(char *text, int width, char *output); #endif