weechat-xmpp/slack-emoji.h
2018-05-13 04:54:20 +01:00

30 lines
1.2 KiB
C

// 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/.
#ifndef _SLACK_EMOJI_H_
#define _SLACK_EMOJI_H_
int slack_emoji_complete_by_name_cb(const void *pointer, void *data,
const char *completion_item,
struct t_gui_buffer *buffer,
struct t_gui_completion *completion);
int slack_emoji_input_complete_cb(const void *pointer, void *data,
struct t_gui_buffer *buffer,
const char *command);
int slack_emoji_input_replace_cb(const void *pointer, void *data,
struct t_gui_buffer *buffer,
const char *command);
const char *slack_emoji_get_unicode_by_name(const char *name);
const char *slack_emoji_get_unicode_by_text(const char *text);
const char *slack_emoji_get_text_by_name(const char *name);
const char *slack_emoji_get_name_by_text(const char *text);
#endif /*SLACK_EMOJI_H*/