summaryrefslogtreecommitdiffstats
path: root/ffi/src/sequoia.h
AgeCommit message (Collapse)Author
2018-02-16ffi: Split header up at the module boundaries.Justus Winter
- The header was already unwieldy, and we did not even include accessors for all the data structures we currently have.
2018-02-15ffi: Bind the store module.Justus Winter
- This binds the functions of the store module. - Note that the logs and stats are currently not useful because they lack accessors.
2018-02-14ffi: Bind rest of the KeyID functions.Justus Winter
- Also fix the error handling.
2018-02-14ffi: Bind openpgp::Fingerprint.Justus Winter
2018-02-13ffi: Add glue for net::Keyserver::send.Justus Winter
2018-02-13ffi: Introduce type definitions.Justus Winter
- Introduce sq_context_t as alias for struct sq_context *. - Our types are opaque structs for the C world, there is no point in calling it a struct everywhere. Also, since the struct definition is incomplete, one can only ever point to these objects, hence we just make the *_t types pointers.
2018-02-13ffi: Improve error handling.Justus Winter
- Use the new facilities for more functions. - Improve documentation.
2018-02-13ffi: Improve error reporting.Justus Winter
- Add a new type ffi::Context that provides an error slot. - Functions that can return complex errors can stash the error there, while still be convenient to use. - For now, there is only sq_last_strerror that returns a string representation of the error. In the future we should also return a numeric code, and may want to expose the stack of failures.
2018-01-19core: Add IPCPolicy.Justus Winter
- The IPC policy governs how we spawn background servers. - Add ffi glue.
2018-01-15ffi,net: Update last users of KeyId to use KeyID.Justus Winter
2018-01-03core: Implement ephemeral contexts.Justus Winter
- Ephemeral contexts are useful for tests and one-shot programs. - Add ffi glue.
2017-12-14Add network policy.Justus Winter
- The network policy determines how Sequoia connects to remote servers. - Add a policy field in the context. - Add an error indicating a policy violation. - Honor the policy in the net module. - Add ffi glue.
2017-12-14ffi: Fix documentation.Justus Winter
2017-12-13Split up Sequoia.Justus Winter
- Split up into six crates: buffered-reader, openpgp, sequoia-core, sequoia-ffi, sequoia-net, and sequoia-store. - Adjust imports accordingly.