1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00
putty-source/utils/CMakeLists.txt
Simon Tatham 043c24844a Improve the base64 utility functions.
The low-level functions to handle a single atom of base64 at a time
have been in 'utils' / misc.h for ages, but the higher-level family of
base64_encode functions that handle a whole data block were hidden
away in sshpubk.c, and there was no higher-level decode function at
all.

Now moved both into 'utils' modules and declared them in misc.h rather
than ssh.h. Also, improved the APIs: they all take ptrlen in place of
separate data and length arguments, their naming is more consistent
and more explicit (the previous base64_encode which didn't name its
destination is now base64_encode_fp), and the encode functions now
accept cpl == 0 as a special case meaning that the output base64 data
is wanted in the form of an unbroken single-line string with no
trailing \n.
2022-04-25 14:10:16 +01:00

73 lines
1.2 KiB
CMake

add_sources_from_current_dir(utils
antispoof.c
backend_socket_log.c
base64_decode_atom.c
base64_decode.c
base64_encode_atom.c
base64_encode.c
bufchain.c
buildinfo.c
burnstr.c
chomp.c
conf.c
conf_dest.c
conf_launchable.c
ctrlparse.c
debug.c
decode_utf8.c
decode_utf8_to_wchar.c
default_description.c
dupcat.c
dupprintf.c
dupstr.c
dup_mb_to_wc.c
dup_wc_to_mb.c
encode_utf8.c
encode_wide_string_as_utf8.c
fgetline.c
host_strchr.c
host_strchr_internal.c
host_strcspn.c
host_strduptrim.c
host_strrchr.c
key_components.c
log_proxy_stderr.c
make_spr_sw_abort_static.c
marshal.c
memory.c
memxor.c
null_lp.c
nullkey.c
nullseat.c
nullstrcmp.c
out_of_memory.c
parse_blocksize.c
prompts.c
ptrlen.c
read_file_into.c
seat_connection_fatal.c
sessprep.c
sk_free_peer_info.c
smemclr.c
smemeq.c
spr_get_error_message.c
ssh_key_clone.c
ssh2_pick_fingerprint.c
sshutils.c
strbuf.c
string_length_for_printf.c
stripctrl.c
tempseat.c
tree234.c
validate_manual_hostkey.c
version.c
wcwidth.c
wildcard.c
write_c_string_literal.c
x11authfile.c
x11authnames.c
x11_dehexify.c
x11_identify_auth_proto.c
x11_make_greeting.c
x11_parse_ip.c)