| Revision: | 1.1 |
| Committed: | Thu Jul 19 08:24:54 2007 UTC (19 years, 2 months ago) by pippijn |
| Branch: | MAIN |
| CVS Tags: | HEAD |
| 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 |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | pippijn | 1.1 | package svs; |
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | use utf8; | ||
| 6 | |||
| 7 | sub init { | ||
| 8 | my ($self) = @_; | ||
| 9 | |||
| 10 | #-------------------------------------------------- | ||
| 11 | # my $server = new svs::server_t ("myservername", 3, "myuplink", "myid", "my description"); | ||
| 12 | # print $server->name . "\n"; | ||
| 13 | # my $foundserver = svs::server_t->find ("myservername"); | ||
| 14 | # print $foundserver->desc . "\n"; | ||
| 15 | #-------------------------------------------------- | ||
| 16 | |||
| 17 | $self | ||
| 18 | } | ||
| 19 | |||
| 20 | 1 |