/[cvs]/eggdrop1.9/src/core_binds.h
ViewVC logotype

Contents of /eggdrop1.9/src/core_binds.h

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


Revision 1.12 - (show annotations) (download) (as text)
Tue Jun 22 23:20:23 2004 UTC (15 years, 5 months ago) by wingman
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +4 -2 lines
File MIME type: text/x-csrc
* 50 downs, 0 to go 8-). The core and libeggdrop are now init/shutdown
  memleak free. Though there'll be still leaks after a normal run.

* More xml cleanups. It's really irritating, xml_node_add just "copies"
  the node to the parent, xml_node_append_child "moves" the node the parent.
  I think i'll drop the "copy" functions since it's more intuitive that
  if i call xml_node_add/append_child the child is "moved", not copied.

1 /* core_binds.h: header for core_binds.c
2 *
3 * Copyright (C) 2001, 2002, 2003, 2004 Eggheads Development Team
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 *
19 * $Id: core_binds.h,v 1.11 2004/06/19 10:30:41 wingman Exp $
20 */
21
22 #ifndef _EGG_CORE_BINDS_H_
23 #define _EGG_CORE_BINDS_H_
24
25 /* Bind table names for core events */
26 #define BTN_CORE_INIT "init"
27 #define BTN_CORE_SHUTDOWN "shutdown"
28 #define BTN_CORE_TIME "time"
29 #define BTN_CORE_SECONDLY "secondly"
30 #define BTN_CORE_STATUS "status"
31
32 int core_binds_init(void);
33 int core_binds_shutdown(void);
34
35 void check_bind_time(struct tm *tm);
36 void check_bind_init (void);
37 void check_bind_shutdown (void);
38 void check_bind_secondly();
39 void check_bind_status(partymember_t *p, const char *text);
40
41 #endif /* !_EGG_CORE_BINDS_H_ */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23