aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
authorJuanJo Ciarlante <jjo@google.com>2009-09-19 18:33:40 +0200
committerJuanJo Ciarlante <juanjosec@gmail.com>2011-03-25 13:30:29 +0100
commit4d3df224e1210f732b84cf4273fb57993361d4ba (patch)
tree35c33c6e1fc7848361712450b8f156bd99a12d1a /buffer.h
parent* added README.ipv6.txt (diff)
downloadopenvpn-4d3df224e1210f732b84cf4273fb57993361d4ba.tar.xz
* fixed win32 non-ipv6 build
Diffstat (limited to '')
-rw-r--r--buffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/buffer.h b/buffer.h
index 3b24d09..0a394a7 100644
--- a/buffer.h
+++ b/buffer.h
@@ -277,6 +277,11 @@ bool buf_printf (struct buffer *buf, const char *format, ...)
;
/*
+ * puts append to a buffer with overflow check
+ */
+bool buf_puts (struct buffer *buf, const char *str);
+
+/*
* Like snprintf but guarantees null termination for size > 0
*/
int openvpn_snprintf(char *str, size_t size, const char *format, ...)