core: fix use of reserved C identifiers in headers (closes #31)

This commit is contained in:
Sebastien Helleu 2014-03-19 10:39:13 +01:00
parent bc96d2f1ec
commit 9b380a935b
153 changed files with 461 additions and 461 deletions

View File

@ -17,11 +17,11 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_BACKTACE_H
#define __WEECHAT_BACKTACE_H 1
#ifndef WEECHAT_BACKTACE_H
#define WEECHAT_BACKTACE_H 1
#define BACKTRACE_MAX 128
extern void weechat_backtrace ();
#endif /* __WEECHAT_BACKTACE_H */
#endif /* WEECHAT_BACKTACE_H */

View File

@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_COMMAND_H
#define __WEECHAT_COMMAND_H 1
#ifndef WEECHAT_COMMAND_H
#define WEECHAT_COMMAND_H 1
#define COMMAND_CALLBACK(__command) \
int \
@ -56,4 +56,4 @@ extern void command_version_display (struct t_gui_buffer *buffer,
int translated_string,
int display_git_version);
#endif /* __WEECHAT_COMMAND_H */
#endif /* WEECHAT_COMMAND_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_COMPLETION_H
#define __WEECHAT_COMPLETION_H 1
#ifndef WEECHAT_COMPLETION_H
#define WEECHAT_COMPLETION_H 1
struct t_gui_buffer;
struct t_gui_completion;
@ -29,4 +29,4 @@ extern int completion_list_add_filename_cb (void *data,
struct t_gui_completion *completion);
extern void completion_init ();
#endif /* __WEECHAT_COMPLETION_H */
#endif /* WEECHAT_COMPLETION_H */

View File

@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_CONFIG_FILE_H
#define __WEECHAT_CONFIG_FILE_H 1
#ifndef WEECHAT_CONFIG_FILE_H
#define WEECHAT_CONFIG_FILE_H 1
#define CONFIG_BOOLEAN(option) (*((int *)((option)->value)))
#define CONFIG_BOOLEAN_DEFAULT(option) (*((int *)((option)->default_value)))
@ -259,4 +259,4 @@ extern int config_file_add_to_infolist (struct t_infolist *infolist,
const char *option_name);
extern void config_file_print_log ();
#endif /* __WEECHAT_CONFIG_FILE_H */
#endif /* WEECHAT_CONFIG_FILE_H */

View File

@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_CONFIG_H
#define __WEECHAT_CONFIG_H 1
#ifndef WEECHAT_CONFIG_H
#define WEECHAT_CONFIG_H 1
#include <regex.h>
#include "wee-config-file.h"
@ -315,4 +315,4 @@ extern int config_weechat_read ();
extern int config_weechat_write ();
extern void config_weechat_free ();
#endif /* __WEECHAT_CONFIG_H */
#endif /* WEECHAT_CONFIG_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_DEBUG_H
#define __WEECHAT_DEBUG_H 1
#ifndef WEECHAT_DEBUG_H
#define WEECHAT_DEBUG_H 1
struct t_gui_window_tree;
@ -31,4 +31,4 @@ extern void debug_infolists ();
extern void debug_directories ();
extern void debug_init ();
#endif /* __WEECHAT_DEBUG_H */
#endif /* WEECHAT_DEBUG_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_EVAL_H
#define __WEECHAT_EVAL_H 1
#ifndef WEECHAT_EVAL_H
#define WEECHAT_EVAL_H 1
#define EVAL_STR_FALSE "0"
#define EVAL_STR_TRUE "1"
@ -53,4 +53,4 @@ extern char *eval_expression (const char *expr,
struct t_hashtable *extra_vars,
struct t_hashtable *options);
#endif /* __WEECHAT_EVAL_H */
#endif /* WEECHAT_EVAL_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_HASHTABLE_H
#define __WEECHAT_HASHTABLE_H 1
#ifndef WEECHAT_HASHTABLE_H
#define WEECHAT_HASHTABLE_H 1
struct t_hashtable;
struct t_infolist_item;
@ -155,4 +155,4 @@ extern void hashtable_free (struct t_hashtable *hashtable);
extern void hashtable_print_log (struct t_hashtable *hashtable,
const char *name);
#endif /* __WEECHAT_HASHTABLE_H */
#endif /* WEECHAT_HASHTABLE_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_HDATA_H
#define __WEECHAT_HDATA_H 1
#ifndef WEECHAT_HDATA_H
#define WEECHAT_HDATA_H 1
#define HDATA_VAR(__struct, __name, __type, __update_allowed, \
__array_size, __hdata_name) \
@ -127,4 +127,4 @@ extern void hdata_print_log ();
extern void hdata_init ();
extern void hdata_end ();
#endif /* __WEECHAT_HDATA_H */
#endif /* WEECHAT_HDATA_H */

View File

@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_HOOK_H
#define __WEECHAT_HOOK_H 1
#ifndef WEECHAT_HOOK_H
#define WEECHAT_HOOK_H 1
#include <unistd.h>
@ -599,4 +599,4 @@ extern int hook_add_to_infolist (struct t_infolist *infolist,
const char *arguments);
extern void hook_print_log ();
#endif /* __WEECHAT_HOOK_H */
#endif /* WEECHAT_HOOK_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_INFOLIST_H
#define __WEECHAT_INFOLIST_H 1
#ifndef WEECHAT_INFOLIST_H
#define WEECHAT_INFOLIST_H 1
/* list structures */
@ -107,4 +107,4 @@ extern void infolist_free (struct t_infolist *infolist);
extern void infolist_free_all_plugin (struct t_weechat_plugin *plugin);
extern void infolist_print_log ();
#endif /* __WEECHAT_INFOLIST_H */
#endif /* WEECHAT_INFOLIST_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_INPUT_H
#define __WEECHAT_INPUT_H 1
#ifndef WEECHAT_INPUT_H
#define WEECHAT_INPUT_H 1
struct t_gui_buffer;
struct t_weechat_plugin;
@ -29,4 +29,4 @@ extern void input_exec_command (struct t_gui_buffer *buffer,
const char *string);
extern void input_data (struct t_gui_buffer *buffer, const char *data);
#endif /* __WEECHAT_INPUT_H */
#endif /* WEECHAT_INPUT_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_LIST_H
#define __WEECHAT_LIST_H 1
#ifndef WEECHAT_LIST_H
#define WEECHAT_LIST_H 1
struct t_weelist_item
{
@ -58,4 +58,4 @@ extern void weelist_remove_all (struct t_weelist *weelist);
extern void weelist_free (struct t_weelist *weelist);
extern void weelist_print_log (struct t_weelist *weelist, const char *name);
#endif /* __WEECHAT_LIST_H */
#endif /* WEECHAT_LIST_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_LOG_H
#define __WEECHAT_LOG_H 1
#ifndef WEECHAT_LOG_H
#define WEECHAT_LOG_H 1
extern char *weechat_log_filename;
extern FILE *weechat_log_file;
@ -30,4 +30,4 @@ extern void log_printf (const char *message, ...);
extern void log_printf_hexa (const char *spaces, const char *string);
extern int log_crash_rename ();
#endif /* __WEECHAT_LOG_H */
#endif /* WEECHAT_LOG_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_NETWORK_H
#define __WEECHAT_NETWORK_H 1
#ifndef WEECHAT_NETWORK_H
#define WEECHAT_NETWORK_H 1
#include <sys/types.h>
#include <sys/socket.h>
@ -55,4 +55,4 @@ extern int network_connect_to (const char *proxy, struct sockaddr *address,
socklen_t address_length);
extern void network_connect_with_fork (struct t_hook *hook_connect);
#endif /* __WEECHAT_NETWORK_H */
#endif /* WEECHAT_NETWORK_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_PROXY_H
#define __WEECHAT_PROXY_H 1
#ifndef WEECHAT_PROXY_H
#define WEECHAT_PROXY_H 1
struct t_infolist;
@ -87,4 +87,4 @@ extern int proxy_add_to_infolist (struct t_infolist *infolist,
struct t_proxy *proxy);
extern void proxy_print_log ();
#endif /* __WEECHAT_PROXY_H */
#endif /* WEECHAT_PROXY_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_SECURE_H
#define __WEECHAT_SECURE_H 1
#ifndef WEECHAT_SECURE_H
#define WEECHAT_SECURE_H 1
#define SECURE_CONFIG_NAME "sec"
@ -68,4 +68,4 @@ extern void secure_buffer_assign ();
extern void secure_buffer_open ();
extern void secure_end ();
#endif /* __WEECHAT_SECURE_H */
#endif /* WEECHAT_SECURE_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_STRING_H
#define __WEECHAT_STRING_H 1
#ifndef WEECHAT_STRING_H
#define WEECHAT_STRING_H 1
#include <regex.h>
@ -97,4 +97,4 @@ extern const char *string_shared_get (const char *string);
extern void string_shared_free (const char *string);
extern void string_end ();
#endif /* __WEECHAT_STRING_H */
#endif /* WEECHAT_STRING_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_UPGRADE_FILE_H
#define __WEECHAT_UPGRADE_FILE_H 1
#ifndef WEECHAT_UPGRADE_FILE_H
#define WEECHAT_UPGRADE_FILE_H 1
#define UPGRADE_SIGNATURE "===== WeeChat Upgrade file v2.2 - binary, do not edit! ====="
@ -63,4 +63,4 @@ extern int upgrade_file_read (struct t_upgrade_file *upgrade_file,
void *callback_read_data);
extern void upgrade_file_close (struct t_upgrade_file *upgrade_file);
#endif /* __WEECHAT_UPGRADE_FILE_H */
#endif /* WEECHAT_UPGRADE_FILE_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_UPGRADE_H
#define __WEECHAT_UPGRADE_H 1
#ifndef WEECHAT_UPGRADE_H
#define WEECHAT_UPGRADE_H 1
#include "wee-upgrade-file.h"
@ -41,4 +41,4 @@ int upgrade_weechat_save ();
int upgrade_weechat_load ();
void upgrade_weechat_end ();
#endif /* __WEECHAT_UPGRADE_H */
#endif /* WEECHAT_UPGRADE_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_URL_H
#define __WEECHAT_URL_H 1
#ifndef WEECHAT_URL_H
#define WEECHAT_URL_H 1
struct t_hashtable;
struct t_infolist;
@ -57,4 +57,4 @@ extern int weeurl_download (const char *url, struct t_hashtable *options);
extern int weeurl_option_add_to_infolist (struct t_infolist *infolist,
struct t_url_option *option);
#endif /* __WEECHAT_URL_H */
#endif /* WEECHAT_URL_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_UTF8_H
#define __WEECHAT_UTF8_H 1
#ifndef WEECHAT_UTF8_H
#define WEECHAT_UTF8_H 1
#ifndef __USE_XOPEN
#define __USE_XOPEN
@ -51,4 +51,4 @@ extern int utf8_real_pos (const char *string, int pos);
extern int utf8_pos (const char *string, int real_pos);
extern char *utf8_strndup (const char *string, int length);
#endif /* __WEECHAT_UTF8_H */
#endif /* WEECHAT_UTF8_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_UTIL_H
#define __WEECHAT_UTIL_H 1
#ifndef WEECHAT_UTIL_H
#define WEECHAT_UTIL_H 1
#ifdef HAVE_SYS_RESOURCE_H
struct t_rlimit_resource
@ -53,4 +53,4 @@ extern char *util_search_full_lib_name (const char *filename,
extern char *util_file_get_content (const char *filename);
extern int util_version_number (const char *version);
#endif /* __WEECHAT_UTIL_H */
#endif /* WEECHAT_UTIL_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_VERSION_H
#define __WEECHAT_VERSION_H 1
#ifndef WEECHAT_VERSION_H
#define WEECHAT_VERSION_H 1
extern const char *version_get_name ();
extern const char *version_get_version ();
@ -28,4 +28,4 @@ extern const char *version_get_version_with_git ();
extern const char *version_get_compilation_date ();
extern const char *version_get_compilation_time ();
#endif /* __WEECHAT_VERSION_H */
#endif /* WEECHAT_VERSION_H */

View File

@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_H
#define __WEECHAT_H 1
#ifndef WEECHAT_H
#define WEECHAT_H 1
#ifdef HAVE_CONFIG_H
#include "config.h"
@ -108,4 +108,4 @@ extern char *weechat_startup_commands;
extern void weechat_shutdown (int return_code, int crash);
#endif /* __WEECHAT_H */
#endif /* WEECHAT_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_CURSES_H
#define __WEECHAT_GUI_CURSES_H 1
#ifndef WEECHAT_GUI_CURSES_H
#define WEECHAT_GUI_CURSES_H 1
#include <time.h>
@ -134,4 +134,4 @@ extern void gui_window_vline (WINDOW *window, int x, int y, int height,
const char *string);
extern void gui_window_set_title (const char *title);
#endif /* __WEECHAT_GUI_CURSES_H */
#endif /* WEECHAT_GUI_CURSES_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_BAR_ITEM_H
#define __WEECHAT_GUI_BAR_ITEM_H 1
#ifndef WEECHAT_GUI_BAR_ITEM_H
#define WEECHAT_GUI_BAR_ITEM_H 1
enum t_gui_bar_item_weechat
{
@ -113,4 +113,4 @@ extern int gui_bar_item_add_to_infolist (struct t_infolist *infolist,
struct t_gui_bar_item *bar_item);
extern void gui_bar_item_print_log ();
#endif /* __WEECHAT_GUI_BAR_ITEM_H */
#endif /* WEECHAT_GUI_BAR_ITEM_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_BAR_WINDOW_H
#define __WEECHAT_GUI_BAR_WINDOW_H 1
#ifndef WEECHAT_GUI_BAR_WINDOW_H
#define WEECHAT_GUI_BAR_WINDOW_H 1
struct t_infolist;
struct t_gui_buffer;
@ -119,4 +119,4 @@ extern void gui_bar_window_draw (struct t_gui_bar_window *bar_window,
struct t_gui_window *window);
extern void gui_bar_window_objects_print_log (struct t_gui_bar_window *bar_window);
#endif /* __WEECHAT_GUI_BAR_WINDOW_H */
#endif /* WEECHAT_GUI_BAR_WINDOW_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_BAR_H
#define __WEECHAT_GUI_BAR_H 1
#ifndef WEECHAT_GUI_BAR_H
#define WEECHAT_GUI_BAR_H 1
struct t_infolist;
struct t_weechat_plugin;
@ -159,4 +159,4 @@ extern int gui_bar_add_to_infolist (struct t_infolist *infolist,
struct t_gui_bar *bar);
extern void gui_bar_print_log ();
#endif /* __WEECHAT_GUI_BAR_H */
#endif /* WEECHAT_GUI_BAR_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_BUFFER_H
#define __WEECHAT_GUI_BUFFER_H 1
#ifndef WEECHAT_GUI_BUFFER_H
#define WEECHAT_GUI_BUFFER_H 1
#include <limits.h>
#include <regex.h>
@ -330,4 +330,4 @@ extern int gui_buffer_add_to_infolist (struct t_infolist *infolist,
extern void gui_buffer_dump_hexa (struct t_gui_buffer *buffer);
extern void gui_buffer_print_log ();
#endif /* __WEECHAT_GUI_BUFFER_H */
#endif /* WEECHAT_GUI_BUFFER_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_CHAT_H
#define __WEECHAT_GUI_CHAT_H 1
#ifndef WEECHAT_GUI_CHAT_H
#define WEECHAT_GUI_CHAT_H 1
struct t_hashtable;
struct t_gui_window;
@ -105,4 +105,4 @@ extern void gui_chat_draw (struct t_gui_buffer *buffer, int clear_chat);
extern void gui_chat_draw_line (struct t_gui_buffer *buffer,
struct t_gui_line *line);
#endif /* __WEECHAT_GUI_CHAT_H */
#endif /* WEECHAT_GUI_CHAT_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_COLOR_H
#define __WEECHAT_GUI_COLOR_H 1
#ifndef WEECHAT_GUI_COLOR_H
#define WEECHAT_GUI_COLOR_H 1
#include <regex.h>
@ -213,4 +213,4 @@ extern struct t_gui_color_palette *gui_color_palette_new (int number,
extern void gui_color_palette_free (struct t_gui_color_palette *color_palette);
extern void gui_color_dump ();
#endif /* __WEECHAT_GUI_COLOR_H */
#endif /* WEECHAT_GUI_COLOR_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_COMPLETION_H
#define __WEECHAT_GUI_COMPLETION_H 1
#ifndef WEECHAT_GUI_COMPLETION_H
#define WEECHAT_GUI_COMPLETION_H 1
#define GUI_COMPLETION_NULL 0
#define GUI_COMPLETION_COMMAND 1
@ -87,4 +87,4 @@ extern struct t_hdata *gui_completion_hdata_completion_partial_cb (void *data,
const char *hdata_name);
extern void gui_completion_print_log (struct t_gui_completion *completion);
#endif /* __WEECHAT_GUI_COMPLETION_H */
#endif /* WEECHAT_GUI_COMPLETION_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_CURSOR_H
#define __WEECHAT_GUI_CURSOR_H 1
#ifndef WEECHAT_GUI_CURSOR_H
#define WEECHAT_GUI_CURSOR_H 1
/* cursor variables */
@ -36,4 +36,4 @@ extern void gui_cursor_move_add_xy (int add_x, int add_y);
extern void gui_cursor_move_area_add_xy (int add_x, int add_y);
extern void gui_cursor_move_area (const char *area);
#endif /* __WEECHAT_GUI_CURSOR_H */
#endif /* WEECHAT_GUI_CURSOR_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_FILTER_H
#define __WEECHAT_GUI_FILTER_H 1
#ifndef WEECHAT_GUI_FILTER_H
#define WEECHAT_GUI_FILTER_H 1
#include <regex.h>
@ -75,4 +75,4 @@ extern int gui_filter_add_to_infolist (struct t_infolist *infolist,
struct t_gui_filter *filter);
extern void gui_filter_print_log ();
#endif /* __WEECHAT_GUI_FILTER_H */
#endif /* WEECHAT_GUI_FILTER_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_FOCUS_H
#define __WEECHAT_GUI_FOCUS 1
#ifndef WEECHAT_GUI_FOCUS_H
#define WEECHAT_GUI_FOCUS 1
/* focus structures */
@ -46,4 +46,4 @@ extern void gui_focus_free_info (struct t_gui_focus_info *focus_info);
extern struct t_hashtable *gui_focus_to_hashtable (struct t_gui_focus_info *focus_info,
const char *key);
#endif /* __WEECHAT_GUI_FOCUS_H */
#endif /* WEECHAT_GUI_FOCUS_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_HISTORY_H
#define __WEECHAT_GUI_HISTORY_H 1
#ifndef WEECHAT_GUI_HISTORY_H
#define WEECHAT_GUI_HISTORY_H 1
struct t_gui_buffer;
@ -44,4 +44,4 @@ extern struct t_hdata *gui_history_hdata_history_cb (void *data,
extern int gui_history_add_to_infolist (struct t_infolist *infolist,
struct t_gui_history *history);
#endif /* __WEECHAT_GUI_HISTORY_H */
#endif /* WEECHAT_GUI_HISTORY_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_HOTLIST_H
#define __WEECHAT_GUI_HOTLIST_H 1
#ifndef WEECHAT_GUI_HOTLIST_H
#define WEECHAT_GUI_HOTLIST_H 1
enum t_gui_hotlist_priority
{
@ -67,4 +67,4 @@ extern int gui_hotlist_add_to_infolist (struct t_infolist *infolist,
extern void gui_hotlist_print_log ();
extern void gui_hotlist_end ();
#endif /* __WEECHAT_GUI_HOTLIST_H */
#endif /* WEECHAT_GUI_HOTLIST_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_INPUT_H
#define __WEECHAT_GUI_INPUT_H 1
#ifndef WEECHAT_GUI_INPUT_H
#define WEECHAT_GUI_INPUT_H 1
struct t_gui_buffer;
@ -86,4 +86,4 @@ extern void gui_input_insert (struct t_gui_buffer *buffer, const char *args);
extern void gui_input_undo (struct t_gui_buffer *buffer);
extern void gui_input_redo (struct t_gui_buffer *buffer);
#endif /* __WEECHAT_GUI_INPUT_H */
#endif /* WEECHAT_GUI_INPUT_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_KEY_H
#define __WEECHAT_GUI_KEY_H 1
#ifndef WEECHAT_GUI_KEY_H
#define WEECHAT_GUI_KEY_H 1
struct t_hashtable;
@ -142,4 +142,4 @@ extern void gui_key_print_log (struct t_gui_buffer *buffer);
extern void gui_key_default_bindings ();
#endif /* __WEECHAT_GUI_KEY_H */
#endif /* WEECHAT_GUI_KEY_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_LAYOUT_H
#define __WEECHAT_GUI_LAYOUT_H 1
#ifndef WEECHAT_GUI_LAYOUT_H
#define WEECHAT_GUI_LAYOUT_H 1
#define GUI_LAYOUT_DEFAULT_NAME "default"
@ -129,4 +129,4 @@ extern void gui_layout_print_log ();
extern void gui_layout_init ();
extern void gui_layout_end ();
#endif /* __WEECHAT_GUI_LAYOUT_H */
#endif /* WEECHAT_GUI_LAYOUT_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_LINE_H
#define __WEECHAT_GUI_LINE_H 1
#ifndef WEECHAT_GUI_LINE_H
#define WEECHAT_GUI_LINE_H 1
#include <regex.h>
@ -124,4 +124,4 @@ extern int gui_line_add_to_infolist (struct t_infolist *infolist,
struct t_gui_line *line);
extern void gui_lines_print_log (struct t_gui_lines *lines);
#endif /* __WEECHAT_GUI_LINE_H */
#endif /* WEECHAT_GUI_LINE_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_MAIN_H
#define __WEECHAT_GUI_MAIN_H 1
#ifndef WEECHAT_GUI_MAIN_H
#define WEECHAT_GUI_MAIN_H 1
/* main functions (GUI dependent) */
@ -34,4 +34,4 @@ extern void gui_main_end (int clean_exit);
/* terminal functions (GUI dependent) */
extern void gui_term_set_eat_newline_glitch (int value);
#endif /* __WEECHAT_GUI_MAIN_H */
#endif /* WEECHAT_GUI_MAIN_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_MOUSE_H
#define __WEECHAT_GUI_MOUSE_H 1
#ifndef WEECHAT_GUI_MOUSE_H
#define WEECHAT_GUI_MOUSE_H 1
/* mouse variables */
@ -46,4 +46,4 @@ extern void gui_mouse_grab_init (int area);
extern void gui_mouse_event_init ();
extern void gui_mouse_event_end ();
#endif /* __WEECHAT_GUI_MOUSE_H */
#endif /* WEECHAT_GUI_MOUSE_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_NICKLIST_H
#define __WEECHAT_GUI_NICKLIST_H 1
#ifndef WEECHAT_GUI_NICKLIST_H
#define WEECHAT_GUI_NICKLIST_H 1
struct t_gui_buffer;
struct t_infolist;
@ -118,4 +118,4 @@ extern int gui_nicklist_add_to_infolist (struct t_infolist *infolist,
extern void gui_nicklist_print_log (struct t_gui_nick_group *group, int indent);
extern void gui_nicklist_end ();
#endif /* __WEECHAT_GUI_NICKLIST_H */
#endif /* WEECHAT_GUI_NICKLIST_H */

View File

@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_WINDOW_H
#define __WEECHAT_GUI_WINDOW_H 1
#ifndef WEECHAT_GUI_WINDOW_H
#define WEECHAT_GUI_WINDOW_H 1
struct t_infolist;
struct t_gui_bar_window;
@ -240,4 +240,4 @@ extern void gui_window_move_cursor ();
extern void gui_window_term_display_infos ();
extern void gui_window_objects_print_log (struct t_gui_window *window);
#endif /* __WEECHAT_GUI_WINDOW_H */
#endif /* WEECHAT_GUI_WINDOW_H */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

Some files were not shown because too many files have changed in this diff Show More