key.c, catacomb/__init__.py: Split key file I/O into Python and C pieces.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 22 Oct 2019 11:35:40 +0000 (12:35 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 25 Nov 2019 17:43:08 +0000 (17:43 +0000)
commit98a1d50bd9c33b6cc9f281617400374e306378f7
tree023e9003ae24afe1ac5d0d639b6d47dfd6396083
parent6f04f47c8f973a5c8ab3647e62dc19979d3ec1ba
key.c, catacomb/__init__.py: Split key file I/O into Python and C pieces.

The new Catacomb `key_mergeline' and `key_extractline' functions were
specifically added to interface with language-specific I/O systems which
couldn't easily present as a `FILE *'.  Expose these new functions, and
implement the old file-oriented methods in terms of the new bindings.
catacomb/__init__.py
key.c
t/t-key.py