Files: fd156cd03b6fce3c933ce1edb725e8e6e74e7be4 / ccdl.h
590 bytesRaw
1 | |
2 | |
3 | |
4 | |
5 | struct lib { |
6 | const char *src_fname; |
7 | const char *lib_fname; |
8 | const char *sym_name; |
9 | void *handle; |
10 | void *sym; |
11 | }; |
12 | |
13 | struct ccdl { |
14 | struct lib libs[2], *lib; |
15 | pthread_t watcher_thread; |
16 | }; |
17 | |
18 | void lib_init(struct lib *, const char *src_fname, const char *sym_name); |
19 | int lib_build(struct lib *); |
20 | void *lib_get(struct lib *); |
21 | void lib_deinit(struct lib *); |
22 | |
23 | void ccdl_init(struct ccdl *, const char *src_fname, const char *sym_name); |
24 | void *ccdl_get(struct ccdl *); |
25 | int ccdl_watch(struct ccdl *); |
26 | int ccdl_rebuild(struct ccdl *); |
27 | int ccdl_deinit(struct ccdl *); |
28 |
Built with git-ssb-web