deltamud/deltamud/
deltamud/deltamud/bin/
deltamud/deltamud/cnf/
deltamud/deltamud/lib/
deltamud/deltamud/lib/etc/
deltamud/deltamud/lib/misc/
deltamud/deltamud/lib/plrobjs/
deltamud/deltamud/lib/text/
deltamud/deltamud/lib/text/help/
deltamud/deltamud/lib/world/
deltamud/deltamud/lib/world/trg/
#include "mysql.h"

extern MYSQL *SQLdb;
const char        *mySQL_host;
const unsigned int mySQL_port;
const char        *mySQL_user;
const char        *mySQL_pass;

int delete_player_entry (int idnum);
int insert_player_entry (struct char_data *ch);
struct char_data *retrieve_player_entry (char *name, struct char_data *ch);
int count_player_entries ( void );
void QUERY_DATABASE(MYSQL *db, char *query, int len);
MYSQL_RES *STORE_RESULT (MYSQL *db);
MYSQL_ROW FETCH_ROW (MYSQL_RES *result);
void pe_printf (char *name, char *types, char *querystr, ...);

#define ATOIROW(i) (!row[i] ? NULL : atoi(row[i]))