#include <errno.h>
#include <string>
#include "assa/LogMask.h"
Go to the source code of this file.
Namespaces | |
namespace | ASSA |
Classes | |
class | ASSA::Logger_Impl |
Defines | |
#define | _BSDTYPES_DEFINED |
#define | BAD_HANDLER -1 |
Sort out WIN32/mingw oddities. | |
Typedefs | |
typedef unsigned char | u_char |
typedef unsigned short | u_short |
typedef unsigned int | u_int |
typedef unsigned long | u_long |
typedef int | handler_t |
Functions | |
bool | ASSA::is_valid_handler (handler_t socket_) |
Detect socket() error in a portable way. | |
void | ASSA::disable_handler (handler_t &socket_) |
Set socket descriptor to invalid value in a portable way. | |
int | ASSA::get_errno () |
Fetch error number in a portable way. | |
void | ASSA::set_errno (int new_errno_) |
Set error number in a portable way. |
#define _BSDTYPES_DEFINED |
Definition at line 41 of file Logger_Impl.h.
#define BAD_HANDLER -1 |
Sort out WIN32/mingw oddities.
Definition at line 79 of file Logger_Impl.h.
Referenced by ASSA::disable_handler(), and ASSA::is_valid_handler().
typedef int handler_t |
Definition at line 80 of file Logger_Impl.h.
typedef unsigned char u_char |
Definition at line 36 of file Logger_Impl.h.
typedef unsigned int u_int |
Definition at line 38 of file Logger_Impl.h.
typedef unsigned long u_long |
Definition at line 39 of file Logger_Impl.h.
typedef unsigned short u_short |
Definition at line 37 of file Logger_Impl.h.