ks_bparse.h File Reference

interface to the libkarmaclient bpacket parser. More...

#include "ks_common.h"
#include "ks_malloc.h"

Go to the source code of this file.

Functions

ks_base_tks_bparse (const char *data, int len)


Detailed Description

interface to the libkarmaclient bpacket parser.

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.


Function Documentation

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:

Parameters:
data a string containing the response packet from a karmaserver
len the length of the response packet (chars)
Returns:
a list of ks_base_t objects recovered from the packet

Definition at line 201 of file ks_bparse.c.

Referenced by ks_response_bparse().


Generated on Wed May 9 01:01:57 2007 for libkarmaclient by  doxygen 1.5.1