X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Fmodule.h;h=679314056e4c5a78b760cb77ec3f1f9c65f2a00b;hb=98d7814fdfbdbb83cc57d6d3ed758f8b8b86d244;hp=e88b7b92afaee406a5f3bd2085cb38331156236a;hpb=d8f124de0295aea546b6debf5945bfeea2bbeb2a;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/module.h b/ltt/branches/poly/lttv/lttv/module.h index e88b7b92..67931405 100644 --- a/ltt/branches/poly/lttv/lttv/module.h +++ b/ltt/branches/poly/lttv/lttv/module.h @@ -111,7 +111,8 @@ LttvModule *lttv_module_prerequisite_get(LttvModule *m, unsigned i); LttvLibrary *lttv_library_load(char *name, GError **error); -void lttv_library_unload(LttvLibrary *l); +/* Returns 0 if library is unloaded, > 0 otherwise */ +gint lttv_library_unload(LttvLibrary *l); /* Obtain information about the library */ @@ -136,9 +137,9 @@ LttvLibrary *lttv_library_get(unsigned i); /* Add or remove directory names to the library search path */ -void lttv_library_path_add(char *name); +void lttv_library_path_add(const char *name); -void lttv_library_path_remove(char *name); +void lttv_library_path_remove(const char *name); /* List the directory names in the library search path */