#include "ks_common.h"
#include "ks_malloc.h"
Go to the source code of this file.
Functions | |
| ks_base_t * | ks_bparse (const char *data, int len) |
Function declarations for the functions defined in ks_bparse.c. Do not include this file directly in your client. Instead, include the application header file, ks.h, which will include all the libkarmaclient header files for you.
Definition in file ks_bparse.h.
| ks_base_t* ks_bparse | ( | const char * | data, | |
| int | len | |||
| ) |
Parse a response from a karmaserver. The parser is slightly generous, and accepts the following invalid case:
Additionally, the following invalid case will cause a crash:
| data | a string containing the response packet from a karmaserver | |
| len | the length of the response packet (chars) |
Definition at line 201 of file ks_bparse.c.
Referenced by ks_response_bparse().
1.5.1