#include "modcmd.h"
#include "ModeNode.h"
#include "IRCEvents.h"
+#include "tools.h"
static struct ChanNode **chanList;
*/
#include "ConfigParser.h"
+#include "tools.h"
#define ENTRYTYPE_BLOCK 1
#define ENTRYTYPE_STRING 2
#include "IRCQueue.h"
#include "ClientSocket.h"
#include "IOHandler.h"
+#include "tools.h"
#define MAXPENALTY 8 /* 4 messages */
#include "ConfigParser.h"
#include "bots.h"
#include "IOHandler.h"
+#include "tools.h"
#ifdef WIN32
typedef uint32_t socklen_t;
#include "modcmd.h"
#include "DBHelper.h"
#include "IRCEvents.h"
+#include "tools.h"
struct cmd_bot_alias {
int botid;
#include "UserNode.h"
#include "DBHelper.h"
#include "mysqlConn.h"
+#include "tools.h"
#define DEFAULT_LANG_TAG "EN"
#define DEFAULT_LANG_NAME "English"
}
static void main_start_threads() {
- int tid_id = 0;
int worker_threads = get_int_field("General.worker_threads");
if(!worker_threads) worker_threads = 1;
#ifdef HAVE_THREADS
+ int tid_id = 0;
{
current_threads = calloc(worker_threads, sizeof(*current_threads));
for(tid_id = 0; tid_id < worker_threads; tid_id++) {
#include "main.h"
#include "memoryDebug.h"
#include "memoryInfo.h"
+#include "tools.h"
#define FILE_NAME_LENGTH 256
#define OUTPUT_FILE "leak_info.txt"
#include "mysqlConn.h"
#include "DBHelper.h"
#include "EventLogger.h"
+#include "tools.h"
struct trigger_callback {
int botid;
#include "mysqlConn.h"
#include "ConfigParser.h"
+#include "tools.h"
#define DATABASE_VERSION "20"
static void show_mysql_error();
#include "timeq.h"
#include "IOHandler.h"
+#include "tools.h"
static struct timeq_entry *timeq_events;
#ifdef HAVE_THREADS