X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/4a3125b61348969b91b9642bba803fc17135c189..0a55ae84545c5e5a45e2240c06bd77a1917f7d3e:/src/uobject/package.h diff --git a/src/uobject/package.h b/src/uobject/package.h index e8cb4a8..03d9b01 100644 --- a/src/uobject/package.h +++ b/src/uobject/package.h @@ -38,6 +38,7 @@ typedef struct UPkgClass UPkgClass; struct UPkg { GTypeModule parent; + struct upkg *pkg; }; struct UPkgClass { @@ -45,6 +46,10 @@ struct UPkgClass { }; GType u_pkg_get_type(void); -GTypeModule *u_pkg_new(const char *name); +GTypeModule *u_pkg_open(const char *name); + +const char *u_pkg_get_search_path(void); +int u_pkg_set_search_path(const char *path); +int u_pkg_add_search_dir(const char *path); #endif