jabberd2  2.3.6
Functions | Variables
error.c File Reference
#include "sx.h"

Go to the source code of this file.

Functions

void _sx_error (sx_t s, int err, const char *text)
 send an error More...
 
void sx_error (sx_t s, int err, const char *text)
 
void _sx_error_extended (sx_t s, int err, const char *content)
 
void sx_error_extended (sx_t s, int err, const char *content)
 

Variables

static const char * _stream_errors []
 if you change these, reflect your changes in the defines in sx.h More...
 

Function Documentation

void _sx_error ( sx_t  s,
int  err,
const char *  text 
)
void sx_error ( sx_t  s,
int  err,
const char *  text 
)
void _sx_error_extended ( sx_t  s,
int  err,
const char *  content 
)
void sx_error_extended ( sx_t  s,
int  err,
const char *  content 
)

Definition at line 140 of file error.c.

References _sx_error_extended(), _sx_event, event_WANT_WRITE, and stream_err_LAST.

Referenced by _c2s_client_sx_callback().

Variable Documentation

const char* _stream_errors[]
static

if you change these, reflect your changes in the defines in sx.h

Definition at line 24 of file error.c.

Referenced by _sx_error(), and _sx_error_extended().