2018-05-02 07:11:57 +00:00
|
|
|
#ifndef _SLACK_REQUEST_H_
|
|
|
|
#define _SLACK_REQUEST_H_
|
|
|
|
|
|
|
|
struct t_slack_request
|
|
|
|
{
|
|
|
|
struct t_slack_workspace *workspace;
|
|
|
|
|
2018-05-02 15:55:41 +00:00
|
|
|
int idx;
|
|
|
|
|
2018-05-07 17:08:34 +00:00
|
|
|
const void *pointer;
|
|
|
|
void *data;
|
|
|
|
|
2018-05-02 07:11:57 +00:00
|
|
|
char *uri;
|
|
|
|
struct lws *client_wsi;
|
|
|
|
struct lws_context *context;
|
|
|
|
struct t_json_chunk *json_chunks;
|
|
|
|
|
2018-05-02 15:55:41 +00:00
|
|
|
struct t_slack_request *prev_request;
|
|
|
|
struct t_slack_request *next_request;
|
2018-05-02 07:11:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct t_slack_request *slack_request_alloc(
|
|
|
|
struct t_slack_workspace *workspace);
|
|
|
|
|
|
|
|
#endif /*SLACK_REQUEST_H*/
|