mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 14:56:39 +02:00
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_ARRAYLIST_H
|
||||
#define WEECHAT_ARRAYLIST_H 1
|
||||
#define WEECHAT_ARRAYLIST_H
|
||||
|
||||
struct t_arraylist;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_BACKTACE_H
|
||||
#define WEECHAT_BACKTACE_H 1
|
||||
#define WEECHAT_BACKTACE_H
|
||||
|
||||
#define BACKTRACE_MAX 128
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_COMMAND_H
|
||||
#define WEECHAT_COMMAND_H 1
|
||||
#define WEECHAT_COMMAND_H
|
||||
|
||||
#define COMMAND_CALLBACK(__command) \
|
||||
int \
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_COMPLETION_H
|
||||
#define WEECHAT_COMPLETION_H 1
|
||||
#define WEECHAT_COMPLETION_H
|
||||
|
||||
struct t_gui_buffer;
|
||||
struct t_gui_completion;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_CONFIG_FILE_H
|
||||
#define WEECHAT_CONFIG_FILE_H 1
|
||||
#define WEECHAT_CONFIG_FILE_H
|
||||
|
||||
#define CONFIG_BOOLEAN(option) (*((int *)((option)->value)))
|
||||
#define CONFIG_BOOLEAN_DEFAULT(option) (*((int *)((option)->default_value)))
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_CONFIG_H
|
||||
#define WEECHAT_CONFIG_H 1
|
||||
#define WEECHAT_CONFIG_H
|
||||
|
||||
#include <regex.h>
|
||||
#include <wctype.h>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_DEBUG_H
|
||||
#define WEECHAT_DEBUG_H 1
|
||||
#define WEECHAT_DEBUG_H
|
||||
|
||||
struct t_gui_window_tree;
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_EVAL_H
|
||||
#define WEECHAT_EVAL_H 1
|
||||
#define WEECHAT_EVAL_H
|
||||
|
||||
#include <regex.h>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_HASHTABLE_H
|
||||
#define WEECHAT_HASHTABLE_H 1
|
||||
#define WEECHAT_HASHTABLE_H
|
||||
|
||||
struct t_hashtable;
|
||||
struct t_infolist_item;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_HDATA_H
|
||||
#define WEECHAT_HDATA_H 1
|
||||
#define WEECHAT_HDATA_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_HOOK_H
|
||||
#define WEECHAT_HOOK_H 1
|
||||
#define WEECHAT_HOOK_H
|
||||
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_INFOLIST_H
|
||||
#define WEECHAT_INFOLIST_H 1
|
||||
#define WEECHAT_INFOLIST_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_INPUT_H
|
||||
#define WEECHAT_INPUT_H 1
|
||||
#define WEECHAT_INPUT_H
|
||||
|
||||
struct t_gui_buffer;
|
||||
struct t_weechat_plugin;
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_LIST_H
|
||||
#define WEECHAT_LIST_H 1
|
||||
#define WEECHAT_LIST_H
|
||||
|
||||
struct t_weelist_item
|
||||
{
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_LOG_H
|
||||
#define WEECHAT_LOG_H 1
|
||||
#define WEECHAT_LOG_H
|
||||
|
||||
extern char *weechat_log_filename;
|
||||
extern FILE *weechat_log_file;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_NETWORK_H
|
||||
#define WEECHAT_NETWORK_H 1
|
||||
#define WEECHAT_NETWORK_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_PROXY_H
|
||||
#define WEECHAT_PROXY_H 1
|
||||
#define WEECHAT_PROXY_H
|
||||
|
||||
struct t_infolist;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_SECURE_H
|
||||
#define WEECHAT_SECURE_H 1
|
||||
#define WEECHAT_SECURE_H
|
||||
|
||||
#define SECURE_CONFIG_NAME "sec"
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_STRING_H
|
||||
#define WEECHAT_STRING_H 1
|
||||
#define WEECHAT_STRING_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <regex.h>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_UPGRADE_FILE_H
|
||||
#define WEECHAT_UPGRADE_FILE_H 1
|
||||
#define WEECHAT_UPGRADE_FILE_H
|
||||
|
||||
#define UPGRADE_SIGNATURE "===== WeeChat Upgrade file v2.2 - binary, do not edit! ====="
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_UPGRADE_H
|
||||
#define WEECHAT_UPGRADE_H 1
|
||||
#define WEECHAT_UPGRADE_H
|
||||
|
||||
#include "wee-upgrade-file.h"
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_URL_H
|
||||
#define WEECHAT_URL_H 1
|
||||
#define WEECHAT_URL_H
|
||||
|
||||
struct t_hashtable;
|
||||
struct t_infolist;
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_UTF8_H
|
||||
#define WEECHAT_UTF8_H 1
|
||||
#define WEECHAT_UTF8_H
|
||||
|
||||
#ifndef __USE_XOPEN
|
||||
#define __USE_XOPEN
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_UTIL_H
|
||||
#define WEECHAT_UTIL_H 1
|
||||
#define WEECHAT_UTIL_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_VERSION_H
|
||||
#define WEECHAT_VERSION_H 1
|
||||
#define WEECHAT_VERSION_H
|
||||
|
||||
extern const char *version_get_name ();
|
||||
extern const char *version_get_version ();
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_H
|
||||
#define WEECHAT_H 1
|
||||
#define WEECHAT_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_CURSES_H
|
||||
#define WEECHAT_GUI_CURSES_H 1
|
||||
#define WEECHAT_GUI_CURSES_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_BAR_ITEM_H
|
||||
#define WEECHAT_GUI_BAR_ITEM_H 1
|
||||
#define WEECHAT_GUI_BAR_ITEM_H
|
||||
|
||||
enum t_gui_bar_item_weechat
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_BAR_WINDOW_H
|
||||
#define WEECHAT_GUI_BAR_WINDOW_H 1
|
||||
#define WEECHAT_GUI_BAR_WINDOW_H
|
||||
|
||||
#include "gui-bar.h"
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_BAR_H
|
||||
#define WEECHAT_GUI_BAR_H 1
|
||||
#define WEECHAT_GUI_BAR_H
|
||||
|
||||
struct t_infolist;
|
||||
struct t_weechat_plugin;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_BUFFER_H
|
||||
#define WEECHAT_GUI_BUFFER_H 1
|
||||
#define WEECHAT_GUI_BUFFER_H
|
||||
|
||||
#include <limits.h>
|
||||
#include <regex.h>
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_CHAT_H
|
||||
#define WEECHAT_GUI_CHAT_H 1
|
||||
#define WEECHAT_GUI_CHAT_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_COLOR_H
|
||||
#define WEECHAT_GUI_COLOR_H 1
|
||||
#define WEECHAT_GUI_COLOR_H
|
||||
|
||||
#include <regex.h>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_COMPLETION_H
|
||||
#define WEECHAT_GUI_COMPLETION_H 1
|
||||
#define WEECHAT_GUI_COMPLETION_H
|
||||
|
||||
#define GUI_COMPLETION_NULL 0
|
||||
#define GUI_COMPLETION_COMMAND 1
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_CURSOR_H
|
||||
#define WEECHAT_GUI_CURSOR_H 1
|
||||
#define WEECHAT_GUI_CURSOR_H
|
||||
|
||||
/* cursor variables */
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_FILTER_H
|
||||
#define WEECHAT_GUI_FILTER_H 1
|
||||
#define WEECHAT_GUI_FILTER_H
|
||||
|
||||
#include <regex.h>
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_FOCUS_H
|
||||
#define WEECHAT_GUI_FOCUS_H 1
|
||||
#define WEECHAT_GUI_FOCUS_H
|
||||
|
||||
/* focus structures */
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_HISTORY_H
|
||||
#define WEECHAT_GUI_HISTORY_H 1
|
||||
#define WEECHAT_GUI_HISTORY_H
|
||||
|
||||
struct t_gui_buffer;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_HOTLIST_H
|
||||
#define WEECHAT_GUI_HOTLIST_H 1
|
||||
#define WEECHAT_GUI_HOTLIST_H
|
||||
|
||||
enum t_gui_hotlist_priority
|
||||
{
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_INPUT_H
|
||||
#define WEECHAT_GUI_INPUT_H 1
|
||||
#define WEECHAT_GUI_INPUT_H
|
||||
|
||||
struct t_gui_buffer;
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_KEY_H
|
||||
#define WEECHAT_GUI_KEY_H 1
|
||||
#define WEECHAT_GUI_KEY_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_LAYOUT_H
|
||||
#define WEECHAT_GUI_LAYOUT_H 1
|
||||
#define WEECHAT_GUI_LAYOUT_H
|
||||
|
||||
#define GUI_LAYOUT_DEFAULT_NAME "default"
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_LINE_H
|
||||
#define WEECHAT_GUI_LINE_H 1
|
||||
#define WEECHAT_GUI_LINE_H
|
||||
|
||||
#include <time.h>
|
||||
#include <regex.h>
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_MAIN_H
|
||||
#define WEECHAT_GUI_MAIN_H 1
|
||||
#define WEECHAT_GUI_MAIN_H
|
||||
|
||||
/* main functions (GUI dependent) */
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_MOUSE_H
|
||||
#define WEECHAT_GUI_MOUSE_H 1
|
||||
#define WEECHAT_GUI_MOUSE_H
|
||||
|
||||
/* mouse variables */
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_NICK_H
|
||||
#define WEECHAT_GUI_NICK_H 1
|
||||
#define WEECHAT_GUI_NICK_H
|
||||
|
||||
extern const char *gui_nick_find_color (const char *nickname);
|
||||
extern const char *gui_nick_find_color_name (const char *nickname);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_NICKLIST_H
|
||||
#define WEECHAT_GUI_NICKLIST_H 1
|
||||
#define WEECHAT_GUI_NICKLIST_H
|
||||
|
||||
struct t_gui_buffer;
|
||||
struct t_infolist;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_GUI_WINDOW_H
|
||||
#define WEECHAT_GUI_WINDOW_H 1
|
||||
#define WEECHAT_GUI_WINDOW_H
|
||||
|
||||
struct t_infolist;
|
||||
struct t_gui_bar_window;
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_ALIAS_COMMAND_H
|
||||
#define WEECHAT_ALIAS_COMMAND_H 1
|
||||
#ifndef WEECHAT_PLUGIN_ALIAS_COMMAND_H
|
||||
#define WEECHAT_PLUGIN_ALIAS_COMMAND_H
|
||||
|
||||
extern void alias_command_init ();
|
||||
|
||||
#endif /* WEECHAT_ALIAS_COMMAND_H */
|
||||
#endif /* WEECHAT_PLUGIN_ALIAS_COMMAND_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_ALIAS_COMPLETION_H
|
||||
#define WEECHAT_ALIAS_COMPLETION_H 1
|
||||
#ifndef WEECHAT_PLUGIN_ALIAS_COMPLETION_H
|
||||
#define WEECHAT_PLUGIN_ALIAS_COMPLETION_H
|
||||
|
||||
extern void alias_completion_init ();
|
||||
|
||||
#endif /* WEECHAT_ALIAS_COMPLETION_H */
|
||||
#endif /* WEECHAT_PLUGIN_ALIAS_COMPLETION_H */
|
||||
|
||||
@@ -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_PLUGIN_ALIAS_CONFIG_H
|
||||
#define WEECHAT_PLUGIN_ALIAS_CONFIG_H
|
||||
|
||||
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_PLUGIN_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_PLUGIN_ALIAS_INFO_H
|
||||
#define WEECHAT_PLUGIN_ALIAS_INFO_H
|
||||
|
||||
extern void alias_info_init ();
|
||||
|
||||
#endif /* WEECHAT_ALIAS_INFO_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_ALIAS_H
|
||||
#define WEECHAT_PLUGIN_ALIAS_H
|
||||
|
||||
#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_PLUGIN_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_PLUGIN_ASPELL_BAR_ITEM_H
|
||||
#define WEECHAT_PLUGIN_ASPELL_BAR_ITEM_H
|
||||
|
||||
extern void weechat_aspell_bar_item_init ();
|
||||
|
||||
#endif /* WEECHAT_ASPELL_BAR_ITEM_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_ASPELL_COMMAND_H
|
||||
#define WEECHAT_PLUGIN_ASPELL_COMMAND_H
|
||||
|
||||
extern void weechat_aspell_command_init ();
|
||||
|
||||
#endif /* WEECHAT_ASPELL_COMMAND_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_ASPELL_COMPLETION_H
|
||||
#define WEECHAT_PLUGIN_ASPELL_COMPLETION_H
|
||||
|
||||
extern void weechat_aspell_completion_init ();
|
||||
|
||||
#endif /* WEECHAT_ASPELL_COMPLETION_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_ASPELL_CONFIG_H
|
||||
#define WEECHAT_PLUGIN_ASPELL_CONFIG_H
|
||||
|
||||
#define ASPELL_CONFIG_NAME "aspell"
|
||||
|
||||
@@ -51,4 +51,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_PLUGIN_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_PLUGIN_ASPELL_INFO_H
|
||||
#define WEECHAT_PLUGIN_ASPELL_INFO_H
|
||||
|
||||
extern void weechat_aspell_info_init ();
|
||||
|
||||
#endif /* WEECHAT_ASPELL_INFO_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_ASPELL_SPELLER_H
|
||||
#define WEECHAT_PLUGIN_ASPELL_SPELLER_H
|
||||
|
||||
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_PLUGIN_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_PLUGIN_ASPELL_H
|
||||
#define WEECHAT_PLUGIN_ASPELL_H
|
||||
|
||||
#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_PLUGIN_ASPELL_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_BUFLIST_BAR_ITEM_H
|
||||
#define WEECHAT_BUFLIST_BAR_ITEM_H 1
|
||||
#ifndef WEECHAT_PLUGIN_BUFLIST_BAR_ITEM_H
|
||||
#define WEECHAT_PLUGIN_BUFLIST_BAR_ITEM_H
|
||||
|
||||
#define BUFLIST_BAR_ITEM_NAME "buflist"
|
||||
|
||||
@@ -28,4 +28,4 @@ extern void buflist_bar_item_update ();
|
||||
extern int buflist_bar_item_init ();
|
||||
extern void buflist_bar_item_end ();
|
||||
|
||||
#endif /* WEECHAT_BUFLIST_BAR_ITEM_H */
|
||||
#endif /* WEECHAT_PLUGIN_BUFLIST_BAR_ITEM_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_BUFLIST_COMMAND_H
|
||||
#define WEECHAT_BUFLIST_COMMAND_H 1
|
||||
#ifndef WEECHAT_PLUGIN_BUFLIST_COMMAND_H
|
||||
#define WEECHAT_PLUGIN_BUFLIST_COMMAND_H
|
||||
|
||||
extern void buflist_command_init ();
|
||||
|
||||
#endif /* WEECHAT_BUFLIST_COMMAND_H */
|
||||
#endif /* WEECHAT_PLUGIN_BUFLIST_COMMAND_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_BUFLIST_CONFIG_H
|
||||
#define WEECHAT_BUFLIST_CONFIG_H 1
|
||||
#ifndef WEECHAT_PLUGIN_BUFLIST_CONFIG_H
|
||||
#define WEECHAT_PLUGIN_BUFLIST_CONFIG_H
|
||||
|
||||
#define BUFLIST_CONFIG_NAME "buflist"
|
||||
|
||||
@@ -64,4 +64,4 @@ extern int buflist_config_read ();
|
||||
extern int buflist_config_write ();
|
||||
extern void buflist_config_free ();
|
||||
|
||||
#endif /* WEECHAT_BUFLIST_CONFIG_H */
|
||||
#endif /* WEECHAT_PLUGIN_BUFLIST_CONFIG_H */
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_BUFLIST_MOUSE_H
|
||||
#define WEECHAT_BUFLIST_MOUSE_H 1
|
||||
#ifndef WEECHAT_PLUGIN_BUFLIST_MOUSE_H
|
||||
#define WEECHAT_PLUGIN_BUFLIST_MOUSE_H
|
||||
|
||||
#define BUFLIST_MOUSE_HSIGNAL "buflist_mouse"
|
||||
|
||||
extern int buflist_mouse_init ();
|
||||
extern void buflist_mouse_end ();
|
||||
|
||||
#endif /* WEECHAT_BUFLIST_MOUSE_H */
|
||||
#endif /* WEECHAT_PLUGIN_BUFLIST_MOUSE_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_BUFLIST_H
|
||||
#define WEECHAT_BUFLIST_H 1
|
||||
#ifndef WEECHAT_PLUGIN_BUFLIST_H
|
||||
#define WEECHAT_PLUGIN_BUFLIST_H
|
||||
|
||||
#define weechat_plugin weechat_buflist_plugin
|
||||
#define BUFLIST_PLUGIN_NAME "buflist"
|
||||
@@ -38,4 +38,4 @@ extern void buflist_buffer_get_irc_pointers(struct t_gui_buffer *buffer,
|
||||
void **irc_server, void **irc_channel);
|
||||
extern struct t_arraylist *buflist_sort_buffers ();
|
||||
|
||||
#endif /* WEECHAT_BUFLIST_H */
|
||||
#endif /* WEECHAT_PLUGIN_BUFLIST_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_EXEC_BUFFER_H
|
||||
#define WEECHAT_EXEC_BUFFER_H 1
|
||||
#ifndef WEECHAT_PLUGIN_EXEC_BUFFER_H
|
||||
#define WEECHAT_PLUGIN_EXEC_BUFFER_H
|
||||
|
||||
extern void exec_buffer_set_callbacks ();
|
||||
extern struct t_gui_buffer *exec_buffer_new (const char *name,
|
||||
@@ -26,4 +26,4 @@ extern struct t_gui_buffer *exec_buffer_new (const char *name,
|
||||
int clear_buffer,
|
||||
int switch_to_buffer);
|
||||
|
||||
#endif /* WEECHAT_EXEC_BUFFER_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_EXEC_COMMAND_H
|
||||
#define WEECHAT_PLUGIN_EXEC_COMMAND_H
|
||||
|
||||
struct t_exec_cmd_options
|
||||
{
|
||||
@@ -48,4 +48,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_PLUGIN_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_PLUGIN_EXEC_COMPLETION_H
|
||||
#define WEECHAT_PLUGIN_EXEC_COMPLETION_H
|
||||
|
||||
extern void exec_completion_init ();
|
||||
|
||||
#endif /* WEECHAT_EXEC_COMPLETION_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_EXEC_CONFIG_H
|
||||
#define WEECHAT_PLUGIN_EXEC_CONFIG_H
|
||||
|
||||
#define EXEC_CONFIG_NAME "exec"
|
||||
|
||||
@@ -38,4 +38,4 @@ extern int exec_config_read ();
|
||||
extern int exec_config_write ();
|
||||
extern void exec_config_free ();
|
||||
|
||||
#endif /* WEECHAT_EXEC_CONFIG_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_EXEC_H
|
||||
#define WEECHAT_PLUGIN_EXEC_H
|
||||
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
@@ -88,4 +88,4 @@ extern int exec_process_cb (const void *pointer, void *data,
|
||||
extern void exec_free (struct t_exec_cmd *exec_cmd);
|
||||
extern void exec_free_all ();
|
||||
|
||||
#endif /* WEECHAT_EXEC_H */
|
||||
#endif /* WEECHAT_PLUGIN_EXEC_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FIFO_COMMAND_H
|
||||
#define WEECHAT_FIFO_COMMAND_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FIFO_COMMAND_H
|
||||
#define WEECHAT_PLUGIN_FIFO_COMMAND_H
|
||||
|
||||
extern void fifo_command_init ();
|
||||
|
||||
#endif /* WEECHAT_FIFO_COMMAND_H */
|
||||
#endif /* WEECHAT_PLUGIN_FIFO_COMMAND_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FIFO_CONFIG_H
|
||||
#define WEECHAT_FIFO_CONFIG_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FIFO_CONFIG_H
|
||||
#define WEECHAT_PLUGIN_FIFO_CONFIG_H
|
||||
|
||||
#define FIFO_CONFIG_NAME "fifo"
|
||||
|
||||
@@ -31,4 +31,4 @@ extern int fifo_config_read ();
|
||||
extern int fifo_config_write ();
|
||||
extern void fifo_config_free ();
|
||||
|
||||
#endif /* WEECHAT_FIFO_CONFIG_H */
|
||||
#endif /* WEECHAT_PLUGIN_FIFO_CONFIG_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_PLUGIN_FIFO_INFO_H
|
||||
#define WEECHAT_PLUGIN_FIFO_INFO_H
|
||||
|
||||
extern void fifo_info_init ();
|
||||
|
||||
#endif /* WEECHAT_FIFO_INFO_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_FIFO_H
|
||||
#define WEECHAT_PLUGIN_FIFO_H
|
||||
|
||||
#define weechat_plugin weechat_fifo_plugin
|
||||
#define FIFO_PLUGIN_NAME "fifo"
|
||||
@@ -31,4 +31,4 @@ extern char *fifo_filename;
|
||||
extern void fifo_create ();
|
||||
extern void fifo_remove ();
|
||||
|
||||
#endif /* WEECHAT_FIFO_H */
|
||||
#endif /* WEECHAT_PLUGIN_FIFO_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_BAR_ITEM_H
|
||||
#define WEECHAT_FSET_BAR_ITEM_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_BAR_ITEM_H
|
||||
#define WEECHAT_PLUGIN_FSET_BAR_ITEM_H
|
||||
|
||||
#define FSET_BAR_ITEM_NAME "fset"
|
||||
|
||||
@@ -26,4 +26,4 @@ extern void fset_bar_item_update ();
|
||||
extern int fset_bar_item_init ();
|
||||
extern void fset_bar_item_end ();
|
||||
|
||||
#endif /* WEECHAT_FSET_BAR_ITEM_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_BAR_ITEM_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_BUFFER_H
|
||||
#define WEECHAT_FSET_BUFFER_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_BUFFER_H
|
||||
#define WEECHAT_PLUGIN_FSET_BUFFER_H
|
||||
|
||||
#define FSET_BUFFER_NAME "fset"
|
||||
|
||||
@@ -43,4 +43,4 @@ extern void fset_buffer_open ();
|
||||
extern int fset_buffer_init ();
|
||||
extern void fset_buffer_end ();
|
||||
|
||||
#endif /* WEECHAT_FSET_BUFFER_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_BUFFER_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_COMMAND_H
|
||||
#define WEECHAT_FSET_COMMAND_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_COMMAND_H
|
||||
#define WEECHAT_PLUGIN_FSET_COMMAND_H
|
||||
|
||||
extern void fset_command_init ();
|
||||
|
||||
#endif /* WEECHAT_FSET_COMMAND_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_COMMAND_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_COMPLETION_H
|
||||
#define WEECHAT_FSET_COMPLETION_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_COMPLETION_H
|
||||
#define WEECHAT_PLUGIN_FSET_COMPLETION_H
|
||||
|
||||
extern void fset_completion_init ();
|
||||
|
||||
#endif /* WEECHAT_FSET_COMPLETION_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_COMPLETION_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_CONFIG_H
|
||||
#define WEECHAT_FSET_CONFIG_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_CONFIG_H
|
||||
#define WEECHAT_PLUGIN_FSET_CONFIG_H
|
||||
|
||||
#define FSET_CONFIG_NAME "fset"
|
||||
|
||||
@@ -88,4 +88,4 @@ extern int fset_config_read ();
|
||||
extern int fset_config_write ();
|
||||
extern void fset_config_free ();
|
||||
|
||||
#endif /* WEECHAT_FSET_CONFIG_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_CONFIG_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_INFO_H
|
||||
#define WEECHAT_FSET_INFO_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_INFO_H
|
||||
#define WEECHAT_PLUGIN_FSET_INFO_H
|
||||
|
||||
extern void fset_info_init ();
|
||||
|
||||
#endif /* WEECHAT_FSET_INFO_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_INFO_H */
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_MOUSE_H
|
||||
#define WEECHAT_FSET_MOUSE_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_MOUSE_H
|
||||
#define WEECHAT_PLUGIN_FSET_MOUSE_H
|
||||
|
||||
#define FSET_MOUSE_HSIGNAL "fset_mouse"
|
||||
|
||||
extern int fset_mouse_init ();
|
||||
extern void fset_mouse_end ();
|
||||
|
||||
#endif /* WEECHAT_FSET_MOUSE_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_MOUSE_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_OPTION_H
|
||||
#define WEECHAT_FSET_OPTION_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_OPTION_H
|
||||
#define WEECHAT_PLUGIN_FSET_OPTION_H
|
||||
|
||||
#define FSET_OPTION_VALUE_NULL "null"
|
||||
|
||||
@@ -129,4 +129,4 @@ extern void fset_option_print_log ();
|
||||
extern int fset_option_init ();
|
||||
extern void fset_option_end ();
|
||||
|
||||
#endif /* WEECHAT_FSET_OPTION_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_OPTION_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_H
|
||||
#define WEECHAT_FSET_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_H
|
||||
#define WEECHAT_PLUGIN_FSET_H
|
||||
|
||||
#define weechat_plugin weechat_fset_plugin
|
||||
#define FSET_PLUGIN_NAME "fset"
|
||||
@@ -34,4 +34,4 @@ extern struct t_hdata *fset_hdata_fset_option;
|
||||
|
||||
extern void fset_add_bar ();
|
||||
|
||||
#endif /* WEECHAT_FSET_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_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_PLUGIN_GUILE_API_H
|
||||
#define WEECHAT_PLUGIN_GUILE_API_H
|
||||
|
||||
extern int weechat_guile_api_buffer_input_data_cb (const void *pointer,
|
||||
void *data,
|
||||
@@ -29,4 +29,4 @@ extern int weechat_guile_api_buffer_close_cb (const void *pointer,
|
||||
struct t_gui_buffer *buffer);
|
||||
extern void weechat_guile_api_module_init (void *data);
|
||||
|
||||
#endif /* WEECHAT_GUILE_API_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_GUILE_H
|
||||
#define WEECHAT_PLUGIN_GUILE_H
|
||||
|
||||
#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_PLUGIN_GUILE_H */
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
* 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_PLUGIN_IRC_BAR_ITEM_H
|
||||
#define WEECHAT_PLUGIN_IRC_BAR_ITEM_H
|
||||
|
||||
extern void irc_bar_item_update_channel ();
|
||||
extern void irc_bar_item_init ();
|
||||
|
||||
#endif /* WEECHAT_IRC_BAR_ITEM_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_IRC_BUFFER_H
|
||||
#define WEECHAT_PLUGIN_IRC_BUFFER_H
|
||||
|
||||
#define IRC_BUFFER_GET_SERVER(__buffer) \
|
||||
struct t_weechat_plugin *buffer_plugin = NULL; \
|
||||
@@ -56,4 +56,4 @@ extern int irc_buffer_nickcmp_cb (const void *pointer, 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_PLUGIN_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_PLUGIN_IRC_CHANNEL_H
|
||||
#define WEECHAT_PLUGIN_IRC_CHANNEL_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
@@ -168,4 +168,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_PLUGIN_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_PLUGIN_IRC_COLOR_H
|
||||
#define WEECHAT_PLUGIN_IRC_COLOR_H
|
||||
|
||||
#define IRC_NUM_COLORS 100
|
||||
|
||||
@@ -114,4 +114,4 @@ extern char *irc_color_for_tags (const char *color);
|
||||
extern int irc_color_weechat_add_to_infolist (struct t_infolist *infolist);
|
||||
extern void irc_color_end ();
|
||||
|
||||
#endif /* WEECHAT_IRC_COLOR_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_IRC_COMMAND_H
|
||||
#define WEECHAT_PLUGIN_IRC_COMMAND_H
|
||||
|
||||
struct t_irc_server;
|
||||
struct t_irc_channel;
|
||||
@@ -77,4 +77,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_PLUGIN_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_PLUGIN_IRC_COMPLETION_H
|
||||
#define WEECHAT_PLUGIN_IRC_COMPLETION_H
|
||||
|
||||
extern void irc_completion_init ();
|
||||
|
||||
#endif /* WEECHAT_IRC_COMPLETION_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_IRC_CONFIG_H
|
||||
#define WEECHAT_PLUGIN_IRC_CONFIG_H
|
||||
|
||||
#define IRC_CONFIG_NAME "irc"
|
||||
|
||||
@@ -215,4 +215,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_PLUGIN_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_PLUGIN_IRC_CTCP_H
|
||||
#define WEECHAT_PLUGIN_IRC_CTCP_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
@@ -44,4 +44,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_PLUGIN_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_PLUGIN_IRC_DEBUG_H
|
||||
#define WEECHAT_PLUGIN_IRC_DEBUG_H
|
||||
|
||||
extern void irc_debug_init ();
|
||||
|
||||
#endif /* WEECHAT_IRC_DEBUG_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_IRC_IGNORE_H
|
||||
#define WEECHAT_PLUGIN_IRC_IGNORE_H
|
||||
|
||||
#include <regex.h>
|
||||
|
||||
@@ -58,4 +58,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_PLUGIN_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_PLUGIN_IRC_INFO_H
|
||||
#define WEECHAT_PLUGIN_IRC_INFO_H
|
||||
|
||||
extern void irc_info_init ();
|
||||
|
||||
#endif /* WEECHAT_IRC_INFO_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_IRC_INPUT_H
|
||||
#define WEECHAT_PLUGIN_IRC_INPUT_H
|
||||
|
||||
struct t_gui_buffer;
|
||||
|
||||
@@ -31,4 +31,4 @@ extern int irc_input_send_cb (const void *pointer, void *data,
|
||||
const char *signal, const char *type_data,
|
||||
void *signal_data);
|
||||
|
||||
#endif /* WEECHAT_IRC_INPUT_H */
|
||||
#endif /* WEECHAT_PLUGIN_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_PLUGIN_IRC_MESSAGE_H
|
||||
#define WEECHAT_PLUGIN_IRC_MESSAGE_H
|
||||
|
||||
struct t_irc_server;
|
||||
struct t_irc_channel;
|
||||
@@ -43,4 +43,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_PLUGIN_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_PLUGIN_IRC_MODE_H
|
||||
#define WEECHAT_PLUGIN_IRC_MODE_H
|
||||
|
||||
struct t_irc_server;
|
||||
struct t_irc_channel;
|
||||
@@ -31,4 +31,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_PLUGIN_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_PLUGIN_IRC_MSGBUFFER_H
|
||||
#define WEECHAT_PLUGIN_IRC_MSGBUFFER_H
|
||||
|
||||
enum t_irc_msgbuffer_target
|
||||
{
|
||||
@@ -38,4 +38,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_PLUGIN_IRC_MSGBUFFER_H */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user