mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
update include guard names
This commit is contained in:
parent
03ca37c12e
commit
37f7c7f374
114 changed files with 232 additions and 232 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __ARGS_H
|
||||
#define __ARGS_H
|
||||
#ifndef IRSSI_CORE_ARGS_H
|
||||
#define IRSSI_CORE_ARGS_H
|
||||
|
||||
void args_register(GOptionEntry *options);
|
||||
void args_execute(int argc, char *argv[]);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CAPSICUM_H
|
||||
#define __CAPSICUM_H
|
||||
#ifndef IRSSI_CORE_CAPSICUM_H
|
||||
#define IRSSI_CORE_CAPSICUM_H
|
||||
|
||||
gboolean capsicum_enabled(void);
|
||||
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_deinit(void);
|
||||
|
||||
#endif /* !__CAPSICUM_H */
|
||||
#endif /* !IRSSI_CORE_CAPSICUM_H */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CHANNELS_SETUP_H
|
||||
#define __CHANNELS_SETUP_H
|
||||
#ifndef IRSSI_CORE_CHANNELS_SETUP_H
|
||||
#define IRSSI_CORE_CHANNELS_SETUP_H
|
||||
|
||||
#include <irssi/src/core/modules.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CHANNELS_H
|
||||
#define __CHANNELS_H
|
||||
#ifndef IRSSI_CORE_CHANNELS_H
|
||||
#define IRSSI_CORE_CHANNELS_H
|
||||
|
||||
#include <irssi/src/core/modules.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CHAT_PROTOCOLS_H
|
||||
#define __CHAT_PROTOCOLS_H
|
||||
#ifndef IRSSI_CORE_CHAT_PROTOCOLS_H
|
||||
#define IRSSI_CORE_CHAT_PROTOCOLS_H
|
||||
|
||||
struct _CHAT_PROTOCOL_REC {
|
||||
int id;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CHATNETS_H
|
||||
#define __CHATNETS_H
|
||||
#ifndef IRSSI_CORE_CHATNETS_H
|
||||
#define IRSSI_CORE_CHATNETS_H
|
||||
|
||||
#include <irssi/src/core/modules.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __COMMANDS_H
|
||||
#define __COMMANDS_H
|
||||
#ifndef IRSSI_CORE_COMMANDS_H
|
||||
#define IRSSI_CORE_COMMANDS_H
|
||||
|
||||
#include <irssi/src/core/signals.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __IRSSI_CORE_H
|
||||
#define __IRSSI_CORE_H
|
||||
#ifndef IRSSI_CORE_CORE_H
|
||||
#define IRSSI_CORE_CORE_H
|
||||
|
||||
#include <irssi/src/common.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __EXPANDOS_H
|
||||
#define __EXPANDOS_H
|
||||
#ifndef IRSSI_CORE_EXPANDOS_H
|
||||
#define IRSSI_CORE_EXPANDOS_H
|
||||
|
||||
#include <irssi/src/core/signals.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __IGNORE_H
|
||||
#define __IGNORE_H
|
||||
#ifndef IRSSI_CORE_IGNORE_H
|
||||
#define IRSSI_CORE_IGNORE_H
|
||||
|
||||
#include <irssi/src/core/iregex.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __REGEX_H
|
||||
#define __REGEX_H
|
||||
#ifndef IRSSI_CORE_IREGEX_H
|
||||
#define IRSSI_CORE_IREGEX_H
|
||||
|
||||
#include <irssi/src/common.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __LEVELS_H
|
||||
#define __LEVELS_H
|
||||
#ifndef IRSSI_CORE_LEVELS_H
|
||||
#define IRSSI_CORE_LEVELS_H
|
||||
|
||||
/* 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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __LINE_SPLIT_H
|
||||
#define __LINE_SPLIT_H
|
||||
#ifndef IRSSI_CORE_LINE_SPLIT_H
|
||||
#define IRSSI_CORE_LINE_SPLIT_H
|
||||
|
||||
/* line-split `data'. Initially `*buffer' should contain NULL. */
|
||||
int line_split(const char *data, int len, char **output, LINEBUF_REC **buffer);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __LOG_H
|
||||
#define __LOG_H
|
||||
#ifndef IRSSI_CORE_LOG_H
|
||||
#define IRSSI_CORE_LOG_H
|
||||
|
||||
enum {
|
||||
LOG_ITEM_TARGET, /* channel, query, .. */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __MASKS_H
|
||||
#define __MASKS_H
|
||||
#ifndef IRSSI_CORE_MASKS_H
|
||||
#define IRSSI_CORE_MASKS_H
|
||||
|
||||
int mask_match(SERVER_REC *server, const char *mask,
|
||||
const char *nick, const char *user, const char *host);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __MISC_H
|
||||
#define __MISC_H
|
||||
#ifndef IRSSI_CORE_MISC_H
|
||||
#define IRSSI_CORE_MISC_H
|
||||
|
||||
int g_input_add_poll(int fd, int priority, int condition,
|
||||
GInputFunction function, void *data);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __MODULES_LOAD_H
|
||||
#define __MODULES_LOAD_H
|
||||
#ifndef IRSSI_CORE_MODULES_LOAD_H
|
||||
#define IRSSI_CORE_MODULES_LOAD_H
|
||||
|
||||
#include <irssi/src/core/modules.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __MODULES_H
|
||||
#define __MODULES_H
|
||||
#ifndef IRSSI_CORE_MODULES_H
|
||||
#define IRSSI_CORE_MODULES_H
|
||||
|
||||
#define MODULE_DATA_INIT(rec) \
|
||||
(rec)->module_data = g_hash_table_new(g_str_hash, g_str_equal)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __NET_DISCONNECT_H
|
||||
#define __NET_DISCONNECT_H
|
||||
#ifndef IRSSI_CORE_NET_DISCONNECT_H
|
||||
#define IRSSI_CORE_NET_DISCONNECT_H
|
||||
|
||||
/* Try to let the other side close the connection, if it still isn't
|
||||
disconnected after certain amount of time, close it ourself */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __NET_NONBLOCK_H
|
||||
#define __NET_NONBLOCK_H
|
||||
#ifndef IRSSI_CORE_NET_NONBLOCK_H
|
||||
#define IRSSI_CORE_NET_NONBLOCK_H
|
||||
|
||||
#include <irssi/src/core/network.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __NET_SENDBUFFER_H
|
||||
#define __NET_SENDBUFFER_H
|
||||
#ifndef IRSSI_CORE_NET_SENDBUFFER_H
|
||||
#define IRSSI_CORE_NET_SENDBUFFER_H
|
||||
|
||||
#define DEFAULT_BUFFER_SIZE 8192
|
||||
#define MAX_BUFFER_SIZE 1048576
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __NETWORK_OPENSSL_H
|
||||
#define __NETWORK_OPENSSL_H
|
||||
#ifndef IRSSI_CORE_NETWORK_OPENSSL_H
|
||||
#define IRSSI_CORE_NETWORK_OPENSSL_H
|
||||
|
||||
gboolean irssi_ssl_init(void);
|
||||
|
||||
#endif /* !__NETWORK_OPENSSL_H */
|
||||
#endif /* !IRSSI_CORE_NETWORK_OPENSSL_H */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __NETWORK_H
|
||||
#define __NETWORK_H
|
||||
#ifndef IRSSI_CORE_NETWORK_H
|
||||
#define IRSSI_CORE_NETWORK_H
|
||||
|
||||
#ifdef HAVE_SOCKS_H
|
||||
#include <socks.h>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __NICKLIST_H
|
||||
#define __NICKLIST_H
|
||||
#ifndef IRSSI_CORE_NICKLIST_H
|
||||
#define IRSSI_CORE_NICKLIST_H
|
||||
|
||||
/* Returns NICK_REC if it's nick, NULL if it isn't. */
|
||||
#define NICK(server) \
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __NICKMATCH_CACHE_H
|
||||
#define __NICKMATCH_CACHE_H
|
||||
#ifndef IRSSI_CORE_NICKMATCH_CACHE_H
|
||||
#define IRSSI_CORE_NICKMATCH_CACHE_H
|
||||
|
||||
typedef void (*NICKMATCH_REBUILD_FUNC) (GHashTable *list,
|
||||
CHANNEL_REC *channel, NICK_REC *nick);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __PIDWAIT_H
|
||||
#define __PIDWAIT_H
|
||||
#ifndef IRSSI_CORE_PIDWAIT_H
|
||||
#define IRSSI_CORE_PIDWAIT_H
|
||||
|
||||
void pidwait_init(void);
|
||||
void pidwait_deinit(void);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __QUERIES_H
|
||||
#define __QUERIES_H
|
||||
#ifndef IRSSI_CORE_QUERIES_H
|
||||
#define IRSSI_CORE_QUERIES_H
|
||||
|
||||
#include <irssi/src/core/modules.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __RAWLOG_H
|
||||
#define __RAWLOG_H
|
||||
#ifndef IRSSI_CORE_RAWLOG_H
|
||||
#define IRSSI_CORE_RAWLOG_H
|
||||
|
||||
struct _RAWLOG_REC {
|
||||
int logging;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __RECODE_H
|
||||
#define __RECODE_H
|
||||
#ifndef IRSSI_CORE_RECODE_H
|
||||
#define IRSSI_CORE_RECODE_H
|
||||
|
||||
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);
|
||||
|
|
@ -12,4 +12,4 @@ void recode_update_charset(void);
|
|||
void recode_init (void);
|
||||
void recode_deinit (void);
|
||||
|
||||
#endif /* __RECODE_H */
|
||||
#endif /* IRSSI_CORE_RECODE_H */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SERVER_RECONNECT_H
|
||||
#define __SERVER_RECONNECT_H
|
||||
#ifndef IRSSI_CORE_SERVERS_RECONNECT_H
|
||||
#define IRSSI_CORE_SERVERS_RECONNECT_H
|
||||
|
||||
/* wait for half an hour before trying to reconnect to host where last
|
||||
connection failed */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SERVERS_SETUP_H
|
||||
#define __SERVERS_SETUP_H
|
||||
#ifndef IRSSI_CORE_SERVERS_SETUP_H
|
||||
#define IRSSI_CORE_SERVERS_SETUP_H
|
||||
|
||||
#include <irssi/src/core/modules.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SERVERS_H
|
||||
#define __SERVERS_H
|
||||
#ifndef IRSSI_CORE_SERVERS_H
|
||||
#define IRSSI_CORE_SERVERS_H
|
||||
|
||||
#include <irssi/src/core/modules.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SESSION_H
|
||||
#define __SESSION_H
|
||||
#ifndef IRSSI_CORE_SESSION_H
|
||||
#define IRSSI_CORE_SESSION_H
|
||||
|
||||
extern char *irssi_binary;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SETTINGS_H
|
||||
#define __SETTINGS_H
|
||||
#ifndef IRSSI_CORE_SETTINGS_H
|
||||
#define IRSSI_CORE_SETTINGS_H
|
||||
|
||||
typedef enum {
|
||||
SETTING_TYPE_STRING,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SIGNAL_H
|
||||
#define __SIGNAL_H
|
||||
#ifndef IRSSI_CORE_SIGNALS_H
|
||||
#define IRSSI_CORE_SIGNALS_H
|
||||
|
||||
#define SIGNAL_PRIORITY_LOW 100
|
||||
#define SIGNAL_PRIORITY_DEFAULT 0
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SPECIAL_VARS_H
|
||||
#define __SPECIAL_VARS_H
|
||||
#ifndef IRSSI_CORE_SPECIAL_VARS_H
|
||||
#define IRSSI_CORE_SPECIAL_VARS_H
|
||||
|
||||
#include <irssi/src/core/signals.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
* Franklin Street, Fifth Floor, Boston, MA 02110-1301,USA
|
||||
*/
|
||||
|
||||
#ifndef __TLS_H
|
||||
#define __TLS_H
|
||||
#ifndef IRSSI_CORE_TLS_H
|
||||
#define IRSSI_CORE_TLS_H
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __UTF8_H
|
||||
#define __UTF8_H
|
||||
#ifndef IRSSI_CORE_UTF8_H
|
||||
#define IRSSI_CORE_UTF8_H
|
||||
|
||||
/* XXX I didn't check the encoding range of big5+. This is standard big5. */
|
||||
#define is_big5_los(lo) (0x40 <= (lo) && (lo) <= 0x7E) /* standard */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __WINDOW_ITEM_DEF_H
|
||||
#define __WINDOW_ITEM_DEF_H
|
||||
#ifndef IRSSI_CORE_WINDOW_ITEM_DEF_H
|
||||
#define IRSSI_CORE_WINDOW_ITEM_DEF_H
|
||||
|
||||
#define STRUCT_SERVER_REC SERVER_REC
|
||||
struct _WI_ITEM_REC {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __WRITE_BUFFER_H
|
||||
#define __WRITE_BUFFER_H
|
||||
#ifndef IRSSI_CORE_WRITE_BUFFER_H
|
||||
#define IRSSI_CORE_WRITE_BUFFER_H
|
||||
|
||||
int write_buffer(int handle, const void *data, int size);
|
||||
void write_buffer_flush(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue