/* Automatically generated header! Do not edit! */

#ifndef _INLINE_MSQL_H
#define _INLINE_MSQL_H

#ifndef __INLINE_MACROS_H
#include <inline/macros.h>
#endif /* !__INLINE_MACROS_H */

#ifndef MSQL_BASE_NAME
#define MSQL_BASE_NAME MsqlBase
#endif /* !MSQL_BASE_NAME */

#define MsqlAddMHookA(hook, taglist) \
	LP2(0x11a, BOOL, MsqlAddMHookA, struct Hook *, hook, a0, struct TagList *, taglist, a1, \
	, MSQL_BASE_NAME)

#define MsqlAllocConnection() \
	LP0(0x24, struct MsqlConnection *, MsqlAllocConnection, \
	, MSQL_BASE_NAME)

#define MsqlClose(co) \
	LP1NR(0x72, MsqlClose, struct MsqlConnection *, co, a1, \
	, MSQL_BASE_NAME)

#define MsqlConnect(co, host) \
	LP2(0x36, struct MsqlConnection *, MsqlConnect, struct MsqlConnection *, co, a1, char *, host, a0, \
	, MSQL_BASE_NAME)

#define MsqlCopyDB(mc, fdb, tdb) \
	LP3(0xd8, int, MsqlCopyDB, struct MsqlConnection *, mc, a0, char *, fdb, a1, char *, tdb, a2, \
	, MSQL_BASE_NAME)

#define MsqlCreateDB(xx, yy) \
	LP2(0x48, int, MsqlCreateDB, struct MsqlConnection *, xx, a1, char *, yy, a0, \
	, MSQL_BASE_NAME)

#define MsqlDataSeek(result, pos) \
	LP2NR(0x78, MsqlDataSeek, m_result *, result, a0, int, pos, d0, \
	, MSQL_BASE_NAME)

#define MsqlDateOffset(date, doff, moff, yoff) \
	LP4(0x108, char *, MsqlDateOffset, char *, date, a0, int, doff, d0, int, moff, d1, int, yoff, d2, \
	, MSQL_BASE_NAME)

#define MsqlDateToUnixTime(date) \
	LP1(0xf6, time_t, MsqlDateToUnixTime, char *, date, a0, \
	, MSQL_BASE_NAME)

#define MsqlDiffDates(date1, date2) \
	LP2(0x114, int, MsqlDiffDates, char *, date1, a0, char *, date2, a1, \
	, MSQL_BASE_NAME)

#define MsqlDiffTimes(time1, time2) \
	LP2(0x10e, char *, MsqlDiffTimes, char *, time1, a0, char *, time2, a1, \
	, MSQL_BASE_NAME)

#define MsqlDropDB(xx, yy) \
	LP2(0x4e, int, MsqlDropDB, struct MsqlConnection *, xx, a1, char *, yy, a0, \
	, MSQL_BASE_NAME)

#define MsqlFetchField(result) \
	LP1(0x90, m_field	*, MsqlFetchField, m_result *, result, a0, \
	, MSQL_BASE_NAME)

#define MsqlFetchRow(result) \
	LP1(0x8a, m_row, MsqlFetchRow, m_result *, result, a0, \
	, MSQL_BASE_NAME)

#define MsqlFieldSeek(result, pos) \
	LP2NR(0x7e, MsqlFieldSeek, m_result *, result, a0, int, pos, d0, \
	, MSQL_BASE_NAME)

#define MsqlFreeConnection(co) \
	LP1NR(0x2a, MsqlFreeConnection, struct MsqlConnection *, co, a0, \
	, MSQL_BASE_NAME)

#define MsqlFreeResult(result) \
	LP1NR(0x84, MsqlFreeResult, m_result *, result, a0, \
	, MSQL_BASE_NAME)

#define MsqlGetCharConf(co, xx, yy) \
	LP3(0xcc, char *, MsqlGetCharConf, struct MsqlConnection *, co, a1, char *, xx, a0, char *, yy, a2, \
	, MSQL_BASE_NAME)

#define MsqlGetErrMsg(co) \
	LP1(0x30, char *, MsqlGetErrMsg, struct MsqlConnection *, co, a0, \
	, MSQL_BASE_NAME)

#define MsqlGetHostInfo(xx) \
	LP1(0x6c, char *, MsqlGetHostInfo, struct MsqlConnection *, xx, a0, \
	, MSQL_BASE_NAME)

#define MsqlGetIntConf(co, xx, yy) \
	LP3(0xc6, int, MsqlGetIntConf, struct MsqlConnection *, co, a1, char *, xx, a0, char *, yy, a2, \
	, MSQL_BASE_NAME)

#define MsqlGetProtoInfo(co) \
	LP1(0x5a, int, MsqlGetProtoInfo, struct MsqlConnection *, co, a0, \
	, MSQL_BASE_NAME)

#define MsqlGetSequenceInfo(mc, table) \
	LP2(0xf0, m_seq *, MsqlGetSequenceInfo, struct MsqlConnection *, mc, a0, char *, table, a1, \
	, MSQL_BASE_NAME)

#define MsqlGetServerInfo(xx) \
	LP1(0x66, char *, MsqlGetServerInfo, struct MsqlConnection *, xx, a0, \
	, MSQL_BASE_NAME)

#define MsqlGetServerStats(mc, fd) \
	LP1(0xd2, int, MsqlGetServerStats, struct MsqlConnection *, mc, a0, BPTR, fd, a1, \
	, MSQL_BASE_NAME)

#define MsqlListDBs(co) \
	LP1(0x96, m_result *, MsqlListDBs, struct MsqlConnection *, co, a0, \
	, MSQL_BASE_NAME)

#define MsqlListFields(co, table) \
	LP2(0xa2, m_result *, MsqlListFields, struct MsqlConnection *, co, a0, char *, table, a1, \
	, MSQL_BASE_NAME)

#define MsqlListIndex(co, str, str_) \
	LP3(0xa8, m_result *, MsqlListIndex, struct MsqlConnection *, co, a2, char *, str, a0, char *, str_, a1, \
	, MSQL_BASE_NAME)

#define MsqlListTables(co) \
	LP1(0x9c, m_result *, MsqlListTables, struct MsqlConnection *, co, a0, \
	, MSQL_BASE_NAME)

#define MsqlLoadConfigFile(co, yy) \
	LP2(0xb4, int, MsqlLoadConfigFile, struct MsqlConnection *, co, a1, char *, yy, a0, \
	, MSQL_BASE_NAME)

#define MsqlMoveDB(mc, fdb, tdb) \
	LP3(0xde, int, MsqlMoveDB, struct MsqlConnection *, mc, a0, char *, fdb, a1, char *, tdb, a2, \
	, MSQL_BASE_NAME)

#define MsqlQuery(co, query) \
	LP2(0x42, int, MsqlQuery, struct MsqlConnection *, co, a1, char *, query, a0, \
	, MSQL_BASE_NAME)

#define MsqlReloadAcls(xx) \
	LP1(0x60, int, MsqlReloadAcls, struct MsqlConnection *, xx, a0, \
	, MSQL_BASE_NAME)

#define MsqlRemMHook(hook) \
	LP1NR(0x120, MsqlRemMHook, struct Hook *, hook, a0, \
	, MSQL_BASE_NAME)

#define MsqlSelectDB(co, dnName) \
	LP2(0x3c, int, MsqlSelectDB, struct MsqlConnection *, co, a1, char *, dnName, a0, \
	, MSQL_BASE_NAME)

#define MsqlShutdown(xx) \
	LP1(0x54, int, MsqlShutdown, struct MsqlConnection *, xx, a0, \
	, MSQL_BASE_NAME)

#define MsqlStoreResult(co) \
	LP1(0xae, m_result *, MsqlStoreResult, struct MsqlConnection *, co, a0, \
	, MSQL_BASE_NAME)

#define MsqlSumTimes(time1, time2) \
	LP2(0x102, char *, MsqlSumTimes, char *, time1, a0, char *, time2, a1, \
	, MSQL_BASE_NAME)

#define MsqlTimeToUnixTime(date) \
	LP1(0xfc, time_t, MsqlTimeToUnixTime, char *, date, a0, \
	, MSQL_BASE_NAME)

#define MsqlUnixTimeToDate(time) \
	LP1(0xe4, char *, MsqlUnixTimeToDate, time_t, time, d0, \
	, MSQL_BASE_NAME)

#define MsqlUnixTimeToTime(time) \
	LP1(0xea, char *, MsqlUnixTimeToTime, time_t, time, d0, \
	, MSQL_BASE_NAME)

#endif /* !_INLINE_MSQL_H */
