aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard R. Link <brlink@debian.org>2009-10-04 14:03:25 +0200
committerAndreas Schneider <mail@cynapses.org>2009-10-05 00:02:43 +0200
commit7c759b961521ecae451b113eaa7531f9c77b0079 (patch)
treea8e4e3d780d6f4ce6c3e045bb1edb16fa7ea78ef /include
parentd54e9550da59465d9a795c885e18199122b57ba5 (diff)
downloadlibssh-7c759b961521ecae451b113eaa7531f9c77b0079.tar.gz
libssh-7c759b961521ecae451b113eaa7531f9c77b0079.tar.xz
libssh-7c759b961521ecae451b113eaa7531f9c77b0079.zip
add ssh_set_error_oom and ssh_set_error_invalid
Signed-off-by: Andreas Schneider <mail@cynapses.org>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 5dc3889..bea4c34 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -123,6 +123,8 @@ int ssh_config_parse_file(ssh_options opt, const char *filename);
/* errors.c */
void ssh_set_error(void *error, int code, const char *descr, ...) PRINTF_ATTRIBUTE(3, 4);
+void ssh_set_error_oom(void *);
+void ssh_set_error_invalid(void *, const char *);
/* in crypt.c */
uint32_t packet_decrypt_len(ssh_session session,char *crypted);