git ssb

0+

cel / foostudio



Tree: 9a4197f942e271323580995751fd9296ef58aad6

Files: 9a4197f942e271323580995751fd9296ef58aad6 / ccdl.h

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

Built with git-ssb-web