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-01 10:23:37 +00:00
|
|
|
#ifndef _SLACK_API_H_
|
|
|
|
#define _SLACK_API_H_
|
|
|
|
|
2018-05-02 07:11:57 +00:00
|
|
|
void slack_api_init();
|
|
|
|
|
2018-05-01 10:23:37 +00:00
|
|
|
void slack_api_connect(struct t_slack_workspace *workspace);
|
|
|
|
|
2018-05-02 07:11:57 +00:00
|
|
|
int slack_api_route_message(struct t_slack_workspace *workspace,
|
|
|
|
const char *type, json_object *message);
|
|
|
|
|
2018-05-01 10:23:37 +00:00
|
|
|
#endif /*SLACK_API_H*/
|