diff options
author | Justus Winter <justus@pep-project.org> | 2017-12-08 16:36:40 +0100 |
---|---|---|
committer | Justus Winter <justus@pep-project.org> | 2017-12-08 17:32:23 +0100 |
commit | 1d87c32b9536fd49b65a11364d882edb115650aa (patch) | |
tree | b54df81d37b41b0820c16e505ec1ca25ad726607 /examples/example.c | |
parent | 5f24de93e1e0a1fe9d73d0bc9bbabe9efc58ee9c (diff) |
Rework the context.
- Create default context with 'Context::new', create builder with
'Context::configure'.
- Rename 'Pre' to 'Config'.
- Expose builder to ffi.
Diffstat (limited to 'examples/example.c')
-rw-r--r-- | examples/example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example.c b/examples/example.c index 22bace0f..5b087c15 100644 --- a/examples/example.c +++ b/examples/example.c @@ -22,7 +22,7 @@ main (int argc, char **argv) if (argc != 2) error (1, 0, "Usage: %s <file>", argv[0]); - ctx = sq_context_new("org.sequoia-pgp.example", NULL, NULL); + ctx = sq_context_new("org.sequoia-pgp.example"); if (ctx == NULL) error (1, 0, "Initializing sequoia failed."); |