summaryrefslogtreecommitdiffstats
path: root/pyutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'pyutils.h')
-rw-r--r--pyutils.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pyutils.h b/pyutils.h
new file mode 100644
index 0000000..7b2ca7b
--- /dev/null
+++ b/pyutils.h
@@ -0,0 +1,12 @@
+#ifndef _PYUTILS_H_
+#define _PYUTILS_H_
+
+#include "servers.h"
+
+void py_command(const char *cmd, SERVER_REC *server, WI_ITEM_REC *item);
+char *file_get_ext(const char *file);
+int file_has_ext(const char *file, const char *ext);
+char *file_get_filename(const char *path);
+
+
+#endif