/[LeafOK_CVS]/pvpgn-1.7.4/src/bnetd/topic.h
ViewVC logotype

Contents of /pvpgn-1.7.4/src/bnetd/topic.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Tue Jun 6 03:41:37 2006 UTC (19 years, 9 months ago) by sysadm
Branch: GNU, MAIN
CVS Tags: pvpgn_1-7-4-0_MIL, arelease, HEAD
Changes since 1.1: +0 -0 lines
Content type: text/x-chdr
Error occurred while calculating annotation data.
no message

1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License
4 * as published by the Free Software Foundation; either version 2
5 * of the License, or (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15 */
16
17 #ifndef INCLUDED_TOPIC_TYPES
18 #define INCLUDED_TOPIC_TYPES
19
20 #ifdef TOPIC_INTERNAL_ACCESS
21
22 #ifdef JUST_NEED_TYPES
23 # include <stdio.h>
24 # include "common/list.h"
25 #else
26 # define JUST_NEED_TYPES
27 # include <stdio.h>
28 # include "common/list.h"
29 # undef JUST_NEED_TYPES
30 #endif
31
32 #endif
33
34 typedef struct topic
35 #ifdef TOPIC_INTERNAL_ACCESS
36 {
37 char * channel_name;
38 char * topic;
39 int save;
40 }
41 #endif
42 t_topic;
43
44 #define DO_SAVE_TOPIC 1
45 #define NO_SAVE_TOPIC 0
46
47 #endif
48
49 #ifndef JUST_NEED_TYPES
50 #ifndef INCLUDED_TOPIC_PROTOS
51 #define INCLUDED_TOPIC_PROTOS
52
53 #define JUST_NEED_TYPES
54 #include "common/list.h"
55 #undef JUST_NEED_TYPES
56
57 int topiclist_load(char const * topicfile);
58 int topiclist_unload(void);
59 int channel_set_topic(char const * channel_name, char const * topic_text, int do_save);
60 char * channel_get_topic(char const * channel_name);
61
62 #endif
63 #endif

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1