projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Thread Queue API
[silc.git]
/
lib
/
silcutil
/
silcdll.h
diff --git
a/lib/silcutil/silcdll.h
b/lib/silcutil/silcdll.h
index 3da325b4d96e4c5b09f5c6f74ee6a25c53a48965..d0d2adf873eec489e73a65b7fc8404f2ce114512 100644
(file)
--- 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).
*
* 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
***/
#ifndef SILCDLL_H