view mcabber/utils.h @ 12:70ca5b9c648a

[/trunk] Changeset 27 by mikael * Begin implementation of pending event * Implement "chatmode" (FALSE == status mode, no message is displayed) - ESC leaves chat mode - Enter enters chat mode (if there is a message -- non-empty line --, it is sent) * Log window use full terminal width
author mikael
date Mon, 21 Mar 2005 22:24:17 +0000
parents b3b2332715fb
children
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