Files: 2afb25b2316215a66cf266f58b979bd0ce84e04a / ccdl.h
369 bytesRaw
1 | |
2 | |
3 | |
4 | |
5 | struct lib { |
6 | const char *src_fname; |
7 | const char *sym_name; |
8 | void *handle; |
9 | void *sym; |
10 | }; |
11 | |
12 | struct ccdl { |
13 | struct lib libs[2], *lib; |
14 | pthread_t watcher_thread; |
15 | }; |
16 | |
17 | void ccdl_init(struct ccdl *, const char *src_fname, const char *sym_name); |
18 | void *ccdl_get(struct ccdl *); |
19 | int ccdl_watch(struct ccdl *); |
20 | int ccdl_deinit(struct ccdl *); |
21 |
Built with git-ssb-web