Age | Commit message (Collapse) | Author |
|
- The header was already unwieldy, and we did not even include
accessors for all the data structures we currently have.
|
|
- This binds the functions of the store module.
- Note that the logs and stats are currently not useful because they
lack accessors.
|
|
- Also fix the error handling.
|
|
|
|
|
|
- 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.
|
|
- Use the new facilities for more functions.
- Improve documentation.
|
|
- 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.
|
|
- The IPC policy governs how we spawn background servers.
- Add ffi glue.
|
|
|
|
- Ephemeral contexts are useful for tests and one-shot programs.
- Add ffi glue.
|
|
- 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.
|
|
|
|
- Split up into six crates: buffered-reader, openpgp, sequoia-core,
sequoia-ffi, sequoia-net, and sequoia-store.
- Adjust imports accordingly.
|