diff options
author | Justus Winter <justus@pep-project.org> | 2017-11-30 18:52:45 +0100 |
---|---|---|
committer | Justus Winter <justus@pep-project.org> | 2017-12-01 13:54:28 +0100 |
commit | 8659731e6ecd694e7fa87799497aeb0338b7292c (patch) | |
tree | c5a9f0b6a30a6052ae063945506c90d890409bab /src/sequoia.h | |
parent | e55151e501270875731cb89e83dd4e16402de025 (diff) |
Create context objects.
- Context objects can be used to tweak the library configuration.
Currently, a home and lib directory can be set. Reasonable
defaults are provided.
- Add ffi functions.
Diffstat (limited to 'src/sequoia.h')
-rw-r--r-- | src/sequoia.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sequoia.h b/src/sequoia.h index 0853b9aa..7b3f9cf2 100644 --- a/src/sequoia.h +++ b/src/sequoia.h @@ -1,6 +1,11 @@ #ifndef SEQUOIA_H #define SEQUOIA_H +struct sq_context; + +struct sq_context *sq_context_new(const char *home, const char *lib); +void sq_context_free(struct sq_context *context); + struct sq_tpk; struct sq_tpk *sq_tpk_from_bytes (const char *b, size_t len); |