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

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

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


Revision 1.1 - (show annotations) (download) (as text)
Tue Jun 15 11:24:46 2004 UTC (15 years, 5 months ago) by wingman
Branch: MAIN
File MIME type: text/x-csrc
* Assertion outputs shouldn't be done via putlog
* stdin/stdout can now be used with sockbufs (just create a new sockbuf
  with socket fileno(stdout))
* Added terminal mode (--terminal/-t). Though not the best solution yet
  since telnetparty needs to be loaded but it's much easier now to
  debug/test things now.
* Added two new binds:

	init: executed after everything (core,modules,scripts) is loaded
		and right before main loop.

	shutdown: executed before shutting down the bot (currently never
		called since we'll never leave our main loop and there
		are places like party_die which calls exit() manually).

1 /* core_party.h: header for core_party.c
2 *
3 * Copyright (C) 1999, 2000, 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: main.h,v 1.38 2003/12/17 08:39:48 wcc Exp $
20 */
21
22 #ifndef _EGG_CORE_PARTY_H
23 #define _EGG_CORE_PARTY_H
24
25 void core_party_init (void);
26 int core_party_terminal_mode (void);
27
28 #endif /* !_EGG_MAIN_H */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23