ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/ermyth/include/symbolmatrix.h
Revision: 1.1
Committed: Thu Jul 19 08:24:51 2007 UTC (19 years, 2 months ago) by pippijn
Content type: text/plain
Branch: MAIN
Log Message:
initial import. the most important changes since Atheme are:
- fixed many memory leaks
- fixed many bugs
- converted to C++ and use more STL containers
- added a (not very enhanced yet) perl module
- greatly improved XML-RPC speed
- added a JSON-RPC module with code from json-cpp
- added a valgrind memcheck module to operserv
- added a more object oriented base64 implementation
- added a specialised unit test framework
- improved stability
- use gettimeofday() if available
- reworked adding/removing commands
- MemoServ IGNORE DEL can now remove indices

File Contents

# User Rev Content
1 pippijn 1.1 /*
2     * symbolmatrix.h: Module to symbol mappings.
3     *
4     * Copyright © 2005-2007 Atheme Project (http://www.atheme.org)
5     */
6    
7     #ifndef __ATHEME_SYMBOLMATRIX_H__
8     #define __ATHEME_SYMBOLMATRIX_H__
9    
10     struct module_symbol_t
11     {
12     module_t *mod;
13     char *sym;
14     void *addr;
15     };
16    
17     struct module_symbol_source_t
18     {
19     char *mod;
20     char *symn;
21     module_symbol_t sym;
22     };
23    
24     void *module_symbol_get (module_t *mod, module_symbol_t *sym);
25     int module_symbol_getn (module_symbol_source_t *source_map, size_t n);
26    
27     #endif