ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/vendor/ircservices-5.1.24/modules/protocol/token.h
Revision: 3389
Committed: Fri Apr 25 14:12:15 2014 UTC (11 years, 4 months ago) by michael
Content type: text/x-chdr
File size: 816 byte(s)
Log Message:
- Imported ircservices-5.1.24

File Contents

# User Rev Content
1 michael 3389 /* Declarations for token handling.
2     *
3     * IRC Services is copyright (c) 1996-2009 Andrew Church.
4     * E-mail: <achurch@achurch.org>
5     * Parts written by Andrew Kempe and others.
6     * This program is free but copyrighted software; see the file GPL.txt for
7     * details.
8     */
9    
10     #ifndef TOKEN_H
11     #define TOKEN_H
12    
13     /* Information about a token (what message it corresponds to): */
14     typedef struct {
15     const char *token, *message;
16     } TokenInfo;
17    
18     #define init_token RENAME_SYMBOL(init_token)
19     #define exit_token RENAME_SYMBOL(exit_token)
20     extern int init_token(TokenInfo *tokens);
21     extern void exit_token(void);
22    
23     #endif /* TOKEN_H */
24    
25     /*
26     * Local variables:
27     * c-file-style: "stroustrup"
28     * c-file-offsets: ((case-label . *) (statement-case-intro . *))
29     * indent-tabs-mode: nil
30     * End:
31     *
32     * vim: expandtab shiftwidth=4:
33     */