view mcabber/utils.h @ 3:582ef676a320

[/trunk] Changeset 18 by mikael Work on display: * Don't show incoming message when it doesn't match the current Window * Leave cursor in input window * Do not send ">>> " in outgoing messages! * Make some variables static
author mikael
date Fri, 18 Mar 2005 22:07:31 +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