src/platform.h
author us@chu.huenfield.org
Tue, 25 Dec 2018 14:46:45 +0100
branchsync
changeset 3209 c15b4ca2b52a
parent 3121 f33a2ae77177
child 4792 7056435ab9e7
child 5246 67016f508d40
permissions -rw-r--r--
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.
krista@3121
     1
// This file is under GNU General Public License 3.0
krista@3121
     2
// see LICENSE.txt
krista@3121
     3
vb@130
     4
#pragma once
vb@130
     5
vb@130
     6
#ifdef __cplusplus
vb@130
     7
extern "C" {
vb@130
     8
#endif
vb@130
     9
vb@130
    10
#ifdef WIN32
vb@130
    11
#include "platform_windows.h"
vb@130
    12
#else
vb@130
    13
#include "platform_unix.h"
vb@130
    14
#endif
vb@130
    15
vb@130
    16
#ifdef __cplusplus
vb@130
    17
}
vb@130
    18
#endif