summaryrefslogtreecommitdiff
path: root/src/map/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/log.h')
-rw-r--r--src/map/log.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/log.h b/src/map/log.h
index 116d99bfd..b12afbdb5 100644
--- a/src/map/log.h
+++ b/src/map/log.h
@@ -31,6 +31,9 @@ struct item;
struct item_data;
struct map_session_data;
struct mob_data;
+#ifdef PYTHON_LOGS
+#include <stdio.h>
+#endif
/**
* Defines
@@ -130,6 +133,10 @@ struct log_interface {
char db_pw[100];
char db_name[32];
struct Sql *mysql_handle;
+ #ifdef PYTHON_LOGS
+ FILE * pystream;
+ int (*pylog) (char* sql_statement);
+ #endif
/* */
void (*pick_pc) (struct map_session_data* sd, e_log_pick_type type, int amount, struct item* itm, struct item_data *data);
void (*pick_mob) (struct mob_data* md, e_log_pick_type type, int amount, struct item* itm, struct item_data *data);