ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcppErrStack.c File Reference
#include <arpa/inet.h>
#include <ngc/core/ngcbSocket.h>
#include <ngc/core/ngcpp.h>

Macros

#define MAX_CLIENT   3
 

Functions

void ngcppSigFailure (const char *erms)
 
void * ngcppErrStack (void *argp)
 
void ngcppErrStackAdd (int id, const char *erms)
 

Variables

int ngcppErrPort = -1
 

Detailed Description

Macro Definition Documentation

◆ MAX_CLIENT

#define MAX_CLIENT   3

Function Documentation

◆ ngcppErrStack()

void * ngcppErrStack ( void * argp)

Error-stack thread.

◆ ngcppErrStackAdd()

void ngcppErrStackAdd ( int id,
const char * erms )

Add an error message to the error stack. An additional errorId can be specified.

◆ ngcppSigFailure()

void ngcppSigFailure ( const char * erms)

Add an error message to the error stack.

Variable Documentation

◆ ngcppErrPort

int ngcppErrPort = -1

Error stack port number