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>
Sat, 11 Apr 2020 11:44:21 +0000 (12:44 +0100)
commit618cbc92aa4274a62296cd6ed417d8597f50bd05
treefc0668bfc3dad1dda786410362408aff5c33221b
parent544362d741aaf137e307f41877ed86c63a938695
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