#include "ks_config.h"
#include "ks_bparse.h"
#include "ks_assoc.h"
#include "ks_array.h"
#include "ks_string.h"
#include "ks_number.h"
#include <stdlib.h>
#include <ctype.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
| ks_base_t * | ks_bparse (const char *data, int len) |
this module provides functions to parse responses from a karmaserver
Definition in file ks_bparse.c.
| 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