aboutsummaryrefslogtreecommitdiff
path: root/libssh/sftpserver.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 21:56:11 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 21:56:11 +0200
commit91d0660cc3b0f72b690678862bb21cbe0328a186 (patch)
tree023c86ea3cbbcfa9a86d8fe887ff03730ff86571 /libssh/sftpserver.c
parentfb5769b4be79943b7c53ebc0d5adb86ed77b9925 (diff)
downloadlibssh-91d0660cc3b0f72b690678862bb21cbe0328a186.tar.gz
libssh-91d0660cc3b0f72b690678862bb21cbe0328a186.tar.xz
libssh-91d0660cc3b0f72b690678862bb21cbe0328a186.zip
Changed all occurences of BUFFER * to ssh_buffer
Diffstat (limited to 'libssh/sftpserver.c')
-rw-r--r--libssh/sftpserver.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libssh/sftpserver.c b/libssh/sftpserver.c
index f5906a36..9f3c7c9a 100644
--- a/libssh/sftpserver.c
+++ b/libssh/sftpserver.c
@@ -38,7 +38,7 @@
SFTP_CLIENT_MESSAGE *sftp_get_client_message(SFTP_SESSION *sftp) {
SFTP_PACKET *packet;
SFTP_CLIENT_MESSAGE *msg;
- BUFFER *payload;
+ ssh_buffer payload;
ssh_string tmp;
msg = malloc(sizeof (SFTP_CLIENT_MESSAGE));
@@ -228,7 +228,7 @@ void sftp_client_message_free(SFTP_CLIENT_MESSAGE *msg) {
int sftp_reply_name(SFTP_CLIENT_MESSAGE *msg, const char *name,
SFTP_ATTRIBUTES *attr) {
- BUFFER *out;
+ ssh_buffer out;
ssh_string file;
out = buffer_new();
@@ -259,7 +259,7 @@ int sftp_reply_name(SFTP_CLIENT_MESSAGE *msg, const char *name,
}
int sftp_reply_handle(SFTP_CLIENT_MESSAGE *msg, ssh_string handle){
- BUFFER *out;
+ ssh_buffer out;
out = buffer_new();
if (out == NULL) {
@@ -278,7 +278,7 @@ int sftp_reply_handle(SFTP_CLIENT_MESSAGE *msg, ssh_string handle){
}
int sftp_reply_attr(SFTP_CLIENT_MESSAGE *msg, SFTP_ATTRIBUTES *attr) {
- BUFFER *out;
+ ssh_buffer out;
out = buffer_new();
if (out == NULL) {
@@ -335,7 +335,7 @@ int sftp_reply_names_add(SFTP_CLIENT_MESSAGE *msg, const char *file,
}
int sftp_reply_names(SFTP_CLIENT_MESSAGE *msg) {
- BUFFER *out;
+ ssh_buffer out;
out = buffer_new();
if (out == NULL) {
@@ -364,7 +364,7 @@ int sftp_reply_names(SFTP_CLIENT_MESSAGE *msg) {
int sftp_reply_status(SFTP_CLIENT_MESSAGE *msg, u32 status,
const char *message) {
- BUFFER *out;
+ ssh_buffer out;
ssh_string s;
out = buffer_new();
@@ -395,7 +395,7 @@ int sftp_reply_status(SFTP_CLIENT_MESSAGE *msg, u32 status,
}
int sftp_reply_data(SFTP_CLIENT_MESSAGE *msg, const void *data, int len) {
- BUFFER *out;
+ ssh_buffer out;
out = buffer_new();
if (out == NULL) {