mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 10:13:12 +02:00
core: fix use of reserved C identifiers in headers (closes #31)
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_ALIAS_CONFIG_H
|
||||
#define __WEECHAT_ALIAS_CONFIG_H 1
|
||||
#ifndef WEECHAT_ALIAS_CONFIG_H
|
||||
#define WEECHAT_ALIAS_CONFIG_H 1
|
||||
|
||||
extern struct t_config_file *alias_config_file;
|
||||
extern struct t_config_section *alias_config_section_cmd;
|
||||
@@ -32,4 +32,4 @@ extern int alias_config_init ();
|
||||
extern int alias_config_read ();
|
||||
extern int alias_config_write ();
|
||||
|
||||
#endif /* __WEECHAT_ALIAS_CONFIG_H */
|
||||
#endif /* WEECHAT_ALIAS_CONFIG_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_ALIAS_INFO_H
|
||||
#define __WEECHAT_ALIAS_INFO_H 1
|
||||
#ifndef WEECHAT_ALIAS_INFO_H
|
||||
#define WEECHAT_ALIAS_INFO_H 1
|
||||
|
||||
extern void alias_info_init ();
|
||||
|
||||
#endif /* __WEECHAT_ALIAS_INFO_H */
|
||||
#endif /* WEECHAT_ALIAS_INFO_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_ALIAS_H
|
||||
#define __WEECHAT_ALIAS_H 1
|
||||
#ifndef WEECHAT_ALIAS_H
|
||||
#define WEECHAT_ALIAS_H 1
|
||||
|
||||
#define weechat_plugin weechat_alias_plugin
|
||||
#define ALIAS_PLUGIN_NAME "alias"
|
||||
@@ -52,4 +52,4 @@ extern void alias_free_all ();
|
||||
extern int alias_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_alias *alias);
|
||||
|
||||
#endif /* __WEECHAT_ALIAS_H */
|
||||
#endif /* WEECHAT_ALIAS_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_ASPELL_BAR_ITEM_H
|
||||
#define __WEECHAT_ASPELL_BAR_ITEM_H 1
|
||||
#ifndef WEECHAT_ASPELL_BAR_ITEM_H
|
||||
#define WEECHAT_ASPELL_BAR_ITEM_H 1
|
||||
|
||||
extern void weechat_aspell_bar_item_init ();
|
||||
|
||||
#endif /* __WEECHAT_ASPELL_BAR_ITEM_H */
|
||||
#endif /* WEECHAT_ASPELL_BAR_ITEM_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_ASPELL_COMMAND_H
|
||||
#define __WEECHAT_ASPELL_COMMAND_H 1
|
||||
#ifndef WEECHAT_ASPELL_COMMAND_H
|
||||
#define WEECHAT_ASPELL_COMMAND_H 1
|
||||
|
||||
extern void weechat_aspell_command_init ();
|
||||
|
||||
#endif /* __WEECHAT_ASPELL_COMMAND_H */
|
||||
#endif /* WEECHAT_ASPELL_COMMAND_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_ASPELL_COMPLETION_H
|
||||
#define __WEECHAT_ASPELL_COMPLETION_H 1
|
||||
#ifndef WEECHAT_ASPELL_COMPLETION_H
|
||||
#define WEECHAT_ASPELL_COMPLETION_H 1
|
||||
|
||||
extern void weechat_aspell_completion_init ();
|
||||
|
||||
#endif /* __WEECHAT_ASPELL_COMPLETION_H */
|
||||
#endif /* WEECHAT_ASPELL_COMPLETION_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_ASPELL_CONFIG_H
|
||||
#define __WEECHAT_ASPELL_CONFIG_H 1
|
||||
#ifndef WEECHAT_ASPELL_CONFIG_H
|
||||
#define WEECHAT_ASPELL_CONFIG_H 1
|
||||
|
||||
#define ASPELL_CONFIG_NAME "aspell"
|
||||
|
||||
@@ -46,4 +46,4 @@ extern int weechat_aspell_config_read ();
|
||||
extern int weechat_aspell_config_write ();
|
||||
extern void weechat_aspell_config_free ();
|
||||
|
||||
#endif /* __WEECHAT_ASPELL_CONFIG_H */
|
||||
#endif /* WEECHAT_ASPELL_CONFIG_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_ASPELL_INFO_H
|
||||
#define __WEECHAT_ASPELL_INFO_H 1
|
||||
#ifndef WEECHAT_ASPELL_INFO_H
|
||||
#define WEECHAT_ASPELL_INFO_H 1
|
||||
|
||||
extern void weechat_aspell_info_init ();
|
||||
|
||||
#endif /* __WEECHAT_ASPELL_INFO_H */
|
||||
#endif /* WEECHAT_ASPELL_INFO_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_ASPELL_SPELLER_H
|
||||
#define __WEECHAT_ASPELL_SPELLER_H 1
|
||||
#ifndef WEECHAT_ASPELL_SPELLER_H
|
||||
#define WEECHAT_ASPELL_SPELLER_H 1
|
||||
|
||||
struct t_aspell_speller_buffer
|
||||
{
|
||||
@@ -48,4 +48,4 @@ extern struct t_aspell_speller_buffer *weechat_aspell_speller_buffer_new (struct
|
||||
extern int weechat_aspell_speller_init ();
|
||||
extern void weechat_aspell_speller_end ();
|
||||
|
||||
#endif /* __WEECHAT_ASPELL_SPELLER_H */
|
||||
#endif /* WEECHAT_ASPELL_SPELLER_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_ASPELL_H
|
||||
#define __WEECHAT_ASPELL_H 1
|
||||
#ifndef WEECHAT_ASPELL_H
|
||||
#define WEECHAT_ASPELL_H 1
|
||||
|
||||
#ifdef USE_ENCHANT
|
||||
#include <enchant.h>
|
||||
@@ -49,4 +49,4 @@ extern char *weechat_aspell_build_option_name (struct t_gui_buffer *buffer);
|
||||
extern const char *weechat_aspell_get_dict_with_buffer_name (const char *name);
|
||||
extern const char *weechat_aspell_get_dict (struct t_gui_buffer *buffer);
|
||||
|
||||
#endif /* __WEECHAT_ASPELL_H */
|
||||
#endif /* WEECHAT_ASPELL_H */
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_EXEC_BUFFER_H
|
||||
#define __WEECHAT_EXEC_BUFFER_H 1
|
||||
#ifndef WEECHAT_EXEC_BUFFER_H
|
||||
#define WEECHAT_EXEC_BUFFER_H 1
|
||||
|
||||
extern void exec_buffer_set_callbacks ();
|
||||
extern struct t_gui_buffer *exec_buffer_new (const char *name,
|
||||
int switch_to_buffer);
|
||||
|
||||
#endif /* __WEECHAT_EXEC_BUFFER_H */
|
||||
#endif /* WEECHAT_EXEC_BUFFER_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_EXEC_COMMAND_H
|
||||
#define __WEECHAT_EXEC_COMMAND_H 1
|
||||
#ifndef WEECHAT_EXEC_COMMAND_H
|
||||
#define WEECHAT_EXEC_COMMAND_H 1
|
||||
|
||||
struct t_exec_cmd_options
|
||||
{
|
||||
@@ -45,4 +45,4 @@ extern int exec_command_run (struct t_gui_buffer *buffer,
|
||||
int start_arg);
|
||||
extern void exec_command_init ();
|
||||
|
||||
#endif /* __WEECHAT_EXEC_COMMAND_H */
|
||||
#endif /* WEECHAT_EXEC_COMMAND_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_EXEC_COMPLETION_H
|
||||
#define __WEECHAT_EXEC_COMPLETION_H 1
|
||||
#ifndef WEECHAT_EXEC_COMPLETION_H
|
||||
#define WEECHAT_EXEC_COMPLETION_H 1
|
||||
|
||||
extern void exec_completion_init ();
|
||||
|
||||
#endif /* __WEECHAT_EXEC_COMPLETION_H */
|
||||
#endif /* WEECHAT_EXEC_COMPLETION_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_EXEC_CONFIG_H
|
||||
#define __WEECHAT_EXEC_CONFIG_H 1
|
||||
#ifndef WEECHAT_EXEC_CONFIG_H
|
||||
#define WEECHAT_EXEC_CONFIG_H 1
|
||||
|
||||
#define EXEC_CONFIG_NAME "exec"
|
||||
#define EXEC_CONFIG_SECTION_EXEC "exec"
|
||||
@@ -39,4 +39,4 @@ extern int exec_config_read ();
|
||||
extern int exec_config_write ();
|
||||
extern void exec_config_free ();
|
||||
|
||||
#endif /* __WEECHAT_EXEC_CONFIG_H */
|
||||
#endif /* WEECHAT_EXEC_CONFIG_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_EXEC_H
|
||||
#define __WEECHAT_EXEC_H 1
|
||||
#ifndef WEECHAT_EXEC_H
|
||||
#define WEECHAT_EXEC_H 1
|
||||
|
||||
#include <time.h>
|
||||
|
||||
@@ -83,4 +83,4 @@ extern int exec_process_cb (void *data, const char *command, int return_code,
|
||||
extern void exec_free (struct t_exec_cmd *exec_cmd);
|
||||
extern void exec_free_all ();
|
||||
|
||||
#endif /* __WEECHAT_EXEC_H */
|
||||
#endif /* WEECHAT_EXEC_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_FIFO_INFO_H
|
||||
#define __WEECHAT_FIFO_INFO_H 1
|
||||
#ifndef WEECHAT_FIFO_INFO_H
|
||||
#define WEECHAT_FIFO_INFO_H 1
|
||||
|
||||
extern void fifo_info_init ();
|
||||
|
||||
#endif /* __WEECHAT_FIFO_INFO_H */
|
||||
#endif /* WEECHAT_FIFO_INFO_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_FIFO_H
|
||||
#define __WEECHAT_FIFO_H 1
|
||||
#ifndef WEECHAT_FIFO_H
|
||||
#define WEECHAT_FIFO_H 1
|
||||
|
||||
#define weechat_plugin weechat_fifo_plugin
|
||||
#define FIFO_PLUGIN_NAME "fifo"
|
||||
@@ -26,4 +26,4 @@
|
||||
extern struct t_weechat_plugin *weechat_fifo_plugin;
|
||||
extern char *fifo_filename;
|
||||
|
||||
#endif /* __WEECHAT_FIFO_H */
|
||||
#endif /* WEECHAT_FIFO_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_GUILE_API_H
|
||||
#define __WEECHAT_GUILE_API_H 1
|
||||
#ifndef WEECHAT_GUILE_API_H
|
||||
#define WEECHAT_GUILE_API_H 1
|
||||
|
||||
extern int weechat_guile_api_buffer_input_data_cb (void *data,
|
||||
struct t_gui_buffer *buffer,
|
||||
@@ -27,4 +27,4 @@ extern int weechat_guile_api_buffer_close_cb (void *data,
|
||||
struct t_gui_buffer *buffer);
|
||||
extern void weechat_guile_api_module_init (void *data);
|
||||
|
||||
#endif /* __WEECHAT_GUILE_API_H */
|
||||
#endif /* WEECHAT_GUILE_API_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_GUILE_H
|
||||
#define __WEECHAT_GUILE_H 1
|
||||
#ifndef WEECHAT_GUILE_H
|
||||
#define WEECHAT_GUILE_H 1
|
||||
|
||||
#define weechat_plugin weechat_guile_plugin
|
||||
#define GUILE_PLUGIN_NAME "guile"
|
||||
@@ -46,4 +46,4 @@ extern void *weechat_guile_exec (struct t_plugin_script *script,
|
||||
extern int weechat_guile_port_fill_input (SCM port);
|
||||
extern void weechat_guile_port_write (SCM port, const void *data, size_t size);
|
||||
|
||||
#endif /* __WEECHAT_GUILE_H */
|
||||
#endif /* WEECHAT_GUILE_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_BAR_ITEM_H
|
||||
#define __WEECHAT_IRC_BAR_ITEM_H 1
|
||||
#ifndef WEECHAT_IRC_BAR_ITEM_H
|
||||
#define WEECHAT_IRC_BAR_ITEM_H 1
|
||||
|
||||
extern void irc_bar_item_init ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_BAR_ITEM_H */
|
||||
#endif /* WEECHAT_IRC_BAR_ITEM_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_BUFFER_H
|
||||
#define __WEECHAT_IRC_BUFFER_H 1
|
||||
#ifndef WEECHAT_IRC_BUFFER_H
|
||||
#define WEECHAT_IRC_BUFFER_H 1
|
||||
|
||||
#define IRC_BUFFER_GET_SERVER(__buffer) \
|
||||
struct t_weechat_plugin *buffer_plugin = NULL; \
|
||||
@@ -60,4 +60,4 @@ extern int irc_buffer_nickcmp_cb (void *data,
|
||||
extern struct t_gui_buffer *irc_buffer_search_server_lowest_number ();
|
||||
extern struct t_gui_buffer *irc_buffer_search_private_lowest_number (struct t_irc_server *server);
|
||||
|
||||
#endif /* __WEECHAT_IRC_BUFFER_H */
|
||||
#endif /* WEECHAT_IRC_BUFFER_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_CHANNEL_H
|
||||
#define __WEECHAT_IRC_CHANNEL_H 1
|
||||
#ifndef WEECHAT_IRC_CHANNEL_H
|
||||
#define WEECHAT_IRC_CHANNEL_H 1
|
||||
|
||||
#define IRC_CHANNEL_DEFAULT_CHANTYPES "#&+!"
|
||||
|
||||
@@ -150,4 +150,4 @@ extern int irc_channel_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_irc_channel *channel);
|
||||
extern void irc_channel_print_log (struct t_irc_channel *channel);
|
||||
|
||||
#endif /* __WEECHAT_IRC_CHANNEL_H */
|
||||
#endif /* WEECHAT_IRC_CHANNEL_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_COLOR_H
|
||||
#define __WEECHAT_IRC_COLOR_H 1
|
||||
#ifndef WEECHAT_IRC_COLOR_H
|
||||
#define WEECHAT_IRC_COLOR_H 1
|
||||
|
||||
#define IRC_NUM_COLORS 16
|
||||
|
||||
@@ -110,4 +110,4 @@ extern char *irc_color_modifier_cb (void *data, const char *modifier,
|
||||
extern char *irc_color_for_tags (const char *color);
|
||||
extern void irc_color_end ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_COLOR_H */
|
||||
#endif /* WEECHAT_IRC_COLOR_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_COMMAND_H
|
||||
#define __WEECHAT_IRC_COMMAND_H 1
|
||||
#ifndef WEECHAT_IRC_COMMAND_H
|
||||
#define WEECHAT_IRC_COMMAND_H 1
|
||||
|
||||
struct t_irc_server;
|
||||
struct t_irc_channel;
|
||||
@@ -61,4 +61,4 @@ extern void irc_command_quit_server (struct t_irc_server *server,
|
||||
const char *arguments);
|
||||
extern void irc_command_init ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_COMMAND_H */
|
||||
#endif /* WEECHAT_IRC_COMMAND_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_COMPLETION_H
|
||||
#define __WEECHAT_IRC_COMPLETION_H 1
|
||||
#ifndef WEECHAT_IRC_COMPLETION_H
|
||||
#define WEECHAT_IRC_COMPLETION_H 1
|
||||
|
||||
extern void irc_completion_init ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_COMPLETION_H */
|
||||
#endif /* WEECHAT_IRC_COMPLETION_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_CONFIG_H
|
||||
#define __WEECHAT_IRC_CONFIG_H 1
|
||||
#ifndef WEECHAT_IRC_CONFIG_H
|
||||
#define WEECHAT_IRC_CONFIG_H 1
|
||||
|
||||
#define IRC_CONFIG_NAME "irc"
|
||||
|
||||
@@ -219,4 +219,4 @@ extern int irc_config_read ();
|
||||
extern int irc_config_write (int write_temp_servers);
|
||||
extern void irc_config_free ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_CONFIG_H */
|
||||
#endif /* WEECHAT_IRC_CONFIG_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_CTCP_H
|
||||
#define __WEECHAT_IRC_CTCP_H 1
|
||||
#ifndef WEECHAT_IRC_CTCP_H
|
||||
#define WEECHAT_IRC_CTCP_H 1
|
||||
|
||||
struct t_irc_server;
|
||||
struct t_irc_channel;
|
||||
@@ -41,4 +41,4 @@ extern void irc_ctcp_recv (struct t_irc_server *server, time_t date,
|
||||
const char *remote_nick, char *arguments,
|
||||
char *message);
|
||||
|
||||
#endif /* __WEECHAT_IRC_CTCP_H */
|
||||
#endif /* WEECHAT_IRC_CTCP_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_DEBUG_H
|
||||
#define __WEECHAT_IRC_DEBUG_H 1
|
||||
#ifndef WEECHAT_IRC_DEBUG_H
|
||||
#define WEECHAT_IRC_DEBUG_H 1
|
||||
|
||||
extern void irc_debug_init ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_DEBUG_H */
|
||||
#endif /* WEECHAT_IRC_DEBUG_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_IGNORE_H
|
||||
#define __WEECHAT_IRC_IGNORE_H 1
|
||||
#ifndef WEECHAT_IRC_IGNORE_H
|
||||
#define WEECHAT_IRC_IGNORE_H 1
|
||||
|
||||
#include <regex.h>
|
||||
|
||||
@@ -57,4 +57,4 @@ extern int irc_ignore_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_irc_ignore *ignore);
|
||||
extern void irc_ignore_print_log ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_IGNORE_H */
|
||||
#endif /* WEECHAT_IRC_IGNORE_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_INFO_H
|
||||
#define __WEECHAT_IRC_INFO_H 1
|
||||
#ifndef WEECHAT_IRC_INFO_H
|
||||
#define WEECHAT_IRC_INFO_H 1
|
||||
|
||||
extern void irc_info_init ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_INFO_H */
|
||||
#endif /* WEECHAT_IRC_INFO_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_INPUT_H
|
||||
#define __WEECHAT_IRC_INPUT_H 1
|
||||
#ifndef WEECHAT_IRC_INPUT_H
|
||||
#define WEECHAT_IRC_INPUT_H 1
|
||||
|
||||
struct t_gui_buffer;
|
||||
|
||||
@@ -29,4 +29,4 @@ extern int irc_input_data_cb (void *data, struct t_gui_buffer *buffer,
|
||||
extern int irc_input_send_cb (void *data, const char *signal,
|
||||
const char *type_data, void *signal_data);
|
||||
|
||||
#endif /* __WEECHAT_IRC_INPUT_H */
|
||||
#endif /* WEECHAT_IRC_INPUT_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_MESSAGE_H
|
||||
#define __WEECHAT_IRC_MESSAGE_H 1
|
||||
#ifndef WEECHAT_IRC_MESSAGE_H
|
||||
#define WEECHAT_IRC_MESSAGE_H 1
|
||||
|
||||
struct t_irc_server;
|
||||
struct t_irc_channel;
|
||||
@@ -37,4 +37,4 @@ extern char *irc_message_replace_vars (struct t_irc_server *server,
|
||||
extern struct t_hashtable *irc_message_split (struct t_irc_server *server,
|
||||
const char *message);
|
||||
|
||||
#endif /* __WEECHAT_IRC_MESSAGE_H */
|
||||
#endif /* WEECHAT_IRC_MESSAGE_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_MODE_H
|
||||
#define __WEECHAT_IRC_MODE_H 1
|
||||
#ifndef WEECHAT_IRC_MODE_H
|
||||
#define WEECHAT_IRC_MODE_H 1
|
||||
|
||||
struct t_irc_server;
|
||||
struct t_irc_channel;
|
||||
@@ -29,4 +29,4 @@ extern int irc_mode_channel_set (struct t_irc_server *server,
|
||||
extern void irc_mode_user_set (struct t_irc_server *server, const char *modes,
|
||||
int reset_modes);
|
||||
|
||||
#endif /* __WEECHAT_IRC_MODE_H */
|
||||
#endif /* WEECHAT_IRC_MODE_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_MSGBUFFER_H
|
||||
#define __WEECHAT_IRC_MSGBUFFER_H 1
|
||||
#ifndef WEECHAT_IRC_MSGBUFFER_H
|
||||
#define WEECHAT_IRC_MSGBUFFER_H 1
|
||||
|
||||
enum t_irc_msgbuffer_target
|
||||
{
|
||||
@@ -44,4 +44,4 @@ extern struct t_gui_buffer *irc_msgbuffer_get_target_buffer (struct t_irc_server
|
||||
const char *alias,
|
||||
struct t_gui_buffer *default_buffer);
|
||||
|
||||
#endif /* __WEECHAT_IRC_MSGBUFFER_H */
|
||||
#endif /* WEECHAT_IRC_MSGBUFFER_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_NICK_H
|
||||
#define __WEECHAT_IRC_NICK_H 1
|
||||
#ifndef WEECHAT_IRC_NICK_H
|
||||
#define WEECHAT_IRC_NICK_H 1
|
||||
|
||||
#define IRC_NICK_VALID_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHI" \
|
||||
"JKLMNOPQRSTUVWXYZ0123456789-[]\\`_^{|}"
|
||||
@@ -108,4 +108,4 @@ extern int irc_nick_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_irc_nick *nick);
|
||||
extern void irc_nick_print_log (struct t_irc_nick *nick);
|
||||
|
||||
#endif /* __WEECHAT_IRC_NICK_H */
|
||||
#endif /* WEECHAT_IRC_NICK_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_NOTIFY_H
|
||||
#define __WEECHAT_IRC_NOTIFY_H 1
|
||||
#ifndef WEECHAT_IRC_NOTIFY_H
|
||||
#define WEECHAT_IRC_NOTIFY_H 1
|
||||
|
||||
struct t_irc_server;
|
||||
|
||||
@@ -72,4 +72,4 @@ extern void irc_notify_hook_timer_whois ();
|
||||
extern void irc_notify_init ();
|
||||
extern void irc_notify_end ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_NOTIFY_H */
|
||||
#endif /* WEECHAT_IRC_NOTIFY_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_PROTOCOL_H
|
||||
#define __WEECHAT_IRC_PROTOCOL_H 1
|
||||
#ifndef WEECHAT_IRC_PROTOCOL_H
|
||||
#define WEECHAT_IRC_PROTOCOL_H 1
|
||||
|
||||
#define IRC_PROTOCOL_CALLBACK(__command) \
|
||||
int \
|
||||
@@ -89,4 +89,4 @@ extern void irc_protocol_recv_command (struct t_irc_server *server,
|
||||
const char *msg_command,
|
||||
const char *msg_channel);
|
||||
|
||||
#endif /* __WEECHAT_IRC_PROTOCOL_H */
|
||||
#endif /* WEECHAT_IRC_PROTOCOL_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_RAW_H
|
||||
#define __WEECHAT_IRC_RAW_H 1
|
||||
#ifndef WEECHAT_IRC_RAW_H
|
||||
#define WEECHAT_IRC_RAW_H 1
|
||||
|
||||
#define IRC_RAW_BUFFER_NAME "irc_raw"
|
||||
|
||||
@@ -58,4 +58,4 @@ extern void irc_raw_message_free_all ();
|
||||
extern int irc_raw_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_irc_raw_message *raw_message);
|
||||
|
||||
#endif /* __WEECHAT_IRC_RAW_H */
|
||||
#endif /* WEECHAT_IRC_RAW_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_REDIRECT_H
|
||||
#define __WEECHAT_IRC_REDIRECT_H 1
|
||||
#ifndef WEECHAT_IRC_REDIRECT_H
|
||||
#define WEECHAT_IRC_REDIRECT_H 1
|
||||
|
||||
#define IRC_REDIRECT_TIMEOUT_DEFAULT 60
|
||||
|
||||
@@ -126,4 +126,4 @@ extern int irc_redirect_command_hsignal_cb (void *data, const char *signal,
|
||||
extern void irc_redirect_init ();
|
||||
extern void irc_redirect_end ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_REDIRECT_H */
|
||||
#endif /* WEECHAT_IRC_REDIRECT_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_SASL_H
|
||||
#define __WEECHAT_IRC_SASL_H 1
|
||||
#ifndef WEECHAT_IRC_SASL_H
|
||||
#define WEECHAT_IRC_SASL_H 1
|
||||
|
||||
/* SASL authentication mechanisms */
|
||||
|
||||
@@ -43,4 +43,4 @@ extern char *irc_sasl_mechanism_dh_aes (const char *data_base64,
|
||||
const char *sasl_username,
|
||||
const char *sasl_password);
|
||||
|
||||
#endif /* __WEECHAT_IRC_SASL_H */
|
||||
#endif /* WEECHAT_IRC_SASL_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_SERVER_H
|
||||
#define __WEECHAT_IRC_SERVER_H 1
|
||||
#ifndef WEECHAT_IRC_SERVER_H
|
||||
#define WEECHAT_IRC_SERVER_H 1
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <regex.h>
|
||||
@@ -326,4 +326,4 @@ extern int irc_server_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_irc_server *server);
|
||||
extern void irc_server_print_log ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_SERVER_H */
|
||||
#endif /* WEECHAT_IRC_SERVER_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_UPGRADE_H
|
||||
#define __WEECHAT_IRC_UPGRADE_H 1
|
||||
#ifndef WEECHAT_IRC_UPGRADE_H
|
||||
#define WEECHAT_IRC_UPGRADE_H 1
|
||||
|
||||
#define IRC_UPGRADE_FILENAME "irc"
|
||||
|
||||
@@ -38,4 +38,4 @@ enum t_irc_upgrade_type
|
||||
extern int irc_upgrade_save ();
|
||||
extern int irc_upgrade_load ();
|
||||
|
||||
#endif /* __WEECHAT_IRC_UPGRADE_H */
|
||||
#endif /* WEECHAT_IRC_UPGRADE_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_IRC_H
|
||||
#define __WEECHAT_IRC_H 1
|
||||
#ifndef WEECHAT_IRC_H
|
||||
#define WEECHAT_IRC_H 1
|
||||
|
||||
#define weechat_plugin weechat_irc_plugin
|
||||
#define IRC_PLUGIN_NAME "irc"
|
||||
@@ -28,4 +28,4 @@ extern struct t_weechat_plugin *weechat_irc_plugin;
|
||||
|
||||
extern int irc_signal_upgrade_received;
|
||||
|
||||
#endif /* __WEECHAT_IRC_H */
|
||||
#endif /* WEECHAT_IRC_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_LOGGER_BUFFER_H
|
||||
#define __WEECHAT_LOGGER_BUFFER_H 1
|
||||
#ifndef WEECHAT_LOGGER_BUFFER_H
|
||||
#define WEECHAT_LOGGER_BUFFER_H 1
|
||||
|
||||
struct t_infolist;
|
||||
|
||||
@@ -48,4 +48,4 @@ extern void logger_buffer_free (struct t_logger_buffer *logger_buffer);
|
||||
extern int logger_buffer_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_logger_buffer *logger_buffer);
|
||||
|
||||
#endif /* __WEECHAT_LOGGER_BUFFER_H */
|
||||
#endif /* WEECHAT_LOGGER_BUFFER_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_LOGGER_CONFIG_H
|
||||
#define __WEECHAT_LOGGER_CONFIG_H 1
|
||||
#ifndef WEECHAT_LOGGER_CONFIG_H
|
||||
#define WEECHAT_LOGGER_CONFIG_H 1
|
||||
|
||||
#define LOGGER_CONFIG_NAME "logger"
|
||||
|
||||
@@ -47,4 +47,4 @@ extern int logger_config_read ();
|
||||
extern int logger_config_write ();
|
||||
extern void logger_config_free ();
|
||||
|
||||
#endif /* __WEECHAT_LOGGER_CONFIG_H */
|
||||
#endif /* WEECHAT_LOGGER_CONFIG_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_LOGGER_INFO_H
|
||||
#define __WEECHAT_LOGGER_INFO_H 1
|
||||
#ifndef WEECHAT_LOGGER_INFO_H
|
||||
#define WEECHAT_LOGGER_INFO_H 1
|
||||
|
||||
extern void logger_info_init ();
|
||||
|
||||
#endif /* __WEECHAT_LOGGER_INFO_H */
|
||||
#endif /* WEECHAT_LOGGER_INFO_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_LOGGER_TAIL_H
|
||||
#define __WEECHAT_LOGGER_TAIL_H 1
|
||||
#ifndef WEECHAT_LOGGER_TAIL_H
|
||||
#define WEECHAT_LOGGER_TAIL_H 1
|
||||
|
||||
struct t_logger_line
|
||||
{
|
||||
@@ -30,4 +30,4 @@ extern struct t_logger_line *logger_tail_file (const char *filename,
|
||||
int n_lines);
|
||||
extern void logger_tail_free (struct t_logger_line *lines);
|
||||
|
||||
#endif /* __WEECHAT_LOGGER_TAIL_H */
|
||||
#endif /* WEECHAT_LOGGER_TAIL_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_LOGGER_H
|
||||
#define __WEECHAT_LOGGER_H 1
|
||||
#ifndef WEECHAT_LOGGER_H
|
||||
#define WEECHAT_LOGGER_H 1
|
||||
|
||||
#define weechat_plugin weechat_logger_plugin
|
||||
#define LOGGER_PLUGIN_NAME "logger"
|
||||
@@ -34,4 +34,4 @@ extern void logger_stop_all (int write_info_line);
|
||||
extern void logger_adjust_log_filenames ();
|
||||
extern int logger_timer_cb (void *data, int remaining_calls);
|
||||
|
||||
#endif /* __WEECHAT_LOGGER_H */
|
||||
#endif /* WEECHAT_LOGGER_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_LUA_API_H
|
||||
#define __WEECHAT_LUA_API_H 1
|
||||
#ifndef WEECHAT_LUA_API_H
|
||||
#define WEECHAT_LUA_API_H 1
|
||||
|
||||
extern struct luaL_Reg weechat_lua_api_funcs[];
|
||||
extern struct t_lua_const weechat_lua_api_consts[];
|
||||
@@ -30,4 +30,4 @@ extern int weechat_lua_api_buffer_input_data_cb (void *data,
|
||||
extern int weechat_lua_api_buffer_close_cb (void *data,
|
||||
struct t_gui_buffer *buffer);
|
||||
|
||||
#endif /* __WEECHAT_LUA_API_H */
|
||||
#endif /* WEECHAT_LUA_API_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_LUA_H
|
||||
#define __WEECHAT_LUA_H 1
|
||||
#ifndef WEECHAT_LUA_H
|
||||
#define WEECHAT_LUA_H 1
|
||||
|
||||
#define weechat_plugin weechat_lua_plugin
|
||||
#define LUA_PLUGIN_NAME "lua"
|
||||
@@ -58,4 +58,4 @@ extern void weechat_lua_register_lib(lua_State *L, const char *libname,
|
||||
const luaL_Reg *lua_api_funcs,
|
||||
struct t_lua_const lua_api_consts[]);
|
||||
|
||||
#endif /* __WEECHAT_LUA_H */
|
||||
#endif /* WEECHAT_LUA_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_PERL_API_H
|
||||
#define __WEECHAT_PERL_API_H 1
|
||||
#ifndef WEECHAT_PERL_API_H
|
||||
#define WEECHAT_PERL_API_H 1
|
||||
|
||||
extern int weechat_perl_api_buffer_input_data_cb (void *data,
|
||||
struct t_gui_buffer *buffer,
|
||||
@@ -27,4 +27,4 @@ extern int weechat_perl_api_buffer_close_cb (void *data,
|
||||
struct t_gui_buffer *buffer);
|
||||
extern void weechat_perl_api_init (pTHX);
|
||||
|
||||
#endif /* __WEECHAT_PERL_API_H */
|
||||
#endif /* WEECHAT_PERL_API_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_PERL_H
|
||||
#define __WEECHAT_PERL_H 1
|
||||
#ifndef WEECHAT_PERL_H
|
||||
#define WEECHAT_PERL_H 1
|
||||
|
||||
#define weechat_plugin weechat_perl_plugin
|
||||
#define PERL_PLUGIN_NAME "perl"
|
||||
@@ -45,4 +45,4 @@ extern void *weechat_perl_exec (struct t_plugin_script *script,
|
||||
int ret_type, const char *function,
|
||||
const char *format, void **argv);
|
||||
|
||||
#endif /* __WEECHAT_PERL_H */
|
||||
#endif /* WEECHAT_PERL_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_PLUGIN_API_H
|
||||
#define __WEECHAT_PLUGIN_API_H 1
|
||||
#ifndef WEECHAT_PLUGIN_API_H
|
||||
#define WEECHAT_PLUGIN_API_H 1
|
||||
|
||||
struct t_plugin_api_hdata
|
||||
{
|
||||
@@ -75,4 +75,4 @@ extern void plugin_api_infolist_free (struct t_infolist *infolist);
|
||||
|
||||
extern void plugin_api_init ();
|
||||
|
||||
#endif /* __WEECHAT_PLUGIN_API_H */
|
||||
#endif /* WEECHAT_PLUGIN_API_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_PLUGIN_CONFIG_H
|
||||
#define __WEECHAT_PLUGIN_CONFIG_H 1
|
||||
#ifndef WEECHAT_PLUGIN_CONFIG_H
|
||||
#define WEECHAT_PLUGIN_CONFIG_H 1
|
||||
|
||||
#define PLUGIN_CONFIG_NAME "plugins"
|
||||
|
||||
@@ -37,4 +37,4 @@ extern int plugin_config_read ();
|
||||
extern int plugin_config_write ();
|
||||
extern void plugin_config_end ();
|
||||
|
||||
#endif /* __WEECHAT_PLUGIN_CONFIG_H */
|
||||
#endif /* WEECHAT_PLUGIN_CONFIG_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_PLUGIN_SCRIPT_API_H
|
||||
#define __WEECHAT_PLUGIN_SCRIPT_API_H 1
|
||||
#ifndef WEECHAT_PLUGIN_SCRIPT_API_H
|
||||
#define WEECHAT_PLUGIN_SCRIPT_API_H 1
|
||||
|
||||
extern void plugin_script_api_charset_set (struct t_plugin_script *script,
|
||||
const char *charset);
|
||||
@@ -360,4 +360,4 @@ extern int plugin_script_api_upgrade_read (struct t_weechat_plugin *weechat_plug
|
||||
const char *function,
|
||||
const char *data);
|
||||
|
||||
#endif /* __WEECHAT_PLUGIN_SCRIPT_API_H */
|
||||
#endif /* WEECHAT_PLUGIN_SCRIPT_API_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_PLUGIN_SCRIPT_CALLBACK_H
|
||||
#define __WEECHAT_PLUGIN_SCRIPT_CALLBACK_H 1
|
||||
#ifndef WEECHAT_PLUGIN_SCRIPT_CALLBACK_H
|
||||
#define WEECHAT_PLUGIN_SCRIPT_CALLBACK_H 1
|
||||
|
||||
struct t_plugin_script_cb
|
||||
{
|
||||
@@ -47,4 +47,4 @@ extern struct t_hdata *plugin_script_callback_hdata_callback_cb (void *data,
|
||||
extern void plugin_script_callback_print_log (struct t_weechat_plugin *weechat_plugin,
|
||||
struct t_plugin_script_cb *script_callback);
|
||||
|
||||
#endif /* __WEECHAT_PLUGIN_SCRIPT_CALLBACK_H */
|
||||
#endif /* WEECHAT_PLUGIN_SCRIPT_CALLBACK_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_PLUGIN_SCRIPT_H
|
||||
#define __WEECHAT_PLUGIN_SCRIPT_H 1
|
||||
#ifndef WEECHAT_PLUGIN_SCRIPT_H
|
||||
#define WEECHAT_PLUGIN_SCRIPT_H 1
|
||||
|
||||
/* constants which defines return types for weechat_<lang>_exec functions */
|
||||
|
||||
@@ -173,4 +173,4 @@ extern void plugin_script_end (struct t_weechat_plugin *weechat_plugin,
|
||||
extern void plugin_script_print_log (struct t_weechat_plugin *weechat_plugin,
|
||||
struct t_plugin_script *scripts);
|
||||
|
||||
#endif /* __WEECHAT_PLUGIN_SCRIPT_H */
|
||||
#endif /* WEECHAT_PLUGIN_SCRIPT_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_PLUGIN_H
|
||||
#define __WEECHAT_PLUGIN_H 1
|
||||
#ifndef WEECHAT_PLUGIN_H
|
||||
#define WEECHAT_PLUGIN_H 1
|
||||
|
||||
#include "weechat-plugin.h"
|
||||
|
||||
@@ -49,4 +49,4 @@ extern int plugin_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_weechat_plugin *plugin);
|
||||
extern void plugin_print_log ();
|
||||
|
||||
#endif /* __WEECHAT_PLUGIN_H */
|
||||
#endif /* WEECHAT_PLUGIN_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_PYTHON_API_H
|
||||
#define __WEECHAT_PYTHON_API_H 1
|
||||
#ifndef WEECHAT_PYTHON_API_H
|
||||
#define WEECHAT_PYTHON_API_H 1
|
||||
|
||||
extern PyMethodDef weechat_python_funcs[];
|
||||
|
||||
@@ -29,4 +29,4 @@ extern int weechat_python_api_buffer_input_data_cb (void *data,
|
||||
extern int weechat_python_api_buffer_close_cb (void *data,
|
||||
struct t_gui_buffer *buffer);
|
||||
|
||||
#endif /* __WEECHAT_PYTHON_API_H */
|
||||
#endif /* WEECHAT_PYTHON_API_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_PYTHON_H
|
||||
#define __WEECHAT_PYTHON_H 1
|
||||
#ifndef WEECHAT_PYTHON_H
|
||||
#define WEECHAT_PYTHON_H 1
|
||||
|
||||
#define weechat_plugin weechat_python_plugin
|
||||
#define PYTHON_PLUGIN_NAME "python"
|
||||
@@ -53,4 +53,4 @@ extern void *weechat_python_exec (struct t_plugin_script *script,
|
||||
int ret_type, const char *function,
|
||||
char *format, void **argv);
|
||||
|
||||
#endif /* __WEECHAT_PYTHON_H */
|
||||
#endif /* WEECHAT_PYTHON_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_IRC_H
|
||||
#define __WEECHAT_RELAY_IRC_H 1
|
||||
#ifndef WEECHAT_RELAY_IRC_H
|
||||
#define WEECHAT_RELAY_IRC_H 1
|
||||
|
||||
struct t_relay_client;
|
||||
|
||||
@@ -73,4 +73,4 @@ extern int relay_irc_add_to_infolist (struct t_infolist_item *item,
|
||||
struct t_relay_client *client);
|
||||
extern void relay_irc_print_log (struct t_relay_client *client);
|
||||
|
||||
#endif /* __WEECHAT_RELAY_IRC_H */
|
||||
#endif /* WEECHAT_RELAY_IRC_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_BUFFER_H
|
||||
#define __WEECHAT_RELAY_BUFFER_H 1
|
||||
#ifndef WEECHAT_RELAY_BUFFER_H
|
||||
#define WEECHAT_RELAY_BUFFER_H 1
|
||||
|
||||
#define RELAY_BUFFER_NAME "relay.list"
|
||||
|
||||
@@ -31,4 +31,4 @@ extern int relay_buffer_input_cb (void *data, struct t_gui_buffer *buffer,
|
||||
extern int relay_buffer_close_cb (void *data, struct t_gui_buffer *buffer);
|
||||
extern void relay_buffer_open ();
|
||||
|
||||
#endif /* __WEECHAT_RELAY_BUFFER_H */
|
||||
#endif /* WEECHAT_RELAY_BUFFER_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_CLIENT_H
|
||||
#define __WEECHAT_RELAY_CLIENT_H 1
|
||||
#ifndef WEECHAT_RELAY_CLIENT_H
|
||||
#define WEECHAT_RELAY_CLIENT_H 1
|
||||
|
||||
#ifdef HAVE_GNUTLS
|
||||
#include <gnutls/gnutls.h>
|
||||
@@ -132,4 +132,4 @@ extern int relay_client_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_relay_client *client);
|
||||
extern void relay_client_print_log ();
|
||||
|
||||
#endif /* __WEECHAT_RELAY_CLIENT_H */
|
||||
#endif /* WEECHAT_RELAY_CLIENT_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_COMMAND_H
|
||||
#define __WEECHAT_RELAY_COMMAND_H 1
|
||||
#ifndef WEECHAT_RELAY_COMMAND_H
|
||||
#define WEECHAT_RELAY_COMMAND_H 1
|
||||
|
||||
extern void relay_command_init ();
|
||||
|
||||
#endif /* __WEECHAT_RELAY_COMMAND_H */
|
||||
#endif /* WEECHAT_RELAY_COMMAND_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_COMPLETION_H
|
||||
#define __WEECHAT_RELAY_COMPLETION_H 1
|
||||
#ifndef WEECHAT_RELAY_COMPLETION_H
|
||||
#define WEECHAT_RELAY_COMPLETION_H 1
|
||||
|
||||
extern void relay_completion_init ();
|
||||
|
||||
#endif /* __WEECHAT_RELAY_COMPLETION_H */
|
||||
#endif /* WEECHAT_RELAY_COMPLETION_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_CONFIG_H
|
||||
#define __WEECHAT_RELAY_CONFIG_H 1
|
||||
#ifndef WEECHAT_RELAY_CONFIG_H
|
||||
#define WEECHAT_RELAY_CONFIG_H 1
|
||||
|
||||
#include <regex.h>
|
||||
|
||||
@@ -66,4 +66,4 @@ extern int relay_config_read ();
|
||||
extern int relay_config_write ();
|
||||
extern void relay_config_free ();
|
||||
|
||||
#endif /* __WEECHAT_RELAY_CONFIG_H */
|
||||
#endif /* WEECHAT_RELAY_CONFIG_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_INFO_H
|
||||
#define __WEECHAT_RELAY_INFO_H 1
|
||||
#ifndef WEECHAT_RELAY_INFO_H
|
||||
#define WEECHAT_RELAY_INFO_H 1
|
||||
|
||||
extern void relay_info_init ();
|
||||
|
||||
#endif /* __WEECHAT_RELAY_INFO_H */
|
||||
#endif /* WEECHAT_RELAY_INFO_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_NETWORK_H
|
||||
#define __WEECHAT_RELAY_NETWORK_H 1
|
||||
#ifndef WEECHAT_RELAY_NETWORK_H
|
||||
#define WEECHAT_RELAY_NETWORK_H 1
|
||||
|
||||
#ifdef HAVE_GNUTLS
|
||||
#include <gnutls/gnutls.h>
|
||||
@@ -37,4 +37,4 @@ extern void relay_network_set_ssl_cert_key (int verbose);
|
||||
extern void relay_network_init ();
|
||||
extern void relay_network_end ();
|
||||
|
||||
#endif /* __WEECHAT_RELAY_NETWORK_H */
|
||||
#endif /* WEECHAT_RELAY_NETWORK_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_RAW_H
|
||||
#define __WEECHAT_RELAY_RAW_H 1
|
||||
#ifndef WEECHAT_RELAY_RAW_H
|
||||
#define WEECHAT_RELAY_RAW_H 1
|
||||
|
||||
#define RELAY_RAW_BUFFER_NAME "relay_raw"
|
||||
#define RELAY_RAW_PREFIX_RECV "-->"
|
||||
@@ -53,4 +53,4 @@ extern void relay_raw_message_free_all ();
|
||||
extern int relay_raw_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_relay_raw_message *raw_message);
|
||||
|
||||
#endif /* __WEECHAT_RELAY_RAW_H */
|
||||
#endif /* WEECHAT_RELAY_RAW_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_SERVER_H
|
||||
#define __WEECHAT_RELAY_SERVER_H 1
|
||||
#ifndef WEECHAT_RELAY_SERVER_H
|
||||
#define WEECHAT_RELAY_SERVER_H 1
|
||||
|
||||
#ifdef HAVE_GNUTLS
|
||||
#define RELAY_SERVER_GNUTLS_DH_BITS 1024
|
||||
@@ -66,4 +66,4 @@ extern int relay_server_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_relay_server *server);
|
||||
extern void relay_server_print_log ();
|
||||
|
||||
#endif /* __WEECHAT_RELAY_SERVER_H */
|
||||
#endif /* WEECHAT_RELAY_SERVER_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_UPGRADE_H
|
||||
#define __WEECHAT_RELAY_UPGRADE_H 1
|
||||
#ifndef WEECHAT_RELAY_UPGRADE_H
|
||||
#define WEECHAT_RELAY_UPGRADE_H 1
|
||||
|
||||
#define RELAY_UPGRADE_FILENAME "relay"
|
||||
|
||||
@@ -34,4 +34,4 @@ enum t_relay_upgrade_type
|
||||
extern int relay_upgrade_save ();
|
||||
extern int relay_upgrade_load ();
|
||||
|
||||
#endif /* __WEECHAT_RELAY_UPGRADE_H */
|
||||
#endif /* WEECHAT_RELAY_UPGRADE_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_WEBSOCKET_H
|
||||
#define __WEECHAT_RELAY_WEBSOCKET_H 1
|
||||
#ifndef WEECHAT_RELAY_WEBSOCKET_H
|
||||
#define WEECHAT_RELAY_WEBSOCKET_H 1
|
||||
|
||||
extern int relay_websocket_is_http_get_weechat (const char *message);
|
||||
extern void relay_websocket_save_header (struct t_relay_client *client,
|
||||
@@ -36,4 +36,4 @@ extern char *relay_websocket_encode_frame (struct t_relay_client *client,
|
||||
unsigned long long length,
|
||||
unsigned long long *length_frame);
|
||||
|
||||
#endif /* __WEECHAT_RELAY_WEBSOCKET_H */
|
||||
#endif /* WEECHAT_RELAY_WEBSOCKET_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_H
|
||||
#define __WEECHAT_RELAY_H 1
|
||||
#ifndef WEECHAT_RELAY_H
|
||||
#define WEECHAT_RELAY_H 1
|
||||
|
||||
#define weechat_plugin weechat_relay_plugin
|
||||
#define RELAY_PLUGIN_NAME "relay"
|
||||
@@ -46,4 +46,4 @@ extern char *relay_protocol_string[];
|
||||
|
||||
extern int relay_protocol_search (const char *name);
|
||||
|
||||
#endif /* __WEECHAT_RELAY_H */
|
||||
#endif /* WEECHAT_RELAY_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_WEECHAT_MSG_H
|
||||
#define __WEECHAT_RELAY_WEECHAT_MSG_H 1
|
||||
#ifndef WEECHAT_RELAY_WEECHAT_MSG_H
|
||||
#define WEECHAT_RELAY_WEECHAT_MSG_H 1
|
||||
|
||||
struct t_relay_weechat_nicklist;
|
||||
|
||||
@@ -81,4 +81,4 @@ extern void relay_weechat_msg_send (struct t_relay_client *client,
|
||||
struct t_relay_weechat_msg *msg);
|
||||
extern void relay_weechat_msg_free (struct t_relay_weechat_msg *msg);
|
||||
|
||||
#endif /* __WEECHAT_RELAY_WEECHAT_MSG_H */
|
||||
#endif /* WEECHAT_RELAY_WEECHAT_MSG_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_WEECHAT_NICKLIST_H
|
||||
#define __WEECHAT_RELAY_WEECHAT_NICKLIST_H 1
|
||||
#ifndef WEECHAT_RELAY_WEECHAT_NICKLIST_H
|
||||
#define WEECHAT_RELAY_WEECHAT_NICKLIST_H 1
|
||||
|
||||
#define RELAY_WEECHAT_NICKLIST_DIFF_UNKNOWN ' '
|
||||
#define RELAY_WEECHAT_NICKLIST_DIFF_PARENT '^'
|
||||
@@ -54,4 +54,4 @@ extern void relay_weechat_nicklist_add_item (struct t_relay_weechat_nicklist *ni
|
||||
struct t_gui_nick *nick);
|
||||
extern void relay_weechat_nicklist_free (struct t_relay_weechat_nicklist *nicklist);
|
||||
|
||||
#endif /* __WEECHAT_RELAY_WEECHAT_NICKLIST_H */
|
||||
#endif /* WEECHAT_RELAY_WEECHAT_NICKLIST_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_WEECHAT_PROTOCOL_H
|
||||
#define __WEECHAT_RELAY_WEECHAT_PROTOCOL_H 1
|
||||
#ifndef WEECHAT_RELAY_WEECHAT_PROTOCOL_H
|
||||
#define WEECHAT_RELAY_WEECHAT_PROTOCOL_H 1
|
||||
|
||||
#define RELAY_WEECHAT_PROTOCOL_SYNC_BUFFER 1
|
||||
#define RELAY_WEECHAT_PROTOCOL_SYNC_NICKLIST 2
|
||||
@@ -101,4 +101,4 @@ extern int relay_weechat_protocol_timer_nicklist_cb (void *data,
|
||||
extern void relay_weechat_protocol_recv (struct t_relay_client *client,
|
||||
const char *data);
|
||||
|
||||
#endif /* __WEECHAT_RELAY_WEECHAT_PROTOCOL_H */
|
||||
#endif /* WEECHAT_RELAY_WEECHAT_PROTOCOL_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RELAY_WEECHAT_H
|
||||
#define __WEECHAT_RELAY_WEECHAT_H 1
|
||||
#ifndef WEECHAT_RELAY_WEECHAT_H
|
||||
#define WEECHAT_RELAY_WEECHAT_H 1
|
||||
|
||||
struct t_relay_client;
|
||||
|
||||
@@ -63,4 +63,4 @@ extern int relay_weechat_add_to_infolist (struct t_infolist_item *item,
|
||||
struct t_relay_client *client);
|
||||
extern void relay_weechat_print_log (struct t_relay_client *client);
|
||||
|
||||
#endif /* __WEECHAT_RELAY_WEECHAT_H */
|
||||
#endif /* WEECHAT_RELAY_WEECHAT_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RUBY_API_H
|
||||
#define __WEECHAT_RUBY_API_H 1
|
||||
#ifndef WEECHAT_RUBY_API_H
|
||||
#define WEECHAT_RUBY_API_H 1
|
||||
|
||||
extern int weechat_ruby_api_buffer_input_data_cb (void *data,
|
||||
struct t_gui_buffer *buffer,
|
||||
@@ -28,4 +28,4 @@ extern int weechat_ruby_api_buffer_close_cb (void *data,
|
||||
struct t_gui_buffer *buffer);
|
||||
extern void weechat_ruby_api_init (VALUE ruby_mWeechat);
|
||||
|
||||
#endif /* __WEECHAT_RUBY_API_H */
|
||||
#endif /* WEECHAT_RUBY_API_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_RUBY_H
|
||||
#define __WEECHAT_RUBY_H 1
|
||||
#ifndef WEECHAT_RUBY_H
|
||||
#define WEECHAT_RUBY_H 1
|
||||
|
||||
#define weechat_plugin weechat_ruby_plugin
|
||||
#define RUBY_PLUGIN_NAME "ruby"
|
||||
@@ -45,4 +45,4 @@ void *weechat_ruby_exec (struct t_plugin_script *script,
|
||||
int ret_type, const char *function,
|
||||
const char *format, void **argv);
|
||||
|
||||
#endif /* __WEECHAT_RUBY_H */
|
||||
#endif /* WEECHAT_RUBY_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_SCRIPT_ACTION_H
|
||||
#define __WEECHAT_SCRIPT_ACTION_H 1
|
||||
#ifndef WEECHAT_SCRIPT_ACTION_H
|
||||
#define WEECHAT_SCRIPT_ACTION_H 1
|
||||
|
||||
extern char *script_actions;
|
||||
|
||||
@@ -26,4 +26,4 @@ extern int script_action_run ();
|
||||
extern void script_action_schedule (const char *action, int need_repository,
|
||||
int quiet);
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_ACTION_H */
|
||||
#endif /* WEECHAT_SCRIPT_ACTION_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_SCRIPT_BUFFER_H
|
||||
#define __WEECHAT_SCRIPT_BUFFER_H 1
|
||||
#ifndef WEECHAT_SCRIPT_BUFFER_H
|
||||
#define WEECHAT_SCRIPT_BUFFER_H 1
|
||||
|
||||
#define SCRIPT_BUFFER_NAME "scripts"
|
||||
|
||||
@@ -46,4 +46,4 @@ extern void script_buffer_set_callbacks ();
|
||||
extern void script_buffer_set_keys ();
|
||||
extern void script_buffer_open ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_BUFFER_H */
|
||||
#endif /* WEECHAT_SCRIPT_BUFFER_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_SCRIPT_COMMAND_H
|
||||
#define __WEECHAT_SCRIPT_COMMAND_H 1
|
||||
#ifndef WEECHAT_SCRIPT_COMMAND_H
|
||||
#define WEECHAT_SCRIPT_COMMAND_H 1
|
||||
|
||||
extern void script_command_init ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_COMMAND_H */
|
||||
#endif /* WEECHAT_SCRIPT_COMMAND_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_SCRIPT_COMPLETION_H
|
||||
#define __WEECHAT_SCRIPT_COMPLETION_H 1
|
||||
#ifndef WEECHAT_SCRIPT_COMPLETION_H
|
||||
#define WEECHAT_SCRIPT_COMPLETION_H 1
|
||||
|
||||
extern void script_completion_init ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_COMPLETION_H */
|
||||
#endif /* WEECHAT_SCRIPT_COMPLETION_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_SCRIPT_CONFIG_H
|
||||
#define __WEECHAT_SCRIPT_CONFIG_H 1
|
||||
#ifndef WEECHAT_SCRIPT_CONFIG_H
|
||||
#define WEECHAT_SCRIPT_CONFIG_H 1
|
||||
|
||||
#define SCRIPT_CONFIG_NAME "script"
|
||||
|
||||
@@ -78,4 +78,4 @@ extern int script_config_read ();
|
||||
extern int script_config_write ();
|
||||
extern void script_config_free ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_CONFIG_H */
|
||||
#endif /* WEECHAT_SCRIPT_CONFIG_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_SCRIPT_INFO_H
|
||||
#define __WEECHAT_SCRIPT_INFO_H 1
|
||||
#ifndef WEECHAT_SCRIPT_INFO_H
|
||||
#define WEECHAT_SCRIPT_INFO_H 1
|
||||
|
||||
extern void script_info_init ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_INFO_H */
|
||||
#endif /* WEECHAT_SCRIPT_INFO_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_SCRIPT_REPO_H
|
||||
#define __WEECHAT_SCRIPT_REPO_H 1
|
||||
#ifndef WEECHAT_SCRIPT_REPO_H
|
||||
#define WEECHAT_SCRIPT_REPO_H 1
|
||||
|
||||
/* status for script */
|
||||
#define SCRIPT_STATUS_INSTALLED 1
|
||||
@@ -85,4 +85,4 @@ extern int script_repo_add_to_infolist (struct t_infolist *infolist,
|
||||
struct t_script_repo *script);
|
||||
extern void script_repo_print_log ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_REPO_H */
|
||||
#endif /* WEECHAT_SCRIPT_REPO_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_SCRIPT_H
|
||||
#define __WEECHAT_SCRIPT_H 1
|
||||
#ifndef WEECHAT_SCRIPT_H
|
||||
#define WEECHAT_SCRIPT_H 1
|
||||
|
||||
#define weechat_plugin weechat_script_plugin
|
||||
#define SCRIPT_PLUGIN_NAME "script"
|
||||
@@ -37,4 +37,4 @@ extern int script_language_search_by_extension (const char *extension);
|
||||
extern void script_actions_add (const char *action);
|
||||
extern void script_get_loaded_plugins_and_scripts ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_H */
|
||||
#endif /* WEECHAT_SCRIPT_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_TCL_API_H
|
||||
#define __WEECHAT_TCL_API_H 1
|
||||
#ifndef WEECHAT_TCL_API_H
|
||||
#define WEECHAT_TCL_API_H 1
|
||||
|
||||
extern int weechat_tcl_api_buffer_input_data_cb (void *data,
|
||||
struct t_gui_buffer *buffer,
|
||||
@@ -28,4 +28,4 @@ extern int weechat_tcl_api_buffer_close_cb (void *data,
|
||||
struct t_gui_buffer *buffer);
|
||||
extern void weechat_tcl_api_init (Tcl_Interp *interp);
|
||||
|
||||
#endif /* __WEECHAT_TCL_API_H */
|
||||
#endif /* WEECHAT_TCL_API_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_TCL_H
|
||||
#define __WEECHAT_TCL_H 1
|
||||
#ifndef WEECHAT_TCL_H
|
||||
#define WEECHAT_TCL_H 1
|
||||
|
||||
#define weechat_plugin weechat_tcl_plugin
|
||||
#define TCL_PLUGIN_NAME "tcl"
|
||||
@@ -46,4 +46,4 @@ extern void *weechat_tcl_exec (struct t_plugin_script *script,
|
||||
int ret_type, const char *function,
|
||||
const char *format, void **argv);
|
||||
|
||||
#endif /* __WEECHAT_TCL_H */
|
||||
#endif /* WEECHAT_TCL_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_TRIGGER_BUFFER_H
|
||||
#define __WEECHAT_TRIGGER_BUFFER_H 1
|
||||
#ifndef WEECHAT_TRIGGER_BUFFER_H
|
||||
#define WEECHAT_TRIGGER_BUFFER_H 1
|
||||
|
||||
#define TRIGGER_BUFFER_NAME "monitor"
|
||||
|
||||
@@ -31,4 +31,4 @@ extern void trigger_buffer_display_trigger (struct t_trigger *trigger,
|
||||
extern void trigger_buffer_set_callbacks ();
|
||||
extern void trigger_buffer_open (int switch_to_buffer);
|
||||
|
||||
#endif /* __WEECHAT_TRIGGER_BUFFER_H */
|
||||
#endif /* WEECHAT_TRIGGER_BUFFER_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_TRIGGER_CALLBACK_H
|
||||
#define __WEECHAT_TRIGGER_CALLBACK_H 1
|
||||
#ifndef WEECHAT_TRIGGER_CALLBACK_H
|
||||
#define WEECHAT_TRIGGER_CALLBACK_H 1
|
||||
|
||||
#define TRIGGER_CALLBACK_CB_INIT(__rc) \
|
||||
struct t_trigger *trigger; \
|
||||
@@ -91,4 +91,4 @@ extern struct t_hashtable *trigger_callback_focus_cb (void *data,
|
||||
extern void trigger_callback_init ();
|
||||
extern void trigger_callback_end ();
|
||||
|
||||
#endif /* __WEECHAT_TRIGGER_CALLBACK_H */
|
||||
#endif /* WEECHAT_TRIGGER_CALLBACK_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_TRIGGER_COMMAND_H
|
||||
#define __WEECHAT_TRIGGER_COMMAND_H 1
|
||||
#ifndef WEECHAT_TRIGGER_COMMAND_H
|
||||
#define WEECHAT_TRIGGER_COMMAND_H 1
|
||||
|
||||
extern void trigger_command_init ();
|
||||
|
||||
#endif /* __WEECHAT_TRIGGER_COMMAND_H */
|
||||
#endif /* WEECHAT_TRIGGER_COMMAND_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_TRIGGER_COMPLETION_H
|
||||
#define __WEECHAT_TRIGGER_COMPLETION_H 1
|
||||
#ifndef WEECHAT_TRIGGER_COMPLETION_H
|
||||
#define WEECHAT_TRIGGER_COMPLETION_H 1
|
||||
|
||||
extern void trigger_completion_init ();
|
||||
|
||||
#endif /* __WEECHAT_TRIGGER_COMPLETION_H */
|
||||
#endif /* WEECHAT_TRIGGER_COMPLETION_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_TRIGGER_CONFIG_H
|
||||
#define __WEECHAT_TRIGGER_CONFIG_H 1
|
||||
#ifndef WEECHAT_TRIGGER_CONFIG_H
|
||||
#define WEECHAT_TRIGGER_CONFIG_H 1
|
||||
|
||||
#define TRIGGER_CONFIG_NAME "trigger"
|
||||
#define TRIGGER_CONFIG_SECTION_TRIGGER "trigger"
|
||||
@@ -48,4 +48,4 @@ extern int trigger_config_read ();
|
||||
extern int trigger_config_write ();
|
||||
extern void trigger_config_free ();
|
||||
|
||||
#endif /* __WEECHAT_TRIGGER_CONFIG_H */
|
||||
#endif /* WEECHAT_TRIGGER_CONFIG_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_TRIGGER_H
|
||||
#define __WEECHAT_TRIGGER_H 1
|
||||
#ifndef WEECHAT_TRIGGER_H
|
||||
#define WEECHAT_TRIGGER_H 1
|
||||
|
||||
#include <regex.h>
|
||||
|
||||
@@ -157,4 +157,4 @@ extern struct t_trigger *trigger_copy (struct t_trigger *trigger,
|
||||
extern void trigger_free (struct t_trigger *trigger);
|
||||
extern void trigger_free_all ();
|
||||
|
||||
#endif /* __WEECHAT_TRIGGER_H */
|
||||
#endif /* WEECHAT_TRIGGER_H */
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_WEECHAT_PLUGIN_H
|
||||
#define __WEECHAT_WEECHAT_PLUGIN_H 1
|
||||
#ifndef WEECHAT_WEECHAT_PLUGIN_H
|
||||
#define WEECHAT_WEECHAT_PLUGIN_H 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -956,7 +956,7 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin);
|
||||
weechat_plugin->iconv_to_internal(__charset, __string)
|
||||
#define weechat_iconv_from_internal(__charset, __string) \
|
||||
weechat_plugin->iconv_from_internal(__charset, __string)
|
||||
#ifndef __WEECHAT_H
|
||||
#ifndef WEECHAT_H
|
||||
#ifndef _
|
||||
#define _(string) weechat_plugin->gettext(string)
|
||||
#endif /* _ */
|
||||
@@ -967,7 +967,7 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin);
|
||||
#define NG_(single,plural,number) \
|
||||
weechat_plugin->ngettext(single, plural, number)
|
||||
#endif /* NG_ */
|
||||
#endif /* __WEECHAT_H */
|
||||
#endif /* WEECHAT_H */
|
||||
#define weechat_gettext(string) weechat_plugin->gettext(string)
|
||||
#define weechat_ngettext(single,plural,number) \
|
||||
weechat_plugin->ngettext(single, plural, number)
|
||||
@@ -1758,4 +1758,4 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __WEECHAT_WEECHAT_PLUGIN_H */
|
||||
#endif /* WEECHAT_WEECHAT_PLUGIN_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_XFER_BUFFER_H
|
||||
#define __WEECHAT_XFER_BUFFER_H 1
|
||||
#ifndef WEECHAT_XFER_BUFFER_H
|
||||
#define WEECHAT_XFER_BUFFER_H 1
|
||||
|
||||
#define XFER_BUFFER_NAME "xfer.list"
|
||||
|
||||
@@ -31,4 +31,4 @@ extern int xfer_buffer_input_cb (void *data, struct t_gui_buffer *buffer,
|
||||
extern int xfer_buffer_close_cb (void *data, struct t_gui_buffer *buffer);
|
||||
extern void xfer_buffer_open ();
|
||||
|
||||
#endif /* __WEECHAT_XFER_BUFFER_H */
|
||||
#endif /* WEECHAT_XFER_BUFFER_H */
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_XFER_CHAT_H
|
||||
#define __WEECHAT_XFER_CHAT_H 1
|
||||
#ifndef WEECHAT_XFER_CHAT_H
|
||||
#define WEECHAT_XFER_CHAT_H 1
|
||||
|
||||
extern void xfer_chat_sendf (struct t_xfer *xfer, const char *format, ...);
|
||||
extern int xfer_chat_recv_cb (void *arg_xfer, int fd);
|
||||
extern void xfer_chat_open_buffer (struct t_xfer *xfer);
|
||||
|
||||
#endif /* __WEECHAT_XFER_CHAT_H */
|
||||
#endif /* WEECHAT_XFER_CHAT_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_XFER_COMMAND_H
|
||||
#define __WEECHAT_XFER_COMMAND_H 1
|
||||
#ifndef WEECHAT_XFER_COMMAND_H
|
||||
#define WEECHAT_XFER_COMMAND_H 1
|
||||
|
||||
extern void xfer_command_init ();
|
||||
|
||||
#endif /* __WEECHAT_XFER_COMMAND_H */
|
||||
#endif /* WEECHAT_XFER_COMMAND_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEECHAT_XFER_COMPLETION_H
|
||||
#define __WEECHAT_XFER_COMPLETION_H 1
|
||||
#ifndef WEECHAT_XFER_COMPLETION_H
|
||||
#define WEECHAT_XFER_COMPLETION_H 1
|
||||
|
||||
extern void xfer_completion_init ();
|
||||
|
||||
#endif /* __WEECHAT_XFER_COMPLETION_H */
|
||||
#endif /* WEECHAT_XFER_COMPLETION_H */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user