MediaProcessors
procs_api_http.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 Rafael Antoniello
3  *
4  * This file is part of MediaProcessors.
5  *
6  * MediaProcessors is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * MediaProcessors is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with MediaProcessors. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
26 #ifndef MEDIAPROCESSORS_SRC_PROCS_API_HTTP_H_
27 #define MEDIAPROCESSORS_SRC_PROCS_API_HTTP_H_
28 
29 #include <sys/types.h>
30 
31 typedef struct procs_ctx_s procs_ctx_t;
32 
46 int procs_api_http_req_handler(procs_ctx_t *procs_ctx, const char *url,
47  const char *query_string, const char *request_method, char *content,
48  size_t content_len, char **ref_str_response);
49 
50 #endif /* MEDIAPROCESSORS_SRC_PROCS_API_HTTP_H_ */
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)