#include <string>
#include <limits.h>
#include "msvc.h"
Go to the source code of this file.
Classes | |
class | libglass::StringPointerCompare |
class | libglass::ConstStringPointerCompare |
Namespaces | |
namespace | libglass |
Defines | |
#define | PluginId std::string |
#define | GLASS_ERROR_FD (-1) |
#define | GLASS_SOCKET_ERROR (-1) |
Typedefs | |
typedef std::string | libglass::string |
typedef int | libglass::nodeFD |
typedef unsigned int | libglass::nodeId |
Enumerations | |
enum | libglass::nodeRelation { libglass::None = 0, libglass::Server, libglass::Client, libglass::Peer } |
Functions | |
unsigned int | libglass::charToNum (unsigned char buf[4]) |
void | libglass::numToChar (unsigned int num, unsigned char buf[4]) |
void | libglass::numToChar (unsigned int num, char buf[4]) |
void | libglass::shortToChar (unsigned short num, unsigned char buf[2]) |
unsigned short | libglass::charToShort (unsigned char buf[2]) |
Variables | |
const nodeFD | libglass::nobodyFD = -1 |
const nodeFD | libglass::everybodyFD = -2 |
const nodeId | libglass::nobodyId = 0 |
const nodeId | libglass::everybodyId = 1 |
const nodeId | libglass::serversId = 2 |
const nodeId | libglass::clientsId = 3 |
const nodeId | libglass::peersId = 4 |
const nodeId | libglass::firstId = 5 |
const nodeId | libglass::maxId = UINT_MAX |
#define PluginId std::string |