X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcdll.h;h=d0d2adf873eec489e73a65b7fc8404f2ce114512;hb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;hp=3da325b4d96e4c5b09f5c6f74ee6a25c53a48965;hpb=88b232da2e1167031ab8c1e46b0960159422904f;p=silc.git diff --git a/lib/silcutil/silcdll.h b/lib/silcutil/silcdll.h index 3da325b4..d0d2adf8 100644 --- a/lib/silcutil/silcdll.h +++ b/lib/silcutil/silcdll.h @@ -24,6 +24,19 @@ * Platform independent iterface for loading and using shared objects and * dynamically linked libraries (DLLs). * + * EXAMPLE + * + * SilcDll dll; + * SilcFuncCb function; + * + * dll = silc_dll_load("/path/to/my.so"); + * function = silc_dll_getsym(dll, "my_function"); + * + * // Call the funtion + * function(arg1, arg2); + * + * silc_dll_close(dll); + * ***/ #ifndef SILCDLL_H