REQHAND_RESPONSE

Contains the response to the client request.

Syntax:
typedef struct reqhand_response
{
    cobuns32_t version;       Version of structure format
    cobuns32_t response_len;  Length of response buffer
    cobuns32_t flags;         Control flags    
    cobuns32_t response_type; Server response type
    void       *response_buf; Server response buffer
    void       *content_type; NULL terminated string (HTTP)
}REQHAND_RESPONSE;
Version types:
#define REQHAND_RESP_VERSION 0
Control flags:
#define REQHAND_RESP_FLAGS_ALL 0x00000000
Response types:
#define REQHAND_RESP_TYPE_NORMAL 0
#define REQHAND_RESP_TYPE_RTS_ERR 1
#define REQHAND_RESP_TYPE_RH_ERR 2
#define REQHAND_RESP_TYPE_APP_ERR 3
#define REQHAND_RESP_TYPE_PRE_APP_ERR 4
#define REQHAND_RESP_TYPE_FATAL_ERR 5
#define REQHAND_RESP_TYPE_ACKNOWLEDGE 6