1
0
Fork 0

Use full paths to includes

This commit is contained in:
ailin-nemui 2019-05-01 16:33:47 +02:00
parent d5fd789674
commit 7e6e1f2e10
303 changed files with 1702 additions and 1769 deletions

View File

@ -765,6 +765,13 @@ themes/Makefile
irssi-config
])
dnl ** make the paths like include headers later
AC_CONFIG_LINKS([
irssi/irssi-config.h:irssi-config.h
irssi/irssi-version.h:irssi-version.h
])
AC_LINK_FILES([$srcdir/src],[irssi/src])
AC_OUTPUT
dnl ** for building from objdir

View File

@ -11,9 +11,7 @@
#define DEFAULT_SERVER_ADD_PORT 6667
#define DEFAULT_SERVER_ADD_TLS_PORT 6697
#ifdef HAVE_CONFIG_H
#include "irssi-config.h"
#endif
#include <irssi/irssi-config.h>
#include <stdio.h>
#include <stddef.h>

View File

@ -1,8 +1,6 @@
noinst_LIBRARIES = libcore.a
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core \
$(GLIB_CFLAGS) \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DMODULEDIR=\""$(libdir)/irssi/modules"\"

View File

@ -19,7 +19,7 @@
*/
#include "module.h"
#include "args.h"
#include <irssi/src/core/args.h>
static GOptionContext *context = NULL;

View File

@ -23,14 +23,14 @@
*/
#include "module.h"
#include "capsicum.h"
#include "commands.h"
#include "log.h"
#include "misc.h"
#include "network.h"
#include "network-openssl.h"
#include "settings.h"
#include "signals.h"
#include <irssi/src/core/capsicum.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/log.h>
#include <irssi/src/core/misc.h>
#include <irssi/src/core/network.h>
#include <irssi/src/core/network-openssl.h>
#include <irssi/src/core/settings.h>
#include <irssi/src/core/signals.h>
#include <sys/param.h>
#include <sys/capsicum.h>

View File

@ -1,6 +1,6 @@
/* CHANNEL_REC definition, used for inheritance */
#include "window-item-rec.h"
#include <irssi/src/core/window-item-rec.h>
char *topic;
char *topic_by;

View File

@ -19,14 +19,14 @@
*/
#include "module.h"
#include "signals.h"
#include "lib-config/iconfig.h"
#include "settings.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/lib-config/iconfig.h>
#include <irssi/src/core/settings.h>
#include "chat-protocols.h"
#include "chatnets.h"
#include "servers-setup.h"
#include "channels-setup.h"
#include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/chatnets.h>
#include <irssi/src/core/servers-setup.h>
#include <irssi/src/core/channels-setup.h>
GSList *setupchannels;

View File

@ -1,7 +1,7 @@
#ifndef __CHANNELS_SETUP_H
#define __CHANNELS_SETUP_H
#include "modules.h"
#include <irssi/src/core/modules.h>
#define CHANNEL_SETUP(server) \
MODULE_CHECK_CAST(server, CHANNEL_SETUP_REC, type, "CHANNEL SETUP")
@ -10,7 +10,7 @@
(CHANNEL_SETUP(server) ? TRUE : FALSE)
struct _CHANNEL_SETUP_REC {
#include "channel-setup-rec.h"
#include <irssi/src/core/channel-setup-rec.h>
};
extern GSList *setupchannels;

View File

@ -19,14 +19,14 @@
*/
#include "module.h"
#include "signals.h"
#include "misc.h"
#include "special-vars.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/misc.h>
#include <irssi/src/core/special-vars.h>
#include "servers.h"
#include "channels.h"
#include "channels-setup.h"
#include "nicklist.h"
#include <irssi/src/core/servers.h>
#include <irssi/src/core/channels.h>
#include <irssi/src/core/channels-setup.h>
#include <irssi/src/core/nicklist.h>
GSList *channels; /* List of all channels */

View File

@ -1,7 +1,7 @@
#ifndef __CHANNELS_H
#define __CHANNELS_H
#include "modules.h"
#include <irssi/src/core/modules.h>
/* Returns CHANNEL_REC if it's channel, NULL if it isn't. */
#define CHANNEL(channel) \
@ -13,7 +13,7 @@
#define STRUCT_SERVER_REC SERVER_REC
struct _CHANNEL_REC {
#include "channel-rec.h"
#include <irssi/src/core/channel-rec.h>
};
extern GSList *channels;

View File

@ -19,20 +19,20 @@
*/
#include "module.h"
#include "network.h"
#include "signals.h"
#include "commands.h"
#include "special-vars.h"
#include "settings.h"
#include <irssi/src/core/network.h>
#include <irssi/src/core/signals.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/special-vars.h>
#include <irssi/src/core/settings.h>
#include "chat-protocols.h"
#include "servers.h"
#include "servers-setup.h"
#include "servers-reconnect.h"
#include "channels.h"
#include "queries.h"
#include "window-item-def.h"
#include "rawlog.h"
#include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/servers-setup.h>
#include <irssi/src/core/servers-reconnect.h>
#include <irssi/src/core/channels.h>
#include <irssi/src/core/queries.h>
#include <irssi/src/core/window-item-def.h>
#include <irssi/src/core/rawlog.h>
static SERVER_CONNECT_REC *get_server_connect(const char *data, int *plus_addr,
char **rawlog_file)

View File

@ -19,14 +19,14 @@
*/
#include "module.h"
#include "modules.h"
#include "signals.h"
#include "chat-protocols.h"
#include <irssi/src/core/modules.h>
#include <irssi/src/core/signals.h>
#include <irssi/src/core/chat-protocols.h>
#include "chatnets.h"
#include "servers.h"
#include "servers-setup.h"
#include "channels-setup.h"
#include <irssi/src/core/chatnets.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/servers-setup.h>
#include <irssi/src/core/channels-setup.h>
GSList *chat_protocols;

View File

@ -19,15 +19,15 @@
*/
#include "module.h"
#include "network.h"
#include "signals.h"
#include "special-vars.h"
#include "lib-config/iconfig.h"
#include "settings.h"
#include <irssi/src/core/network.h>
#include <irssi/src/core/signals.h>
#include <irssi/src/core/special-vars.h>
#include <irssi/src/lib-config/iconfig.h>
#include <irssi/src/core/settings.h>
#include "chat-protocols.h"
#include "chatnets.h"
#include "servers.h"
#include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/chatnets.h>
#include <irssi/src/core/servers.h>
GSList *chatnets; /* list of available chat networks */

View File

@ -1,7 +1,7 @@
#ifndef __CHATNETS_H
#define __CHATNETS_H
#include "modules.h"
#include <irssi/src/core/modules.h>
/* Returns CHATNET_REC if it's chatnet, NULL if it isn't. */
#define CHATNET(chatnet) \
@ -11,7 +11,7 @@
(CHATNET(chatnet) ? TRUE : FALSE)
struct _CHATNET_REC {
#include "chatnet-rec.h"
#include <irssi/src/core/chatnet-rec.h>
};
extern GSList *chatnets; /* list of available chat networks */

View File

@ -19,17 +19,17 @@
*/
#include "module.h"
#include "signals.h"
#include "commands.h"
#include "misc.h"
#include "special-vars.h"
#include "window-item-def.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/misc.h>
#include <irssi/src/core/special-vars.h>
#include <irssi/src/core/window-item-def.h>
#include "servers.h"
#include "channels.h"
#include <irssi/src/core/servers.h>
#include <irssi/src/core/channels.h>
#include "lib-config/iconfig.h"
#include "settings.h"
#include <irssi/src/lib-config/iconfig.h>
#include <irssi/src/core/settings.h>
GSList *commands;
char *current_command;

View File

@ -1,7 +1,7 @@
#ifndef __COMMANDS_H
#define __COMMANDS_H
#include "signals.h"
#include <irssi/src/core/signals.h>
typedef struct {
SIGNAL_FUNC func;

View File

@ -21,33 +21,33 @@
#include "module.h"
#include <signal.h>
#include "args.h"
#include "pidwait.h"
#include "misc.h"
#include <irssi/src/core/args.h>
#include <irssi/src/core/pidwait.h>
#include <irssi/src/core/misc.h>
#include "net-disconnect.h"
#include "signals.h"
#include "settings.h"
#include "session.h"
#include <irssi/src/core/net-disconnect.h>
#include <irssi/src/core/signals.h>
#include <irssi/src/core/settings.h>
#include <irssi/src/core/session.h>
#ifdef HAVE_CAPSICUM
#include "capsicum.h"
#include <irssi/src/core/capsicum.h>
#endif
#include "chat-protocols.h"
#include "servers.h"
#include "chatnets.h"
#include "commands.h"
#include "expandos.h"
#include "write-buffer.h"
#include "log.h"
#include "rawlog.h"
#include "ignore.h"
#include "recode.h"
#include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/chatnets.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/expandos.h>
#include <irssi/src/core/write-buffer.h>
#include <irssi/src/core/log.h>
#include <irssi/src/core/rawlog.h>
#include <irssi/src/core/ignore.h>
#include <irssi/src/core/recode.h>
#include "channels.h"
#include "queries.h"
#include "nicklist.h"
#include "nickmatch-cache.h"
#include <irssi/src/core/channels.h>
#include <irssi/src/core/queries.h>
#include <irssi/src/core/nicklist.h>
#include <irssi/src/core/nickmatch-cache.h>
#ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h>

View File

@ -1,7 +1,7 @@
#ifndef __IRSSI_CORE_H
#define __IRSSI_CORE_H
#include "common.h"
#include <irssi/src/common.h>
/* for determining what GUI is currently in use: */
#define IRSSI_GUI_NONE 0

View File

@ -18,20 +18,20 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "core.h"
#include <irssi/src/core/core.h>
#include "module.h"
#include "modules.h"
#include "signals.h"
#include "expandos.h"
#include "settings.h"
#include "commands.h"
#include "misc.h"
#include "irssi-version.h"
#include <irssi/src/core/modules.h>
#include <irssi/src/core/signals.h>
#include <irssi/src/core/expandos.h>
#include <irssi/src/core/settings.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/misc.h>
#include <irssi/irssi-version.h>
#include "servers.h"
#include "channels.h"
#include "queries.h"
#include "window-item-def.h"
#include <irssi/src/core/servers.h>
#include <irssi/src/core/channels.h>
#include <irssi/src/core/queries.h>
#include <irssi/src/core/window-item-def.h>
#ifdef HAVE_SYS_UTSNAME_H
# include <sys/utsname.h>

View File

@ -1,7 +1,7 @@
#ifndef __EXPANDOS_H
#define __EXPANDOS_H
#include "signals.h"
#include <irssi/src/core/signals.h>
/* first argument of signal must match to active .. */
typedef enum {

View File

@ -19,20 +19,20 @@
*/
#include "module.h"
#include "signals.h"
#include "misc.h"
#include "levels.h"
#include "lib-config/iconfig.h"
#include "settings.h"
#include "iregex.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/misc.h>
#include <irssi/src/core/levels.h>
#include <irssi/src/lib-config/iconfig.h>
#include <irssi/src/core/settings.h>
#include <irssi/src/core/iregex.h>
#include "masks.h"
#include "servers.h"
#include "channels.h"
#include "nicklist.h"
#include "nickmatch-cache.h"
#include <irssi/src/core/masks.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/channels.h>
#include <irssi/src/core/nicklist.h>
#include <irssi/src/core/nickmatch-cache.h>
#include "ignore.h"
#include <irssi/src/core/ignore.h>
GSList *ignores;

View File

@ -1,7 +1,7 @@
#ifndef __IGNORE_H
#define __IGNORE_H
#include "iregex.h"
#include <irssi/src/core/iregex.h>
typedef struct _IGNORE_REC IGNORE_REC;

View File

@ -1,6 +1,6 @@
#include <string.h>
#include "iregex.h"
#include <irssi/src/core/iregex.h>
struct _MatchInfo {
const char *valid_string;

View File

@ -1,4 +1,4 @@
#include "iregex.h"
#include <irssi/src/core/iregex.h>
Regex *
i_regex_new (const gchar *pattern,

View File

@ -1,7 +1,7 @@
#ifndef __REGEX_H
#define __REGEX_H
#include "common.h"
#include <irssi/src/common.h>
#ifdef USE_GREGEX

View File

@ -19,7 +19,7 @@
*/
#include "module.h"
#include "levels.h"
#include <irssi/src/core/levels.h>
/* the order of these levels must match the bits in levels.h */
static const char *levels[] = {

View File

@ -19,7 +19,7 @@
*/
#include "module.h"
#include "misc.h"
#include <irssi/src/core/misc.h>
/* Maximum line length - split to two lines if it's longer than this.

View File

@ -19,12 +19,12 @@
*/
#include "module.h"
#include "signals.h"
#include "levels.h"
#include "log.h"
#include "servers.h"
#include "settings.h"
#include "write-buffer.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/levels.h>
#include <irssi/src/core/log.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/settings.h>
#include <irssi/src/core/write-buffer.h>
static LOG_REC *awaylog;
static int away_filepos;

View File

@ -19,19 +19,19 @@
*/
#include "module.h"
#include "signals.h"
#include "commands.h"
#include "levels.h"
#include "misc.h"
#include "servers.h"
#include "log.h"
#include "write-buffer.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/levels.h>
#include <irssi/src/core/misc.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/log.h>
#include <irssi/src/core/write-buffer.h>
#ifdef HAVE_CAPSICUM
#include "capsicum.h"
#include <irssi/src/core/capsicum.h>
#endif
#include "lib-config/iconfig.h"
#include "settings.h"
#include <irssi/src/lib-config/iconfig.h>
#include <irssi/src/core/settings.h>
#define DEFAULT_LOG_FILE_CREATE_MODE 600

View File

@ -19,10 +19,10 @@
*/
#include "module.h"
#include "network.h"
#include "misc.h"
#include <irssi/src/core/network.h>
#include <irssi/src/core/misc.h>
#include "servers.h"
#include <irssi/src/core/servers.h>
/* Returns TRUE if mask contains '!' ie. address should be checked too.
Also checks if mask contained any wildcards. */

View File

@ -19,8 +19,8 @@
*/
#include "module.h"
#include "misc.h"
#include "commands.h"
#include <irssi/src/core/misc.h>
#include <irssi/src/core/commands.h>
typedef struct {
int condition;

View File

@ -1,3 +1,3 @@
#include "common.h"
#include <irssi/src/common.h>
#define MODULE_NAME "core"

View File

@ -19,13 +19,13 @@
*/
#include "module.h"
#include "modules.h"
#include "modules-load.h"
#include "signals.h"
#include <irssi/src/core/modules.h>
#include <irssi/src/core/modules-load.h>
#include <irssi/src/core/signals.h>
#include "settings.h"
#include "commands.h"
#include "misc.h"
#include <irssi/src/core/settings.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/misc.h>
#ifdef HAVE_GMODULE

View File

@ -1,7 +1,7 @@
#ifndef __MODULES_LOAD_H
#define __MODULES_LOAD_H
#include "modules.h"
#include <irssi/src/core/modules.h>
/* Load module - automatically tries to load also the related non-core
modules given in `prefixes' (like irc, fe, fe_text, ..) */

View File

@ -19,8 +19,8 @@
*/
#include "module.h"
#include "modules.h"
#include "signals.h"
#include <irssi/src/core/modules.h>
#include <irssi/src/core/signals.h>
GSList *modules;

View File

@ -19,7 +19,7 @@
*/
#include "module.h"
#include "network.h"
#include <irssi/src/core/network.h>
/* when quitting, wait for max. 5 seconds before forcing to close the socket */
#define MAX_QUIT_CLOSE_WAIT 5

View File

@ -22,8 +22,8 @@
#include <signal.h>
#include "pidwait.h"
#include "net-nonblock.h"
#include <irssi/src/core/pidwait.h>
#include <irssi/src/core/net-nonblock.h>
/* nonblocking gethostbyname(), ip (IPADDR) + error (int, 0 = not error) is
written to pipe when found PID of the resolver child is returned */

View File

@ -1,7 +1,7 @@
#ifndef __NET_NONBLOCK_H
#define __NET_NONBLOCK_H
#include "network.h"
#include <irssi/src/core/network.h>
typedef struct {
IPADDR ip4, ip6; /* resolved ip addresses */

View File

@ -20,9 +20,9 @@
#include "module.h"
#include "network.h"
#include "net-sendbuffer.h"
#include "line-split.h"
#include <irssi/src/core/network.h>
#include <irssi/src/core/net-sendbuffer.h>
#include <irssi/src/core/line-split.h>
/* Create new buffer - if `bufsize' is zero or less, DEFAULT_BUFFER_SIZE
is used */

View File

@ -19,13 +19,13 @@
*/
#include "module.h"
#include "network.h"
#include "network-openssl.h"
#include "net-sendbuffer.h"
#include "misc.h"
#include "servers.h"
#include "signals.h"
#include "tls.h"
#include <irssi/src/core/network.h>
#include <irssi/src/core/network-openssl.h>
#include <irssi/src/core/net-sendbuffer.h>
#include <irssi/src/core/misc.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/signals.h>
#include <irssi/src/core/tls.h>
#include <openssl/crypto.h>
#include <openssl/x509.h>

View File

@ -19,9 +19,9 @@
*/
#include "module.h"
#include "network.h"
#include <irssi/src/core/network.h>
#ifdef HAVE_CAPSICUM
#include "capsicum.h"
#include <irssi/src/core/capsicum.h>
#endif
#include <sys/un.h>

View File

@ -19,13 +19,13 @@
*/
#include "module.h"
#include "signals.h"
#include "misc.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/misc.h>
#include "servers.h"
#include "channels.h"
#include "nicklist.h"
#include "masks.h"
#include <irssi/src/core/servers.h>
#include <irssi/src/core/channels.h>
#include <irssi/src/core/nicklist.h>
#include <irssi/src/core/masks.h>
#define isalnumhigh(a) \
(i_isalnum(a) || (unsigned char) (a) >= 128)

View File

@ -11,7 +11,7 @@
#define MAX_USER_PREFIXES 7 /* Max prefixes kept for any user-in-chan. 7+1 is a memory unit */
struct _NICK_REC {
#include "nick-rec.h"
#include <irssi/src/core/nick-rec.h>
};
/* Add new nick to list */

View File

@ -19,12 +19,12 @@
*/
#include "module.h"
#include "signals.h"
#include <irssi/src/core/signals.h>
#include "channels.h"
#include "nicklist.h"
#include <irssi/src/core/channels.h>
#include <irssi/src/core/nicklist.h>
#include "nickmatch-cache.h"
#include <irssi/src/core/nickmatch-cache.h>
static GSList *lists;

View File

@ -19,8 +19,8 @@
*/
#include "module.h"
#include "signals.h"
#include "modules.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/modules.h>
static GHashTable *child_pids;
static GSList *pids;

View File

@ -19,11 +19,11 @@
*/
#include "module.h"
#include "signals.h"
#include "misc.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/misc.h>
#include "servers.h"
#include "queries.h"
#include <irssi/src/core/servers.h>
#include <irssi/src/core/queries.h>
GSList *queries;

View File

@ -1,7 +1,7 @@
#ifndef __QUERIES_H
#define __QUERIES_H
#include "modules.h"
#include <irssi/src/core/modules.h>
/* Returns QUERY_REC if it's query, NULL if it isn't. */
#define QUERY(query) \
@ -13,7 +13,7 @@
#define STRUCT_SERVER_REC SERVER_REC
struct _QUERY_REC {
#include "query-rec.h"
#include <irssi/src/core/query-rec.h>
};
extern GSList *queries;

View File

@ -1,6 +1,6 @@
/* QUERY_REC definition, used for inheritance */
#include "window-item-rec.h"
#include <irssi/src/core/window-item-rec.h>
char *address;
char *server_tag;

View File

@ -19,19 +19,19 @@
*/
#include "module.h"
#include "rawlog.h"
#include "log.h"
#include "modules.h"
#include "signals.h"
#include "commands.h"
#include "misc.h"
#include "write-buffer.h"
#include "settings.h"
#include <irssi/src/core/rawlog.h>
#include <irssi/src/core/log.h>
#include <irssi/src/core/modules.h>
#include <irssi/src/core/signals.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/misc.h>
#include <irssi/src/core/write-buffer.h>
#include <irssi/src/core/settings.h>
#ifdef HAVE_CAPSICUM
#include "capsicum.h"
#include <irssi/src/core/capsicum.h>
#endif
#include "servers.h"
#include <irssi/src/core/servers.h>
static int rawlog_lines;
static int signal_rawlog;

View File

@ -19,11 +19,11 @@
*/
#include "module.h"
#include "settings.h"
#include "servers.h"
#include "signals.h"
#include "lib-config/iconfig.h"
#include "misc.h"
#include <irssi/src/core/settings.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/signals.h>
#include <irssi/src/lib-config/iconfig.h>
#include <irssi/src/core/misc.h>
static char *translit_charset;
static gboolean term_is_utf8;

View File

@ -19,16 +19,16 @@
*/
#include "module.h"
#include "commands.h"
#include "network.h"
#include "signals.h"
#include <irssi/src/core/commands.h>
#include <irssi/src/core/network.h>
#include <irssi/src/core/signals.h>
#include "chat-protocols.h"
#include "servers.h"
#include "servers-setup.h"
#include "servers-reconnect.h"
#include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/servers-setup.h>
#include <irssi/src/core/servers-reconnect.h>
#include "settings.h"
#include <irssi/src/core/settings.h>
GSList *reconnects;
static int last_reconnect_tag;

View File

@ -19,15 +19,15 @@
*/
#include "module.h"
#include "signals.h"
#include "network.h"
#include "lib-config/iconfig.h"
#include "settings.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/network.h>
#include <irssi/src/lib-config/iconfig.h>
#include <irssi/src/core/settings.h>
#include "chat-protocols.h"
#include "chatnets.h"
#include "servers.h"
#include "servers-setup.h"
#include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/chatnets.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/servers-setup.h>
GSList *setupservers;

View File

@ -1,7 +1,7 @@
#ifndef __SERVERS_SETUP_H
#define __SERVERS_SETUP_H
#include "modules.h"
#include <irssi/src/core/modules.h>
#define SERVER_SETUP(server) \
MODULE_CHECK_CAST(server, SERVER_SETUP_REC, type, "SERVER SETUP")
@ -11,7 +11,7 @@
/* servers */
struct _SERVER_SETUP_REC {
#include "server-setup-rec.h"
#include <irssi/src/core/server-setup-rec.h>
};
extern GSList *setupservers;

View File

@ -19,21 +19,21 @@
*/
#include "module.h"
#include "signals.h"
#include "commands.h"
#include "net-disconnect.h"
#include "net-nonblock.h"
#include "net-sendbuffer.h"
#include "misc.h"
#include "rawlog.h"
#include "settings.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/net-disconnect.h>
#include <irssi/src/core/net-nonblock.h>
#include <irssi/src/core/net-sendbuffer.h>
#include <irssi/src/core/misc.h>
#include <irssi/src/core/rawlog.h>
#include <irssi/src/core/settings.h>
#include "chat-protocols.h"
#include "servers.h"
#include "servers-reconnect.h"
#include "servers-setup.h"
#include "channels.h"
#include "queries.h"
#include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/servers-reconnect.h>
#include <irssi/src/core/servers-setup.h>
#include <irssi/src/core/channels.h>
#include <irssi/src/core/queries.h>
GSList *servers, *lookup_servers;

View File

@ -1,7 +1,7 @@
#ifndef __SERVERS_H
#define __SERVERS_H
#include "modules.h"
#include <irssi/src/core/modules.h>
/* Returns SERVER_REC if it's server, NULL if it isn't. */
#define SERVER(server) \
@ -23,12 +23,12 @@
/* all strings should be either NULL or dynamically allocated */
/* address and nick are mandatory, rest are optional */
struct _SERVER_CONNECT_REC {
#include "server-connect-rec.h"
#include <irssi/src/core/server-connect-rec.h>
};
#define STRUCT_SERVER_CONNECT_REC SERVER_CONNECT_REC
struct _SERVER_REC {
#include "server-rec.h"
#include <irssi/src/core/server-rec.h>
};
#define SEND_TARGET_CHANNEL 0

View File

@ -19,19 +19,19 @@
*/
#include "module.h"
#include "signals.h"
#include "commands.h"
#include "args.h"
#include "network.h"
#include "net-sendbuffer.h"
#include "pidwait.h"
#include "lib-config/iconfig.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/args.h>
#include <irssi/src/core/network.h>
#include <irssi/src/core/net-sendbuffer.h>
#include <irssi/src/core/pidwait.h>
#include <irssi/src/lib-config/iconfig.h>
#include "chat-protocols.h"
#include "servers.h"
#include "servers-setup.h"
#include "channels.h"
#include "nicklist.h"
#include <irssi/src/core/chat-protocols.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/servers-setup.h>
#include <irssi/src/core/channels.h>
#include <irssi/src/core/nicklist.h>
static char *session_file;
char *irssi_binary = NULL;

View File

@ -19,14 +19,14 @@
*/
#include "module.h"
#include "signals.h"
#include "commands.h"
#include "levels.h"
#include "misc.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/commands.h>
#include <irssi/src/core/levels.h>
#include <irssi/src/core/misc.h>
#include "lib-config/iconfig.h"
#include "recode.h"
#include "settings.h"
#include <irssi/src/lib-config/iconfig.h>
#include <irssi/src/core/recode.h>
#include <irssi/src/core/settings.h>
#include "default-config.h"
#include <signal.h>

View File

@ -19,8 +19,8 @@
*/
#include "module.h"
#include "signals.h"
#include "modules.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/modules.h>
typedef struct _SignalHook {
struct _SignalHook *next;

View File

@ -19,13 +19,13 @@
*/
#include "module.h"
#include "signals.h"
#include "special-vars.h"
#include "expandos.h"
#include "settings.h"
#include "servers.h"
#include "misc.h"
#include "utf8.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/special-vars.h>
#include <irssi/src/core/expandos.h>
#include <irssi/src/core/settings.h>
#include <irssi/src/core/servers.h>
#include <irssi/src/core/misc.h>
#include <irssi/src/core/utf8.h>
#define isvarchar(c) \
(i_isalnum(c) || (c) == '_')

View File

@ -1,7 +1,7 @@
#ifndef __SPECIAL_VARS_H
#define __SPECIAL_VARS_H
#include "signals.h"
#include <irssi/src/core/signals.h>
#define PARSE_FLAG_GETNAME 0x01 /* return argument name instead of it's value */
#define PARSE_FLAG_ISSET_ANY 0x02 /* arg_used field specifies that at least one of the $variables was non-empty */

View File

@ -18,7 +18,7 @@
#include "module.h"
#include "tls.h"
#include <irssi/src/core/tls.h>
TLS_REC *tls_create_rec()
{

View File

@ -22,11 +22,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "utf8.h"
#include <irssi/src/core/utf8.h>
#include "module.h"
/* Provide is_utf8(): */
#include "recode.h"
#include <irssi/src/core/recode.h>
int string_advance(char const **str, int policy)
{

View File

@ -22,9 +22,9 @@
#include <wchar.h>
#include "module.h"
#include "signals.h"
#include "settings.h"
#include "utf8.h"
#include <irssi/src/core/signals.h>
#include <irssi/src/core/settings.h>
#include <irssi/src/core/utf8.h>
#ifdef HAVE_LIBUTF8PROC
#include <utf8proc.h>

View File

@ -59,7 +59,7 @@
* Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
*/
#include "utf8.h"
#include <irssi/src/core/utf8.h>
struct interval {
int first;

View File

@ -3,7 +3,7 @@
#define STRUCT_SERVER_REC SERVER_REC
struct _WI_ITEM_REC {
#include "window-item-rec.h"
#include <irssi/src/core/window-item-rec.h>
};
#endif