weechat-xmpp/slack-request.h

30 lines
729 B
C
Raw Normal View History

2018-05-09 04:39:16 +00:00
// This Source Code Form is subject to the terms of the Mozilla Public
// License, version 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
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*/