1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

tools: Add a quoted-printable encoding function.

* tools/mime-maker.c (mime_maker_qp_encode): New.
* tools/t-mime-maker.c: New.
* tools/Makefile.am (TESTS): New.
(module_tests): Add the first test.
This commit is contained in:
Werner Koch 2025-05-30 12:15:37 +02:00
parent 8d837279bc
commit 61514f7cd8
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
4 changed files with 227 additions and 2 deletions

View file

@ -31,6 +31,7 @@ void mime_maker_set_verbose (mime_maker_t ctx, int level);
void mime_maker_dump_tree (mime_maker_t ctx);
char *mime_maker_qp_encode (const char *string);
gpg_error_t mime_maker_add_header (mime_maker_t ctx,
const char *name, const char *value);
gpg_error_t mime_maker_add_body (mime_maker_t ctx, const char *string);