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_BUFFER_H_
|
|
|
|
#define _SLACK_BUFFER_H_
|
|
|
|
|
2018-05-04 00:31:06 +00:00
|
|
|
void slack_buffer_get_workspace_and_channel(struct t_gui_buffer *buffer,
|
|
|
|
struct t_slack_workspace **workspace,
|
|
|
|
struct t_slack_channel **channel);
|
|
|
|
|
2018-05-06 00:09:58 +00:00
|
|
|
char *slack_buffer_typing_bar_cb(const void *pointer,
|
|
|
|
void *data,
|
|
|
|
struct t_gui_bar_item *item,
|
|
|
|
struct t_gui_window *window,
|
|
|
|
struct t_gui_buffer *buffer,
|
|
|
|
struct t_hashtable *extra_info);
|
|
|
|
|
2018-05-02 07:11:57 +00:00
|
|
|
int slack_buffer_nickcmp_cb(const void *pointer, void *data,
|
|
|
|
struct t_gui_buffer *buffer,
|
|
|
|
const char *nick1,
|
|
|
|
const char *nick2);
|
|
|
|
|
2018-05-01 10:23:37 +00:00
|
|
|
int slack_buffer_close_cb(const void *pointer, void *data,
|
|
|
|
struct t_gui_buffer *buffer);
|
|
|
|
|
|
|
|
#endif /*SLACK_BUFFER_H*/
|