From 2b7bccbb42e8826fedd4142cf21d2386c0afb039 Mon Sep 17 00:00:00 2001 From: Roman Mohr Date: Sun, 23 Jun 2013 17:25:50 +0200 Subject: siege compatibility patches --- include/joedog/joedog.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include/joedog/joedog.h') diff --git a/include/joedog/joedog.h b/include/joedog/joedog.h index 5698529..3a80c81 100644 --- a/include/joedog/joedog.h +++ b/include/joedog/joedog.h @@ -26,6 +26,15 @@ #include #include +#define BLACK 0 +#define RED 1 +#define GREEN 2 +#define YELLOW 3 +#define BLUE 4 +#define MAGENTA 5 +#define CYAN 6 +#define WHITE 7 + /** * Error notification */ @@ -42,11 +51,16 @@ void CLOSELOG(void); void SYSLOG(LEVEL L, const char *fmt, ...); void NOTIFY(LEVEL L, const char *fmt, ...); void VERBOSE(BOOLEAN verbose, const char *fmt, ...); +void DISPLAY(int color, const char *fmt, ...); +/** + * Memory management + */ void * xrealloc(void *, size_t); void * xmalloc (size_t); void * xcalloc (size_t, size_t); char * xstrdup(const char *str); +char * xstrcat(const char *arg1, ...); void xfree(void *ptr); /** -- cgit