muhstik- irc flooding solution |
git clone git://git.acid.vegas/muhstik.git |
Log | Files | Refs | Archive | README |
print.h (1294B)
1 /* Muhstik, Copyright (C) 2001-2002, Louis Bavoil <mulder@gmx.fr> */ 2 /* 2009-2011, Leon Kaiser <literalka@gnaa.eu> */ 3 /* */ 4 /* This program is free software; you can redistribute it and/or */ 5 /* modify it under the terms of the GNU Library General Public License */ 6 /* as published by the Free Software Foundation; either version 2 */ 7 /* of the License, or (at your option) any later version. */ 8 /* */ 9 /* This program is distributed in the hope that it will be useful, */ 10 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ 11 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ 12 /* GNU Library General Public License for more details. */ 13 14 #ifndef PRINT_H 15 #define PRINT_H 16 17 #include "clone.h" 18 19 /* Functions for handling printing */ 20 21 #define LEN_LINE 71 22 #define LEN_TAB 12 23 24 void print (int ret, int color, int dest, const char *fmt, ...); 25 void print_error(char *prefix); 26 void print_prefix (clone_t *clone, int color, int dest); 27 void print_line (int out); 28 void print_motd (int out); 29 void usage (int out); 30 void status (int out); 31 32 #endif