annotate mcabber/src/utils.h @ 47:7259a61e1a4b
[/trunk] Changeset 63 by mikael
* Add commands.[ch] files, to deal with command lines.
Move sendmessage() to commands.c
* Update Makefile accordingly.
* Create a scr_WriteMessage() function, layer between UI and the
scr_WriteIncomingMessage() / scr_WriteOutgoingMessage().
(The last one is a new function)
author |
mikael |
date |
Wed, 06 Apr 2005 10:07:59 +0000 |
parents |
e88b15cbf2de |
children |
32f54ad6d729 |
rev |
line source |
24
|
1 #ifndef __UTILS_H__ |
|
2 #define __UTILS_H__ 1 |
|
3 |
|
4 #include <ncurses.h> |
|
5 |
|
6 char **ut_SplitMessage(char *mensaje, int *nsubmsgs, unsigned int maxlong); |
|
7 void ut_InitDebug(int level); |
|
8 void ut_WriteLog(const char *fmt, ...); |
|
9 char *ut_strrstr(const char *s1, const char *s2); |
|
10 char *getattr(char *buffer, char *what); |
|
11 char *gettag(char *buffer, char *what); |
|
12 void ut_CenterMessage(char *text, int width, char *output); |
|
13 |
|
14 |
|
15 |
|
16 #endif |