git ssb

0+

cel / foostudio



Tree: fd156cd03b6fce3c933ce1edb725e8e6e74e7be4

Files: fd156cd03b6fce3c933ce1edb725e8e6e74e7be4 / ccdl.h

590 bytesRaw
1#pragma once
2
3#include <pthread.h>
4
5struct lib {
6 const char *src_fname;
7 const char *lib_fname;
8 const char *sym_name;
9 void *handle;
10 void *sym;
11};
12
13struct ccdl {
14 struct lib libs[2], *lib;
15 pthread_t watcher_thread;
16};
17
18void lib_init(struct lib *, const char *src_fname, const char *sym_name);
19int lib_build(struct lib *);
20void *lib_get(struct lib *);
21void lib_deinit(struct lib *);
22
23void ccdl_init(struct ccdl *, const char *src_fname, const char *sym_name);
24void *ccdl_get(struct ccdl *);
25int ccdl_watch(struct ccdl *);
26int ccdl_rebuild(struct ccdl *);
27int ccdl_deinit(struct ccdl *);
28

Built with git-ssb-web