Revision: | 1.1 |
Committed: | Thu Jul 19 08:24:50 2007 UTC (16 years, 10 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 |
# | Content |
---|---|
1 | /* |
2 | * Copyright © 2005 Atheme Development Group |
3 | * Rights to this code are as documented in doc/LICENSE. |
4 | * |
5 | * Memory stuff. |
6 | * |
7 | * $Id: atheme_memory.h 8429 2007-06-10 18:51:23Z pippijn $ |
8 | */ |
9 | |
10 | #ifndef __CLAROBASEMEMORY |
11 | #define __CLAROBASEMEMORY |
12 | |
13 | E void *smalloc (size_t size); |
14 | E void *scalloc (size_t elsize, size_t els); |
15 | E void *srealloc (void *oldptr, size_t newsize); |
16 | E char *sstrdup (const char *s); |
17 | E char *sstrndup (const char *s, int len); |
18 | |
19 | #endif |