summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/packet.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/libssh/packet.h b/include/libssh/packet.h
index d8ef35bb..3a84eb70 100644
--- a/include/libssh/packet.h
+++ b/include/libssh/packet.h
@@ -43,10 +43,10 @@ enum ssh_packet_state_e {
PACKET_STATE_PROCESSING
};
-int packet_send(ssh_session session);
+int ssh_packet_send(ssh_session session);
#ifdef WITH_SSH1
-int packet_send1(ssh_session session) ;
+int ssh_packet_send1(ssh_session session) ;
void ssh_packet_set_default_callbacks1(ssh_session session);
SSH_PACKET_CALLBACK(ssh_packet_disconnect1);
@@ -78,12 +78,12 @@ void ssh_packet_set_default_callbacks(ssh_session session);
void ssh_packet_process(ssh_session session, uint8_t type);
/* PACKET CRYPT */
-uint32_t packet_decrypt_len(ssh_session session, char *crypted);
-int packet_decrypt(ssh_session session, void *packet, unsigned int len);
-unsigned char *packet_encrypt(ssh_session session,
- void *packet,
- unsigned int len);
-int packet_hmac_verify(ssh_session session,ssh_buffer buffer,
- unsigned char *mac, enum ssh_hmac_e type);
+uint32_t ssh_packet_decrypt_len(ssh_session session, char *crypted);
+int ssh_packet_decrypt(ssh_session session, void *packet, unsigned int len);
+unsigned char *ssh_packet_encrypt(ssh_session session,
+ void *packet,
+ unsigned int len);
+int ssh_packet_hmac_verify(ssh_session session,ssh_buffer buffer,
+ unsigned char *mac, enum ssh_hmac_e type);
#endif /* PACKET_H_ */