summaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
authordtucker <dtucker>2010-01-12 08:45:59 +0000
committerdtucker <dtucker>2010-01-12 08:45:59 +0000
commit6839d87f178811be26930098b510b81db3e233e2 (patch)
tree773cd55c830e3174de7ad23aa162be4c96d6be7e /buffer.h
parent9a356b9b8f2dbb2344477dbcf97dfb9e676b78d5 (diff)
downloadopenssh-6839d87f178811be26930098b510b81db3e233e2.tar.gz
- djm@cvs.openbsd.org 2010/01/12 01:36:08
[buffer.h bufaux.c] add a buffer_get_string_ptr_ret() that does the same as buffer_get_string_ptr() but does not fatal() on error; ok dtucker@
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/buffer.h b/buffer.h
index d0f354ee..ecad2897 100644
--- a/buffer.h
+++ b/buffer.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: buffer.h,v 1.17 2008/05/08 06:59:01 markus Exp $ */
+/* $OpenBSD: buffer.h,v 1.18 2010/01/12 01:36:08 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -81,6 +81,7 @@ int buffer_get_short_ret(u_short *, Buffer *);
int buffer_get_int_ret(u_int *, Buffer *);
int buffer_get_int64_ret(u_int64_t *, Buffer *);
void *buffer_get_string_ret(Buffer *, u_int *);
+void *buffer_get_string_ptr_ret(Buffer *, u_int *);
int buffer_get_char_ret(char *, Buffer *);
#endif /* BUFFER_H */