Replace use of Sequoia's backend with a custom key store.
- Sequoia's key store doesn't meet pep's needs (in particular, the
ability to search on a key's user id) and trying to shoehorn pep's
needs onto Sequoia's key store abstractions is just introducing
overhead with no appreciable gain in functionality.
- This patch changes the Sequoia backend to use a local sqlite
database to store the public keys.
1 // This file is under GNU General Public License 3.0
7 #include "dynamic_api.h"
14 // for time values all functions are using POSIX struct tm
16 typedef struct tm timestamp;
19 // new_timestamp() - allocate a new timestamp
22 // clock (in) initial value or 0 if not available
25 // pointer to timestamp object or NULL if out of memory
27 DYNAMIC_API timestamp * new_timestamp(time_t clock);
30 // free_timestamp() - free memory occupied by timestamp
33 // ts (in) pointer to timestamp to free
35 DYNAMIC_API void free_timestamp(timestamp *ts);
38 // timestamp_dup() - duplicate a timestamp
41 // src (in) pointer to timestamp to duplicate
44 // pointer to copy or NULL if out of memory
46 DYNAMIC_API timestamp * timestamp_dup(const timestamp *src);