Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <iostream>
#include <string>
#include <vector>
#include <stdio.h>
#include "const.h"
#include <assert.h>
#include "networking/lowlevel/netui.h"
Go to the source code of this file.
Classes | |
class | Account |
Functions | |
Account * | getAcctNoReload (const string &key) |
Account * | getAcctTemplate (const string &key) |
vector< Account * > | getAllAccounts () |
void | LoadAccounts (const char *filename) |
Account * | getAcctSerial (ObjSerial ser) |
Account * | getAcctAddress (SOCKETALT ser) |
void | addAcct (std::string key, Account *) |
void addAcct | ( | std::string | key, |
Account * | |||
) |
Definition at line 230 of file accountsxml.cpp.
References accountXML::accounttable.
Referenced by AccountServer::removeDeadSockets().
Account* getAcctNoReload | ( | const string & | key) |
Definition at line 261 of file accountsxml.cpp.
References accountXML::accounttable, and strtoupper().
Referenced by AccountServer::recvMsg().
Definition at line 219 of file accountsxml.cpp.
References accountXML::accounttable.
Referenced by AccountServer::writeSave().
Account* getAcctTemplate | ( | const string & | key) |
Definition at line 266 of file accountsxml.cpp.
References accountXML::accounttable, accountXML::file, LoadAccounts(), and strtoupper().
Referenced by AccountServer::recvMsg().
vector< Account* > getAllAccounts | ( | ) |
void LoadAccounts | ( | const char * | filename) |
Definition at line 241 of file accountsxml.cpp.
References VSFileSystem::AccountFile, BeamXML::beginElement(), VSFileSystem::VSFile::Close(), BeamXML::endElement(), f, accountXML::file, VSFileSystem::Ok, VSFileSystem::VSFile::OpenReadOnly(), VSFileSystem::VSFile::ReadFull(), and VSFileSystem::VSFile::Size().
Referenced by getAcctTemplate(), and AccountServer::start().