aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorRuben Garcia Azuara <rubenga@tid.es>2010-04-06 19:39:41 +0200
committerAndreas Schneider <mail@cynapses.org>2010-04-07 11:29:47 +0200
commit14eb593af3c41ea439f01d34aaae497d8420f316 (patch)
tree67d295bd9d704d7e66a95fad447011f9b67431ab /include/libssh
parentb2b7bc3b772e013a1c258dfc8d326d2f15e569a3 (diff)
downloadlibssh-14eb593af3c41ea439f01d34aaae497d8420f316.tar.gz
libssh-14eb593af3c41ea439f01d34aaae497d8420f316.tar.xz
libssh-14eb593af3c41ea439f01d34aaae497d8420f316.zip
Fixed solaris compilation warning and ignore case at host parameter.
- Suppress compilation warning in solaris caused by a comma at the end of the last value. - Ignore case at host parameter in config file Signed-off-by: Ruben Garcia Azuara <rubenga@tid.es> Signed-off-by: Andreas Schneider <mail@cynapses.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libssh.h6
-rw-r--r--include/libssh/misc.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 462be33..1968d09 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -165,7 +165,7 @@ enum ssh_requests_e {
SSH_REQUEST_CHANNEL_OPEN,
SSH_REQUEST_CHANNEL,
SSH_REQUEST_SERVICE,
- SSH_REQUEST_GLOBAL,
+ SSH_REQUEST_GLOBAL
};
enum ssh_channel_type_e {
@@ -183,7 +183,7 @@ enum ssh_channel_requests_e {
SSH_CHANNEL_REQUEST_SHELL,
SSH_CHANNEL_REQUEST_ENV,
SSH_CHANNEL_REQUEST_SUBSYSTEM,
- SSH_CHANNEL_REQUEST_WINDOW_CHANGE,
+ SSH_CHANNEL_REQUEST_WINDOW_CHANGE
};
enum ssh_publickey_state_e {
@@ -204,7 +204,7 @@ enum ssh_server_known_e {
SSH_SERVER_KNOWN_OK,
SSH_SERVER_KNOWN_CHANGED,
SSH_SERVER_FOUND_OTHER,
- SSH_SERVER_FILE_NOT_FOUND,
+ SSH_SERVER_FILE_NOT_FOUND
};
#ifndef MD5_DIGEST_LEN
diff --git a/include/libssh/misc.h b/include/libssh/misc.h
index ddd72fe..d9bfccb 100644
--- a/include/libssh/misc.h
+++ b/include/libssh/misc.h
@@ -50,6 +50,7 @@ struct ssh_iterator *ssh_list_get_iterator(const struct ssh_list *list);
int ssh_list_append(struct ssh_list *list, const void *data);
int ssh_list_prepend(struct ssh_list *list, const void *data);
void ssh_list_remove(struct ssh_list *list, struct ssh_iterator *iterator);
+char *ssh_lowercase(const char* str);
const void *_ssh_list_pop_head(struct ssh_list *list);