diff options
Diffstat (limited to 'pyloader.h')
-rw-r--r-- | pyloader.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pyloader.h b/pyloader.h new file mode 100644 index 0000000..f7e19fb --- /dev/null +++ b/pyloader.h @@ -0,0 +1,21 @@ +#ifndef _PYLOADER_H_ +#define _PYLOADER_H_ + +typedef struct +{ + char *name; + char *file; +} PY_LIST_REC; + +void pyloader_add_script_path(const char *path); +int pyloader_load_script_argv(char **argv); +int pyloader_load_script(char *name); +int pyloader_unload_script(const char *name); + +GSList *pyloader_list(void); +void pyloader_list_destroy(GSList **list); + +int pyloader_init(void); +void pyloader_deinit(void); + +#endif |