diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-08-09 06:25:14 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-08-09 06:25:14 -0700 |
commit | e63c561a145103a94efbc49e7c6a1061dd8464f4 (patch) | |
tree | 39f295a7e09d052c51765f60f7ac77a6905f8b93 /signal.c | |
parent | 46bc67ee1b42f8f7587e87b0ba604e0541bd24f1 (diff) | |
download | txr-e63c561a145103a94efbc49e7c6a1061dd8464f4.tar.gz txr-e63c561a145103a94efbc49e7c6a1061dd8464f4.tar.bz2 txr-e63c561a145103a94efbc49e7c6a1061dd8464f4.zip |
base64 funtions: factor out stream filtering internals.
The base64_encode and base64_decode functions internally work
with streams. This change factors out those internals into
separate functions (with the intent that these will be
usefully exposed, in another commit).
* filter.c (base64_stream_enc): New function, made out of
the internals of base64_encode.
(base64_encode): Simple wrapper for base64_stream_enc.
(base64_stream_dec): New function, made out of
the internals of base64_decode.
(base64_decode): Simple wrapper for base64_stream_dec.
* filter.h (base64_stream_enc, base64_stream_dec): Declared.
Diffstat (limited to 'signal.c')
0 files changed, 0 insertions, 0 deletions