/[cvs]/botnetop.mod/tclcmds.c
ViewVC logotype

Annotation of /botnetop.mod/tclcmds.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download) (as text)
Mon Aug 14 01:41:03 2000 UTC (19 years, 10 months ago) by guppy
Branch: MAIN
Branch point for: botnetop
File MIME type: text/x-chdr
Initial revision

1 guppy 1.1 /*
2     * Copyright (C) 2000 Teemu Hjelt <temex@iki.fi>
3     *
4     * This program is free software; you can redistribute it and/or
5     * modify it under the terms of the GNU 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 General Public License for more details.
13     *
14     * You should have received a copy of the GNU General Public License
15     * along with this program; if not, write to the Free Software
16     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17     */
18    
19     static int tcl_bop_reqop STDVAR
20     {
21     BADARGS(2, 2, " channel");
22     bnop_reqop(argv[1]);
23     return TCL_OK;
24     }
25    
26     static int tcl_bop_letmein STDVAR
27     {
28     BADARGS(3, 3, " needthis channel");
29     bnop_letmein(argv[1], argv[2]);
30     return TCL_OK;
31     }
32    
33     static tcl_cmds botnetop_tcl_cmds[] =
34     {
35     {"bop_reqop", tcl_bop_reqop},
36     {"bop_letmein", tcl_bop_letmein},
37     {0, 0}
38     };

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23