#include "ks_config.h"
#include "ks_common.h"
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Defines | |
| #define | KS_ERRTAG "libkarmaclient: " |
| #define | KS_ERRBUFSIZ 1024 |
Functions | |
| void | ks_error_handler_set (ks_error_handler_t handler) |
| void | ks_error (const char *format,...) |
Definition in file ks_error.c.
|
|
Definition at line 44 of file ks_error.c. Referenced by ks_error(). |
|
|
Definition at line 43 of file ks_error.c. Referenced by ks_error(). |
|
||||||||||||
|
Passes an error on to the error handler, after expansion. See printf for a list of expansion tokens.
Definition at line 72 of file ks_error.c. References KS_ERRBUFSIZ, and KS_ERRTAG. Referenced by ks_response_bparse(), ks_socket_connect(), ks_socket_new(), ks_socket_recv(), and ks_socket_send(). |
|
|
Set the error handler which protocol errors will be delivered to.
Definition at line 58 of file ks_error.c. |
1.4.4