update include guard names

This commit is contained in:
ailin-nemui 2019-05-01 22:22:22 +02:00
parent 03ca37c12e
commit 37f7c7f374
114 changed files with 232 additions and 232 deletions

View File

@ -1,5 +1,5 @@
#ifndef __COMMON_H #ifndef IRSSI_COMMON_H
#define __COMMON_H #define IRSSI_COMMON_H
#define IRSSI_DIR_FULL "%s/.irssi" /* %s == g_get_home_dir() */ #define IRSSI_DIR_FULL "%s/.irssi" /* %s == g_get_home_dir() */

View File

@ -1,5 +1,5 @@
#ifndef __ARGS_H #ifndef IRSSI_CORE_ARGS_H
#define __ARGS_H #define IRSSI_CORE_ARGS_H
void args_register(GOptionEntry *options); void args_register(GOptionEntry *options);
void args_execute(int argc, char *argv[]); void args_execute(int argc, char *argv[]);

View File

@ -1,5 +1,5 @@
#ifndef __CAPSICUM_H #ifndef IRSSI_CORE_CAPSICUM_H
#define __CAPSICUM_H #define IRSSI_CORE_CAPSICUM_H
gboolean capsicum_enabled(void); gboolean capsicum_enabled(void);
int capsicum_net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip); int capsicum_net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip);
@ -12,4 +12,4 @@ void capsicum_mkdir_with_parents_wrapper(const char *path, int mode);
void capsicum_init(void); void capsicum_init(void);
void capsicum_deinit(void); void capsicum_deinit(void);
#endif /* !__CAPSICUM_H */ #endif /* !IRSSI_CORE_CAPSICUM_H */

View File

@ -1,5 +1,5 @@
#ifndef __CHANNELS_SETUP_H #ifndef IRSSI_CORE_CHANNELS_SETUP_H
#define __CHANNELS_SETUP_H #define IRSSI_CORE_CHANNELS_SETUP_H
#include <irssi/src/core/modules.h> #include <irssi/src/core/modules.h>

View File

@ -1,5 +1,5 @@
#ifndef __CHANNELS_H #ifndef IRSSI_CORE_CHANNELS_H
#define __CHANNELS_H #define IRSSI_CORE_CHANNELS_H
#include <irssi/src/core/modules.h> #include <irssi/src/core/modules.h>

View File

@ -1,5 +1,5 @@
#ifndef __CHAT_PROTOCOLS_H #ifndef IRSSI_CORE_CHAT_PROTOCOLS_H
#define __CHAT_PROTOCOLS_H #define IRSSI_CORE_CHAT_PROTOCOLS_H
struct _CHAT_PROTOCOL_REC { struct _CHAT_PROTOCOL_REC {
int id; int id;

View File

@ -1,5 +1,5 @@
#ifndef __CHATNETS_H #ifndef IRSSI_CORE_CHATNETS_H
#define __CHATNETS_H #define IRSSI_CORE_CHATNETS_H
#include <irssi/src/core/modules.h> #include <irssi/src/core/modules.h>

View File

@ -1,5 +1,5 @@
#ifndef __COMMANDS_H #ifndef IRSSI_CORE_COMMANDS_H
#define __COMMANDS_H #define IRSSI_CORE_COMMANDS_H
#include <irssi/src/core/signals.h> #include <irssi/src/core/signals.h>

View File

@ -1,5 +1,5 @@
#ifndef __IRSSI_CORE_H #ifndef IRSSI_CORE_CORE_H
#define __IRSSI_CORE_H #define IRSSI_CORE_CORE_H
#include <irssi/src/common.h> #include <irssi/src/common.h>

View File

@ -1,5 +1,5 @@
#ifndef __EXPANDOS_H #ifndef IRSSI_CORE_EXPANDOS_H
#define __EXPANDOS_H #define IRSSI_CORE_EXPANDOS_H
#include <irssi/src/core/signals.h> #include <irssi/src/core/signals.h>

View File

@ -1,5 +1,5 @@
#ifndef __IGNORE_H #ifndef IRSSI_CORE_IGNORE_H
#define __IGNORE_H #define IRSSI_CORE_IGNORE_H
#include <irssi/src/core/iregex.h> #include <irssi/src/core/iregex.h>

View File

@ -1,5 +1,5 @@
#ifndef __REGEX_H #ifndef IRSSI_CORE_IREGEX_H
#define __REGEX_H #define IRSSI_CORE_IREGEX_H
#include <irssi/src/common.h> #include <irssi/src/common.h>

View File

@ -1,5 +1,5 @@
#ifndef __LEVELS_H #ifndef IRSSI_CORE_LEVELS_H
#define __LEVELS_H #define IRSSI_CORE_LEVELS_H
/* This is pretty much IRC specific, but I think it would be easier for /* This is pretty much IRC specific, but I think it would be easier for
other chats to try to use these same levels instead of implementing too other chats to try to use these same levels instead of implementing too

View File

@ -1,5 +1,5 @@
#ifndef __LINE_SPLIT_H #ifndef IRSSI_CORE_LINE_SPLIT_H
#define __LINE_SPLIT_H #define IRSSI_CORE_LINE_SPLIT_H
/* line-split `data'. Initially `*buffer' should contain NULL. */ /* line-split `data'. Initially `*buffer' should contain NULL. */
int line_split(const char *data, int len, char **output, LINEBUF_REC **buffer); int line_split(const char *data, int len, char **output, LINEBUF_REC **buffer);

View File

@ -1,5 +1,5 @@
#ifndef __LOG_H #ifndef IRSSI_CORE_LOG_H
#define __LOG_H #define IRSSI_CORE_LOG_H
enum { enum {
LOG_ITEM_TARGET, /* channel, query, .. */ LOG_ITEM_TARGET, /* channel, query, .. */

View File

@ -1,5 +1,5 @@
#ifndef __MASKS_H #ifndef IRSSI_CORE_MASKS_H
#define __MASKS_H #define IRSSI_CORE_MASKS_H
int mask_match(SERVER_REC *server, const char *mask, int mask_match(SERVER_REC *server, const char *mask,
const char *nick, const char *user, const char *host); const char *nick, const char *user, const char *host);

View File

@ -1,5 +1,5 @@
#ifndef __MISC_H #ifndef IRSSI_CORE_MISC_H
#define __MISC_H #define IRSSI_CORE_MISC_H
int g_input_add_poll(int fd, int priority, int condition, int g_input_add_poll(int fd, int priority, int condition,
GInputFunction function, void *data); GInputFunction function, void *data);

View File

@ -1,5 +1,5 @@
#ifndef __MODULES_LOAD_H #ifndef IRSSI_CORE_MODULES_LOAD_H
#define __MODULES_LOAD_H #define IRSSI_CORE_MODULES_LOAD_H
#include <irssi/src/core/modules.h> #include <irssi/src/core/modules.h>

View File

@ -1,5 +1,5 @@
#ifndef __MODULES_H #ifndef IRSSI_CORE_MODULES_H
#define __MODULES_H #define IRSSI_CORE_MODULES_H
#define MODULE_DATA_INIT(rec) \ #define MODULE_DATA_INIT(rec) \
(rec)->module_data = g_hash_table_new(g_str_hash, g_str_equal) (rec)->module_data = g_hash_table_new(g_str_hash, g_str_equal)

View File

@ -1,5 +1,5 @@
#ifndef __NET_DISCONNECT_H #ifndef IRSSI_CORE_NET_DISCONNECT_H
#define __NET_DISCONNECT_H #define IRSSI_CORE_NET_DISCONNECT_H
/* Try to let the other side close the connection, if it still isn't /* Try to let the other side close the connection, if it still isn't
disconnected after certain amount of time, close it ourself */ disconnected after certain amount of time, close it ourself */

View File

@ -1,5 +1,5 @@
#ifndef __NET_NONBLOCK_H #ifndef IRSSI_CORE_NET_NONBLOCK_H
#define __NET_NONBLOCK_H #define IRSSI_CORE_NET_NONBLOCK_H
#include <irssi/src/core/network.h> #include <irssi/src/core/network.h>

View File

@ -1,5 +1,5 @@
#ifndef __NET_SENDBUFFER_H #ifndef IRSSI_CORE_NET_SENDBUFFER_H
#define __NET_SENDBUFFER_H #define IRSSI_CORE_NET_SENDBUFFER_H
#define DEFAULT_BUFFER_SIZE 8192 #define DEFAULT_BUFFER_SIZE 8192
#define MAX_BUFFER_SIZE 1048576 #define MAX_BUFFER_SIZE 1048576

View File

@ -1,6 +1,6 @@
#ifndef __NETWORK_OPENSSL_H #ifndef IRSSI_CORE_NETWORK_OPENSSL_H
#define __NETWORK_OPENSSL_H #define IRSSI_CORE_NETWORK_OPENSSL_H
gboolean irssi_ssl_init(void); gboolean irssi_ssl_init(void);
#endif /* !__NETWORK_OPENSSL_H */ #endif /* !IRSSI_CORE_NETWORK_OPENSSL_H */

View File

@ -1,5 +1,5 @@
#ifndef __NETWORK_H #ifndef IRSSI_CORE_NETWORK_H
#define __NETWORK_H #define IRSSI_CORE_NETWORK_H
#ifdef HAVE_SOCKS_H #ifdef HAVE_SOCKS_H
#include <socks.h> #include <socks.h>

View File

@ -1,5 +1,5 @@
#ifndef __NICKLIST_H #ifndef IRSSI_CORE_NICKLIST_H
#define __NICKLIST_H #define IRSSI_CORE_NICKLIST_H
/* Returns NICK_REC if it's nick, NULL if it isn't. */ /* Returns NICK_REC if it's nick, NULL if it isn't. */
#define NICK(server) \ #define NICK(server) \

View File

@ -1,5 +1,5 @@
#ifndef __NICKMATCH_CACHE_H #ifndef IRSSI_CORE_NICKMATCH_CACHE_H
#define __NICKMATCH_CACHE_H #define IRSSI_CORE_NICKMATCH_CACHE_H
typedef void (*NICKMATCH_REBUILD_FUNC) (GHashTable *list, typedef void (*NICKMATCH_REBUILD_FUNC) (GHashTable *list,
CHANNEL_REC *channel, NICK_REC *nick); CHANNEL_REC *channel, NICK_REC *nick);

View File

@ -1,5 +1,5 @@
#ifndef __PIDWAIT_H #ifndef IRSSI_CORE_PIDWAIT_H
#define __PIDWAIT_H #define IRSSI_CORE_PIDWAIT_H
void pidwait_init(void); void pidwait_init(void);
void pidwait_deinit(void); void pidwait_deinit(void);

View File

@ -1,5 +1,5 @@
#ifndef __QUERIES_H #ifndef IRSSI_CORE_QUERIES_H
#define __QUERIES_H #define IRSSI_CORE_QUERIES_H
#include <irssi/src/core/modules.h> #include <irssi/src/core/modules.h>

View File

@ -1,5 +1,5 @@
#ifndef __RAWLOG_H #ifndef IRSSI_CORE_RAWLOG_H
#define __RAWLOG_H #define IRSSI_CORE_RAWLOG_H
struct _RAWLOG_REC { struct _RAWLOG_REC {
int logging; int logging;

View File

@ -1,5 +1,5 @@
#ifndef __RECODE_H #ifndef IRSSI_CORE_RECODE_H
#define __RECODE_H #define IRSSI_CORE_RECODE_H
char *recode_in (const SERVER_REC *server, const char *str, const char *target); char *recode_in (const SERVER_REC *server, const char *str, const char *target);
char *recode_out (const SERVER_REC *server, const char *str, const char *target); char *recode_out (const SERVER_REC *server, const char *str, const char *target);
@ -12,4 +12,4 @@ void recode_update_charset(void);
void recode_init (void); void recode_init (void);
void recode_deinit (void); void recode_deinit (void);
#endif /* __RECODE_H */ #endif /* IRSSI_CORE_RECODE_H */

View File

@ -1,5 +1,5 @@
#ifndef __SERVER_RECONNECT_H #ifndef IRSSI_CORE_SERVERS_RECONNECT_H
#define __SERVER_RECONNECT_H #define IRSSI_CORE_SERVERS_RECONNECT_H
/* wait for half an hour before trying to reconnect to host where last /* wait for half an hour before trying to reconnect to host where last
connection failed */ connection failed */

View File

@ -1,5 +1,5 @@
#ifndef __SERVERS_SETUP_H #ifndef IRSSI_CORE_SERVERS_SETUP_H
#define __SERVERS_SETUP_H #define IRSSI_CORE_SERVERS_SETUP_H
#include <irssi/src/core/modules.h> #include <irssi/src/core/modules.h>

View File

@ -1,5 +1,5 @@
#ifndef __SERVERS_H #ifndef IRSSI_CORE_SERVERS_H
#define __SERVERS_H #define IRSSI_CORE_SERVERS_H
#include <irssi/src/core/modules.h> #include <irssi/src/core/modules.h>

View File

@ -1,5 +1,5 @@
#ifndef __SESSION_H #ifndef IRSSI_CORE_SESSION_H
#define __SESSION_H #define IRSSI_CORE_SESSION_H
extern char *irssi_binary; extern char *irssi_binary;

View File

@ -1,5 +1,5 @@
#ifndef __SETTINGS_H #ifndef IRSSI_CORE_SETTINGS_H
#define __SETTINGS_H #define IRSSI_CORE_SETTINGS_H
typedef enum { typedef enum {
SETTING_TYPE_STRING, SETTING_TYPE_STRING,

View File

@ -1,5 +1,5 @@
#ifndef __SIGNAL_H #ifndef IRSSI_CORE_SIGNALS_H
#define __SIGNAL_H #define IRSSI_CORE_SIGNALS_H
#define SIGNAL_PRIORITY_LOW 100 #define SIGNAL_PRIORITY_LOW 100
#define SIGNAL_PRIORITY_DEFAULT 0 #define SIGNAL_PRIORITY_DEFAULT 0

View File

@ -1,5 +1,5 @@
#ifndef __SPECIAL_VARS_H #ifndef IRSSI_CORE_SPECIAL_VARS_H
#define __SPECIAL_VARS_H #define IRSSI_CORE_SPECIAL_VARS_H
#include <irssi/src/core/signals.h> #include <irssi/src/core/signals.h>

View File

@ -16,8 +16,8 @@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301,USA * Franklin Street, Fifth Floor, Boston, MA 02110-1301,USA
*/ */
#ifndef __TLS_H #ifndef IRSSI_CORE_TLS_H
#define __TLS_H #define IRSSI_CORE_TLS_H
#include <openssl/ssl.h> #include <openssl/ssl.h>

View File

@ -1,5 +1,5 @@
#ifndef __UTF8_H #ifndef IRSSI_CORE_UTF8_H
#define __UTF8_H #define IRSSI_CORE_UTF8_H
/* XXX I didn't check the encoding range of big5+. This is standard big5. */ /* XXX I didn't check the encoding range of big5+. This is standard big5. */
#define is_big5_los(lo) (0x40 <= (lo) && (lo) <= 0x7E) /* standard */ #define is_big5_los(lo) (0x40 <= (lo) && (lo) <= 0x7E) /* standard */

View File

@ -1,5 +1,5 @@
#ifndef __WINDOW_ITEM_DEF_H #ifndef IRSSI_CORE_WINDOW_ITEM_DEF_H
#define __WINDOW_ITEM_DEF_H #define IRSSI_CORE_WINDOW_ITEM_DEF_H
#define STRUCT_SERVER_REC SERVER_REC #define STRUCT_SERVER_REC SERVER_REC
struct _WI_ITEM_REC { struct _WI_ITEM_REC {

View File

@ -1,5 +1,5 @@
#ifndef __WRITE_BUFFER_H #ifndef IRSSI_CORE_WRITE_BUFFER_H
#define __WRITE_BUFFER_H #define IRSSI_CORE_WRITE_BUFFER_H
int write_buffer(int handle, const void *data, int size); int write_buffer(int handle, const void *data, int size);
void write_buffer_flush(void); void write_buffer_flush(void);

View File

@ -1,5 +1,5 @@
#ifndef __CHAT_COMPLETION_H #ifndef IRSSI_FE_COMMON_CORE_CHAT_COMPLETION_H
#define __CHAT_COMPLETION_H #define IRSSI_FE_COMMON_CORE_CHAT_COMPLETION_H
GList *completion_get_chatnets(const char *word); GList *completion_get_chatnets(const char *word);
GList *completion_get_servers(const char *word); GList *completion_get_servers(const char *word);

View File

@ -1,5 +1,5 @@
#ifndef __COMMAND_HISTORY_H #ifndef IRSSI_FE_COMMON_CORE_COMMAND_HISTORY_H
#define __COMMAND_HISTORY_H #define IRSSI_FE_COMMON_CORE_COMMAND_HISTORY_H
#include <irssi/src/common.h> #include <irssi/src/common.h>

View File

@ -1,5 +1,5 @@
#ifndef __COMPLETION_H #ifndef IRSSI_FE_COMMON_CORE_COMPLETION_H
#define __COMPLETION_H #define IRSSI_FE_COMMON_CORE_COMPLETION_H
#include <irssi/src/fe-common/core/window-items.h> #include <irssi/src/fe-common/core/window-items.h>

View File

@ -1,5 +1,5 @@
#ifndef __FE_CAPSICUM_H #ifndef IRSSI_FE_COMMON_CORE_FE_CAPSICUM_H
#define __FE_CAPSICUM_H #define IRSSI_FE_COMMON_CORE_FE_CAPSICUM_H
void fe_capsicum_init(void); void fe_capsicum_init(void);
void fe_capsicum_deinit(void); void fe_capsicum_deinit(void);

View File

@ -1,5 +1,5 @@
#ifndef __FE_CHANNELS_H #ifndef IRSSI_FE_COMMON_CORE_FE_CHANNELS_H
#define __FE_CHANNELS_H #define IRSSI_FE_COMMON_CORE_FE_CHANNELS_H
#define CHANNEL_NICKLIST_FLAG_OPS 0x01 #define CHANNEL_NICKLIST_FLAG_OPS 0x01
#define CHANNEL_NICKLIST_FLAG_HALFOPS 0x02 #define CHANNEL_NICKLIST_FLAG_HALFOPS 0x02

View File

@ -1,5 +1,5 @@
#ifndef __FE_COMMON_CORE_H #ifndef IRSSI_FE_COMMON_CORE_FE_COMMON_CORE_H
#define __FE_COMMON_CORE_H #define IRSSI_FE_COMMON_CORE_FE_COMMON_CORE_H
void fe_common_core_register_options(void); void fe_common_core_register_options(void);
void fe_common_core_init(void); void fe_common_core_init(void);

View File

@ -1,5 +1,5 @@
#ifndef __FE_CORE_COMMANDS_H #ifndef IRSSI_FE_COMMON_CORE_FE_CORE_COMMANDS_H
#define __FE_CORE_COMMANDS_H #define IRSSI_FE_COMMON_CORE_FE_CORE_COMMANDS_H
extern int command_hide_output; extern int command_hide_output;

View File

@ -1,5 +1,5 @@
#ifndef __FE_EXEC_H #ifndef IRSSI_FE_COMMON_CORE_FE_EXEC_H
#define __FE_EXEC_H #define IRSSI_FE_COMMON_CORE_FE_EXEC_H
#include <irssi/src/fe-common/core/fe-windows.h> #include <irssi/src/fe-common/core/fe-windows.h>

View File

@ -1,5 +1,5 @@
#ifndef __FE_MESSAGES_H #ifndef IRSSI_FE_COMMON_CORE_FE_MESSAGES_H
#define __FE_MESSAGES_H #define IRSSI_FE_COMMON_CORE_FE_MESSAGES_H
/* convert _underlined_ and *bold* words (and phrases) to use real /* convert _underlined_ and *bold* words (and phrases) to use real
underlining or bolding */ underlining or bolding */

View File

@ -1,5 +1,5 @@
#ifndef __FE_QUERIES_H #ifndef IRSSI_FE_COMMON_CORE_FE_QUERIES_H
#define __FE_QUERIES_H #define IRSSI_FE_COMMON_CORE_FE_QUERIES_H
#include <irssi/src/core/queries.h> #include <irssi/src/core/queries.h>

View File

@ -1,7 +1,7 @@
#ifndef __FE_RECODE_H #ifndef IRSSI_FE_COMMON_CORE_FE_RECODE_H
#define __FE_RECODE_H #define IRSSI_FE_COMMON_CORE_FE_RECODE_H
void fe_recode_init (void); void fe_recode_init (void);
void fe_recode_deinit (void); void fe_recode_deinit (void);
#endif /* __FE_RECODE_H */ #endif /* IRSSI_FE_COMMON_CORE_FE_RECODE_H */

View File

@ -1,5 +1,5 @@
#ifndef __FE_SETTINGS_H #ifndef IRSSI_FE_COMMON_CORE_FE_SETTINGS_H
#define __FE_SETTINGS_H #define IRSSI_FE_COMMON_CORE_FE_SETTINGS_H
void fe_settings_set_print(const char *key); void fe_settings_set_print(const char *key);

View File

@ -16,8 +16,8 @@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301,USA * Franklin Street, Fifth Floor, Boston, MA 02110-1301,USA
*/ */
#ifndef __FE_TLS_H #ifndef IRSSI_FE_COMMON_CORE_FE_TLS_H
#define __FE_TLS_H #define IRSSI_FE_COMMON_CORE_FE_TLS_H
void fe_tls_init(void); void fe_tls_init(void);
void fe_tls_deinit(void); void fe_tls_deinit(void);

View File

@ -1,5 +1,5 @@
#ifndef __WINDOWS_H #ifndef IRSSI_FE_COMMON_CORE_FE_WINDOWS_H
#define __WINDOWS_H #define IRSSI_FE_COMMON_CORE_FE_WINDOWS_H
#include <irssi/src/core/window-item-def.h> #include <irssi/src/core/window-item-def.h>
#include <irssi/src/fe-common/core/command-history.h> #include <irssi/src/fe-common/core/command-history.h>

View File

@ -1,5 +1,5 @@
#ifndef __FORMATS_H #ifndef IRSSI_FE_COMMON_CORE_FORMATS_H
#define __FORMATS_H #define IRSSI_FE_COMMON_CORE_FORMATS_H
#include <irssi/src/fe-common/core/themes.h> #include <irssi/src/fe-common/core/themes.h>
#include <irssi/src/fe-common/core/fe-windows.h> #include <irssi/src/fe-common/core/fe-windows.h>

View File

@ -1,5 +1,5 @@
#ifndef __HILIGHT_TEXT_H #ifndef IRSSI_FE_COMMON_CORE_HILIGHT_TEXT_H
#define __HILIGHT_TEXT_H #define IRSSI_FE_COMMON_CORE_HILIGHT_TEXT_H
#include <irssi/src/core/iregex.h> #include <irssi/src/core/iregex.h>
#include <irssi/src/fe-common/core/formats.h> #include <irssi/src/fe-common/core/formats.h>

View File

@ -1,5 +1,5 @@
#ifndef __KEYBOARD_H #ifndef IRSSI_FE_COMMON_CORE_KEYBOARD_H
#define __KEYBOARD_H #define IRSSI_FE_COMMON_CORE_KEYBOARD_H
#include <irssi/src/core/signals.h> #include <irssi/src/core/signals.h>

View File

@ -1,5 +1,5 @@
#ifndef __PRINTTEXT_H #ifndef IRSSI_FE_COMMON_CORE_PRINTTEXT_H
#define __PRINTTEXT_H #define IRSSI_FE_COMMON_CORE_PRINTTEXT_H
#include <irssi/src/fe-common/core/fe-windows.h> #include <irssi/src/fe-common/core/fe-windows.h>
#include <irssi/src/fe-common/core/formats.h> #include <irssi/src/fe-common/core/formats.h>

View File

@ -1,5 +1,5 @@
#ifndef __THEMES_H #ifndef IRSSI_FE_COMMON_CORE_THEMES_H
#define __THEMES_H #define IRSSI_FE_COMMON_CORE_THEMES_H
typedef struct { typedef struct {
char *name; char *name;

View File

@ -1,5 +1,5 @@
#ifndef __WINDOW_ACTIVITY_H #ifndef IRSSI_FE_COMMON_CORE_WINDOW_ACTIVITY_H
#define __WINDOW_ACTIVITY_H #define IRSSI_FE_COMMON_CORE_WINDOW_ACTIVITY_H
void window_activity(WINDOW_REC *window, int data_level, void window_activity(WINDOW_REC *window, int data_level,
const char *hilight_color); const char *hilight_color);

View File

@ -1,5 +1,5 @@
#ifndef __WINDOW_ITEMS_H #ifndef IRSSI_FE_COMMON_CORE_WINDOW_ITEMS_H
#define __WINDOW_ITEMS_H #define IRSSI_FE_COMMON_CORE_WINDOW_ITEMS_H
#include <irssi/src/fe-common/core/fe-windows.h> #include <irssi/src/fe-common/core/fe-windows.h>

View File

@ -1,5 +1,5 @@
#ifndef __WINDOWS_LAYOUT_H #ifndef IRSSI_FE_COMMON_CORE_WINDOWS_LAYOUT_H
#define __WINDOWS_LAYOUT_H #define IRSSI_FE_COMMON_CORE_WINDOWS_LAYOUT_H
void windows_layout_restore(void); void windows_layout_restore(void);
void windows_layout_save(void); void windows_layout_save(void);

View File

@ -1,5 +1,5 @@
#ifndef __FE_DCC_H #ifndef IRSSI_FE_COMMON_IRC_DCC_FE_DCC_H
#define __FE_DCC_H #define IRSSI_FE_COMMON_IRC_DCC_FE_DCC_H
char *dcc_get_size_str(uoff_t size); char *dcc_get_size_str(uoff_t size);
void dcc_list_print_file(FILE_DCC_REC *dcc); void dcc_list_print_file(FILE_DCC_REC *dcc);

View File

@ -1,5 +1,5 @@
#ifndef __FE_IRC_CHANNELS_H #ifndef IRSSI_FE_COMMON_IRC_FE_IRC_CHANNELS_H
#define __FE_IRC_CHANNELS_H #define IRSSI_FE_COMMON_IRC_FE_IRC_CHANNELS_H
int fe_channel_is_opchannel(IRC_SERVER_REC *server, const char *target); int fe_channel_is_opchannel(IRC_SERVER_REC *server, const char *target);
const char *fe_channel_skip_prefix(IRC_SERVER_REC *server, const char *target); const char *fe_channel_skip_prefix(IRC_SERVER_REC *server, const char *target);

View File

@ -1,5 +1,5 @@
#ifndef __FE_IRC_SERVER_H #ifndef IRSSI_FE_COMMON_IRC_FE_IRC_SERVER_H
#define __FE_IRC_SERVER_H #define IRSSI_FE_COMMON_IRC_FE_IRC_SERVER_H
const char *get_visible_target(IRC_SERVER_REC *server, const char *target); const char *get_visible_target(IRC_SERVER_REC *server, const char *target);

View File

@ -1,5 +1,5 @@
#ifndef __GUI_ENTRY_H #ifndef IRSSI_FE_TEXT_GUI_ENTRY_H
#define __GUI_ENTRY_H #define IRSSI_FE_TEXT_GUI_ENTRY_H
typedef struct { typedef struct {
int cutbuffer_len; int cutbuffer_len;

View File

@ -1,5 +1,5 @@
#ifndef __GUI_PRINTTEXT_H #ifndef IRSSI_FE_TEXT_GUI_PRINTTEXT_H
#define __GUI_PRINTTEXT_H #define IRSSI_FE_TEXT_GUI_PRINTTEXT_H
#include <irssi/src/fe-text/gui-windows.h> #include <irssi/src/fe-text/gui-windows.h>
#include <irssi/src/fe-text/textbuffer-view.h> #include <irssi/src/fe-text/textbuffer-view.h>

View File

@ -1,5 +1,5 @@
#ifndef __GUI_READLINE_H #ifndef IRSSI_FE_TEXT_GUI_READLINE_H
#define __GUI_READLINE_H #define IRSSI_FE_TEXT_GUI_READLINE_H
extern char *cutbuffer; extern char *cutbuffer;

View File

@ -1,5 +1,5 @@
#ifndef __GUI_WINDOWS_H #ifndef IRSSI_FE_TEXT_GUI_WINDOWS_H
#define __GUI_WINDOWS_H #define IRSSI_FE_TEXT_GUI_WINDOWS_H
#include <irssi/src/fe-text/mainwindows.h> #include <irssi/src/fe-text/mainwindows.h>
#include <irssi/src/fe-text/textbuffer-view.h> #include <irssi/src/fe-text/textbuffer-view.h>

View File

@ -1,5 +1,5 @@
#ifndef __MAINWINDOWS_H #ifndef IRSSI_FE_TEXT_MAINWINDOWS_H
#define __MAINWINDOWS_H #define IRSSI_FE_TEXT_MAINWINDOWS_H
#include <irssi/src/fe-common/core/fe-windows.h> #include <irssi/src/fe-common/core/fe-windows.h>
#include <irssi/src/fe-text/term.h> #include <irssi/src/fe-text/term.h>

View File

@ -1,5 +1,5 @@
#ifndef __STATUSBAR_CONFIG_H #ifndef IRSSI_FE_TEXT_STATUSBAR_CONFIG_H
#define __STATUSBAR_CONFIG_H #define IRSSI_FE_TEXT_STATUSBAR_CONFIG_H
#include <irssi/src/fe-text/statusbar.h> #include <irssi/src/fe-text/statusbar.h>

View File

@ -1,5 +1,5 @@
#ifndef __STATUSBAR_H #ifndef IRSSI_FE_TEXT_STATUSBAR_H
#define __STATUSBAR_H #define IRSSI_FE_TEXT_STATUSBAR_H
#include <irssi/src/fe-text/mainwindows.h> #include <irssi/src/fe-text/mainwindows.h>
#include <irssi/src/fe-text/statusbar-item.h> #include <irssi/src/fe-text/statusbar-item.h>

View File

@ -1,5 +1,5 @@
#ifndef __TERM_H #ifndef IRSSI_FE_TEXT_TERM_H
#define __TERM_H #define IRSSI_FE_TEXT_TERM_H
typedef struct _TERM_WINDOW TERM_WINDOW; typedef struct _TERM_WINDOW TERM_WINDOW;

View File

@ -1,5 +1,5 @@
#ifndef __TERMINFO_CORE_H #ifndef IRSSI_FE_TEXT_TERMINFO_CORE_H
#define __TERMINFO_CORE_H #define IRSSI_FE_TEXT_TERMINFO_CORE_H
#include <termios.h> #include <termios.h>

View File

@ -1,5 +1,5 @@
#ifndef __TEXTBUFFER_VIEW_H #ifndef IRSSI_FE_TEXT_TEXTBUFFER_VIEW_H
#define __TEXTBUFFER_VIEW_H #define IRSSI_FE_TEXT_TEXTBUFFER_VIEW_H
#include <irssi/src/fe-text/textbuffer.h> #include <irssi/src/fe-text/textbuffer.h>
#include <irssi/src/fe-text/term.h> #include <irssi/src/fe-text/term.h>

View File

@ -1,5 +1,5 @@
#ifndef __TEXTBUFFER_H #ifndef IRSSI_FE_TEXT_TEXTBUFFER_H
#define __TEXTBUFFER_H #define IRSSI_FE_TEXT_TEXTBUFFER_H
/* Make sure TEXT_CHUNK_REC is not slightly more than a page, as that /* Make sure TEXT_CHUNK_REC is not slightly more than a page, as that
wastes a lot of memory. */ wastes a lot of memory. */

View File

@ -1,5 +1,5 @@
#ifndef __BANS_H #ifndef IRSSI_IRC_CORE_BANS_H
#define __BANS_H #define IRSSI_IRC_CORE_BANS_H
void bans_init(void); void bans_init(void);
void bans_deinit(void); void bans_deinit(void);

View File

@ -1,5 +1,5 @@
#ifndef __CHANNEL_EVENTS_H #ifndef IRSSI_IRC_CORE_CHANNEL_EVENTS_H
#define __CHANNEL_EVENTS_H #define IRSSI_IRC_CORE_CHANNEL_EVENTS_H
#include <irssi/src/irc/core/irc.h> #include <irssi/src/irc/core/irc.h>

View File

@ -1,5 +1,5 @@
#ifndef __CHANNEL_REJOIN_H #ifndef IRSSI_IRC_CORE_CHANNEL_REJOIN_H
#define __CHANNEL_REJOIN_H #define IRSSI_IRC_CORE_CHANNEL_REJOIN_H
typedef struct { typedef struct {
char *channel; char *channel;

View File

@ -1,5 +1,5 @@
#ifndef __CTCP_H #ifndef IRSSI_IRC_CORE_CTCP_H
#define __CTCP_H #define IRSSI_IRC_CORE_CTCP_H
/* Register/unregister CTCP command, so it shows in CTCP CLIENTINFO */ /* Register/unregister CTCP command, so it shows in CTCP CLIENTINFO */
void ctcp_register(const char *name); void ctcp_register(const char *name);

View File

@ -1,5 +1,5 @@
#ifndef __IRC_CAP_H #ifndef IRSSI_IRC_CORE_IRC_CAP_H
#define __IRC_CAP_H #define IRSSI_IRC_CORE_IRC_CAP_H
void irc_cap_init(void); void irc_cap_init(void);
void irc_cap_deinit(void); void irc_cap_deinit(void);

View File

@ -1,5 +1,5 @@
#ifndef __IRC_CHANNELS_H #ifndef IRSSI_IRC_CORE_IRC_CHANNELS_H
#define __IRC_CHANNELS_H #define IRSSI_IRC_CORE_IRC_CHANNELS_H
#include <irssi/src/core/chat-protocols.h> #include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/channels.h> #include <irssi/src/core/channels.h>

View File

@ -1,5 +1,5 @@
#ifndef __IRC_CHATNETS_H #ifndef IRSSI_IRC_CORE_IRC_CHATNETS_H
#define __IRC_CHATNETS_H #define IRSSI_IRC_CORE_IRC_CHATNETS_H
#include <irssi/src/core/chat-protocols.h> #include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/chatnets.h> #include <irssi/src/core/chatnets.h>

View File

@ -1,5 +1,5 @@
#ifndef __IRC_COMMANDS_H #ifndef IRSSI_IRC_CORE_IRC_COMMANDS_H
#define __IRC_COMMANDS_H #define IRSSI_IRC_CORE_IRC_COMMANDS_H
#include <irssi/src/core/commands.h> #include <irssi/src/core/commands.h>

View File

@ -1,5 +1,5 @@
#ifndef __IRC_MASKS_H #ifndef IRSSI_IRC_CORE_IRC_MASKS_H
#define __IRC_MASKS_H #define IRSSI_IRC_CORE_IRC_MASKS_H
#include <irssi/src/core/masks.h> #include <irssi/src/core/masks.h>

View File

@ -1,5 +1,5 @@
#ifndef __IRC_NICKLIST_H #ifndef IRSSI_IRC_CORE_IRC_NICKLIST_H
#define __IRC_NICKLIST_H #define IRSSI_IRC_CORE_IRC_NICKLIST_H
#include <irssi/src/core/nicklist.h> #include <irssi/src/core/nicklist.h>

View File

@ -1,5 +1,5 @@
#ifndef __IRC_QUERIES_H #ifndef IRSSI_IRC_CORE_IRC_QUERIES_H
#define __IRC_QUERIES_H #define IRSSI_IRC_CORE_IRC_QUERIES_H
#include <irssi/src/core/chat-protocols.h> #include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/queries.h> #include <irssi/src/core/queries.h>

View File

@ -1,5 +1,5 @@
#ifndef __IRC_SERVERS_SETUP_H #ifndef IRSSI_IRC_CORE_IRC_SERVERS_SETUP_H
#define __IRC_SERVERS_SETUP_H #define IRSSI_IRC_CORE_IRC_SERVERS_SETUP_H
#include <irssi/src/core/chat-protocols.h> #include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/servers-setup.h> #include <irssi/src/core/servers-setup.h>

View File

@ -1,5 +1,5 @@
#ifndef __IRC_SERVERS_H #ifndef IRSSI_IRC_CORE_IRC_SERVERS_H
#define __IRC_SERVERS_H #define IRSSI_IRC_CORE_IRC_SERVERS_H
#include <irssi/src/core/chat-protocols.h> #include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/servers.h> #include <irssi/src/core/servers.h>

View File

@ -1,5 +1,5 @@
#ifndef __IRC_H #ifndef IRSSI_IRC_CORE_IRC_H
#define __IRC_H #define IRSSI_IRC_CORE_IRC_H
typedef struct _IRC_CHATNET_REC IRC_CHATNET_REC; typedef struct _IRC_CHATNET_REC IRC_CHATNET_REC;
typedef struct _IRC_SERVER_CONNECT_REC IRC_SERVER_CONNECT_REC; typedef struct _IRC_SERVER_CONNECT_REC IRC_SERVER_CONNECT_REC;

View File

@ -1,5 +1,5 @@
#ifndef __MODE_LISTS_H #ifndef IRSSI_IRC_CORE_MODE_LISTS_H
#define __MODE_LISTS_H #define IRSSI_IRC_CORE_MODE_LISTS_H
typedef struct { typedef struct {
char *ban; char *ban;

View File

@ -1,5 +1,5 @@
#ifndef __MODES_H #ifndef IRSSI_IRC_CORE_MODES_H
#define __MODES_H #define IRSSI_IRC_CORE_MODES_H
#include <irssi/src/irc/core/irc-channels.h> #include <irssi/src/irc/core/irc-channels.h>
#include <irssi/src/core/nicklist.h> /* MAX_USER_PREFIXES */ #include <irssi/src/core/nicklist.h> /* MAX_USER_PREFIXES */

View File

@ -1,5 +1,5 @@
#ifndef __NETSPLIT_H #ifndef IRSSI_IRC_CORE_NETSPLIT_H
#define __NETSPLIT_H #define IRSSI_IRC_CORE_NETSPLIT_H
#include <irssi/src/core/nicklist.h> #include <irssi/src/core/nicklist.h>

View File

@ -18,8 +18,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __SASL_H #ifndef IRSSI_IRC_CORE_SASL_H
#define __SASL_H #define IRSSI_IRC_CORE_SASL_H
enum { enum {
SASL_MECHANISM_NONE = 0, SASL_MECHANISM_NONE = 0,

View File

@ -1,5 +1,5 @@
#ifndef __SERVERS_IDLE_H #ifndef IRSSI_IRC_CORE_SERVERS_IDLE_H
#define __SERVERS_IDLE_H #define IRSSI_IRC_CORE_SERVERS_IDLE_H
/* Add new idle command to queue */ /* Add new idle command to queue */
int server_idle_add_redir(IRC_SERVER_REC *server, const char *cmd, int server_idle_add_redir(IRC_SERVER_REC *server, const char *cmd,

View File

@ -1,5 +1,5 @@
#ifndef __SERVERS_REDIRECT_H #ifndef IRSSI_IRC_CORE_SERVERS_REDIRECT_H
#define __SERVERS_REDIRECT_H #define IRSSI_IRC_CORE_SERVERS_REDIRECT_H
/* Register new redirection command. /* Register new redirection command.

View File

@ -1,5 +1,5 @@
#ifndef __DCC_CHAT_H #ifndef IRSSI_IRC_DCC_DCC_CHAT_H
#define __DCC_CHAT_H #define IRSSI_IRC_DCC_DCC_CHAT_H
#include <irssi/src/irc/dcc/dcc.h> #include <irssi/src/irc/dcc/dcc.h>

View File

@ -1,5 +1,5 @@
#ifndef __DCC_FILE_H #ifndef IRSSI_IRC_DCC_DCC_FILE_H
#define __DCC_FILE_H #define IRSSI_IRC_DCC_DCC_FILE_H
#include <irssi/src/irc/dcc/dcc.h> #include <irssi/src/irc/dcc/dcc.h>

View File

@ -1,5 +1,5 @@
#ifndef __DCC_GET_H #ifndef IRSSI_IRC_DCC_DCC_GET_H
#define __DCC_GET_H #define IRSSI_IRC_DCC_DCC_GET_H
#include <irssi/src/irc/dcc/dcc.h> #include <irssi/src/irc/dcc/dcc.h>

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