|
jabberd2
2.2.17
|
#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 | |
| 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 | |
| void _sx_error | ( | sx_t | s, |
| int | err, | ||
| const char * | text | ||
| ) |
send an error
Definition at line 53 of file error.c.
References _stream_errors, _sx_buffer_new(), _sx_debug, _sx_buf_st::data, jqueue_push(), _sx_buf_st::len, _sx_st::state, state_STREAM, uri_STREAM_ERR, uri_STREAMS, _sx_st::want_write, _sx_st::wbufq, and ZONE.
Referenced by _sx_client_element_start(), _sx_process_read(), _sx_server_element_start(), and sx_error().
| void sx_error | ( | sx_t | s, |
| int | err, | ||
| const char * | text | ||
| ) |
Definition at line 88 of file error.c.
References _sx_error(), _sx_event, event_WANT_WRITE, and stream_err_LAST.
Referenced by _c2s_client_sx_callback(), _c2s_time_checks(), _out_result(), _out_verify(), _router_process_handshake(), _router_sx_callback(), _s2s_check_conn_routes(), _s2s_time_checks(), _sx_compress_rio(), _sx_compress_wio(), _sx_ssl_handshake(), _sx_ssl_rio(), _sx_ssl_wio(), c2s_router_sx_callback(), and JABBER_MAIN().
| void _sx_error_extended | ( | sx_t | s, |
| int | err, | ||
| const char * | content | ||
| ) |
Definition at line 99 of file error.c.
References _stream_errors, _sx_buffer_new(), _sx_debug, _sx_buf_st::data, jqueue_push(), _sx_buf_st::len, _sx_st::state, state_STREAM, uri_STREAM_ERR, uri_STREAMS, _sx_st::want_write, _sx_st::wbufq, and ZONE.
Referenced by sx_error_extended().
| void sx_error_extended | ( | sx_t | s, |
| int | err, | ||
| const char * | content | ||
| ) |
Definition at line 134 of file error.c.
References _sx_error_extended(), _sx_event, event_WANT_WRITE, and stream_err_LAST.
Referenced by _c2s_client_sx_callback().
|
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().
1.8.1.1