MediaProcessors
Typedefs | Functions
procs_api_http.h File Reference

Processors (PROCS) module HTTP API adaptation layer. More...

#include <sys/types.h>
Include dependency graph for procs_api_http.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct procs_ctx_s procs_ctx_t
 

Functions

int procs_api_http_req_handler (procs_ctx_t *procs_ctx, const char *url, const char *query_string, const char *request_method, char *content, size_t content_len, char **ref_str_response)
 

Detailed Description

Processors (PROCS) module HTTP API adaptation layer.

Author
Rafael Antoniello

Definition in file procs_api_http.h.

Function Documentation

int procs_api_http_req_handler ( procs_ctx_t procs_ctx,
const char *  url,
const char *  query_string,
const char *  request_method,
char *  content,
size_t  content_len,
char **  ref_str_response 
)

HTTP-API request handler function.

Parameters
procs_ctx
url
query_string
request_method
content
content_len
ref_str_responseReference to the pointer to a character string returning the representational state associated with this request.
Returns
Status code (STAT_SUCCESS code in case of success, for other code values please refer to .stat_codes.h).

Definition at line 82 of file procs_api_http.c.