Files: f87af6a0bf824e4980c8e1b25a7a1307183bbe3e / 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