Mercurial > hg
view 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 |
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