muhstik

- irc flooding solution
git clone git://git.acid.vegas/muhstik.git
Log | Files | Refs | Archive | README

control.h (1195B)

      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 CONTROL_H
     15 #define CONTROL_H
     16 
     17 #include "clone.h"
     18 
     19 typedef struct
     20 {
     21      char *parm;
     22      void (*function) (char *buffer, int out);
     23 } cmd_t;
     24 
     25 int getchid (char *s);
     26 clone_t *getop (int chid);
     27 clone_t *getone (char *s);
     28 clone_t *getscan ();
     29 void interpret (char *buffer, int out);
     30 
     31 #endif