the first nine patches in this series are an initial effort to have all non static functions prefixed with "ssh" in order to avoid possible clashes when compiling libssh statically. the last two patches are just fixing some warnings in during the compilation.
Fabiano Fidêncio (11): cleanup: use ssh_ prefix in the agent (non-static) functions cleanup: use ssh_ prefix in the bignum (non-static) functions cleanup: use ssh_ prefix in the blf (non-static) functions cleanup: use ssh_ prefix in the buffer (non-static) functions cleanup: use ssh_ prefix in the channels (non-static) functions cleanup: use ssh_ prefix in the dh (non-static) functions cleanup: use ssh_ prefix in the kex (non-static) functions cleanup: use ssh_ prefix in the gcrypt missing functions cleanup: use ssh_ prefix in the packet (non-static) functions pki_gcrypt: Fix warning about not handled values in switch tests: Fix warning about expected format for printf include/libssh/agent.h | 8 +-- include/libssh/bignum.h | 6 +- include/libssh/blf.h | 26 ++++---- include/libssh/buffer.h | 34 +++++----- include/libssh/channels.h | 12 ++-- include/libssh/dh.h | 28 ++++----- include/libssh/kex.h | 6 +- include/libssh/libgcrypt.h | 8 +-- include/libssh/packet.h | 18 +++--- src/agent.c | 40 ++++++------ src/auth.c | 22 +++---- src/auth1.c | 12 ++-- src/bignum.c | 6 +- src/buffer.c | 96 ++++++++++++++--------------- src/channels.c | 88 +++++++++++++------------- src/channels1.c | 66 ++++++++++---------- src/client.c | 6 +- src/dh.c | 90 +++++++++++++-------------- src/external/bcrypt_pbkdf.c | 4 +- src/external/blowfish.c | 42 ++++++------- src/gcrypt_missing.c | 4 +- src/gssapi.c | 28 ++++----- src/gzip.c | 14 ++--- src/kex.c | 34 +++++----- src/kex1.c | 34 +++++----- src/known_hosts.c | 22 +++---- src/messages.c | 28 ++++----- src/options.c | 2 +- src/packet.c | 54 ++++++++-------- src/packet1.c | 30 ++++----- src/packet_cb.c | 10 +-- src/packet_crypt.c | 12 ++-- src/pcap.c | 44 ++++++------- src/pki.c | 50 +++++++-------- src/pki_container_openssh.c | 10 +-- src/pki_crypto.c | 40 ++++++------ src/pki_gcrypt.c | 30 ++++----- src/server.c | 50 +++++++-------- src/session.c | 8 +-- src/sftp.c | 130 +++++++++++++++++++-------------------- src/sftpserver.c | 48 +++++++-------- src/socket.c | 18 +++--- tests/benchmarks/bench_scp.c | 4 +- tests/client/torture_auth.c | 4 +- tests/unittests/torture_buffer.c | 70 ++++++++++----------- 45 files changed, 699 insertions(+), 697 deletions(-) -- 2.4.3
