RDK Documentation (Open Sourced RDK Components)
|
The header file provides HostIf IP json request handler information APIs. More...
#include "hostIf_jsonReqHandler.h"
#include "hostIf_msgHandler.h"
#include "hostIf_utils.h"
#include <glib.h>
#include "libsoup-2.4/libsoup/soup.h"
#include <yajl/yajl_parse.h>
#include <yajl/yajl_gen.h>
Go to the source code of this file.
Data Structures | |
struct | parser_state_t |
Enumerations | |
enum | state_t |
Functions | |
static int | process_null (void *ctx) |
static int | process_boolean (void *ctx, int boolVal) |
static int | process_integer (void *ctx, long long integerVal) |
static int | process_double (void *ctx, double doubleVal) |
static int | process_number (void *ctx, const char *numberVal, size_t numberLen) |
static int | process_string (void *ctx, const unsigned char *stringVal, size_t stringLen) |
static int | process_start_map (void *ctx) |
static int | process_map_key (void *ctx, const unsigned char *key, size_t stringLen) |
static int | process_end_map (void *ctx) |
static int | process_start_array (void *ctx) |
static int | process_end_array (void *ctx) |
void * | jsonIfHandlerThread (void *msg) |
GList * | hostIf_HTTPJsonParse (const unsigned char *message, int length) |
void | hostIf_HTTPJsonMsgHandler (SoupServer *server, SoupMessage *msg, const gchar *path, GHashTable *query, SoupClientContext *client, gpointer user_data) |
void | hostIf_HttpServerStart () |
This API is used to initialize and start the HTTP server process. It use to serve the http json client request. | |
void | hostIf_HttpServerStop () |
It handles the request and response IARM member processes. More... | |
Variables | |
T_ARGLIST | argList |
SoupServer * | server = NULL |
static yajl_callbacks | callbacks |
The header file provides HostIf IP json request handler information APIs.
Definition in file hostIf_jsonReqHandlerThread.cpp.