summaryrefslogtreecommitdiff
path: root/src/common/interfaces.c
blob: 40a71fbbbac2158c4ab2aa22e312867d32bf514f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// Copyright (c) 2014 Evol developers

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "../../../common/HPMi.h"
#include "../../../common/conf.h"
#include "../../../common/malloc.h"
#include "../../../common/mmo.h"
#include "../../../common/socket.h"
#include "../../../common/strlib.h"
#include "../../../common/sysinfo.h"
#include "../../../common/timer.h"

void interfaces_init_common(void)
{
    iMalloc = GET_SYMBOL("iMalloc");
    strlib = GET_SYMBOL("strlib");
    session = GET_SYMBOL("session");
    sockt = GET_SYMBOL("sockt");
    sv = GET_SYMBOL("sv");
    StrBuf = GET_SYMBOL("StrBuf");
    SQL = GET_SYMBOL("SQL");
    timer = GET_SYMBOL("timer");
    libconfig = GET_SYMBOL("libconfig");
    sysinfo = GET_SYMBOL("sysinfo");
}