mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
added pcpstream, which wraps buffers or file i/o, so crypto code doesn't have to know if it works with a file or a buffer. makes the api much more flexible
This commit is contained in:
@@ -44,6 +44,11 @@
|
||||
this one as well is independent of internal structs
|
||||
in pcp and should therefore be future proof.
|
||||
|
||||
Internal api change: added pcpstream, which is a
|
||||
wrapper around file i/o or buffer i/o. It's used
|
||||
in libpcp/crypto.c (more to follow), so it depends
|
||||
on the caller if it works on files or on buffers.
|
||||
|
||||
Lots of refactoring have been done to clear things
|
||||
out and make the system work with the changes
|
||||
above.
|
||||
|
||||
Reference in New Issue
Block a user