aboutsummaryrefslogtreecommitdiffstats
path: root/trio/triostr.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-02-26 03:09:21 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-02-26 03:11:47 +0100
commit90ec0bf58bf8cd9e59fd4cab2c1dbfde9b4119e1 (patch)
tree98d5905baa26c2976b57060de5de6665ad2076ba /trio/triostr.h
parent64d253be1e67688147246819eeb8e4f8f8e77243 (diff)
downloadfetchmail-90ec0bf58bf8cd9e59fd4cab2c1dbfde9b4119e1.tar.gz
fetchmail-90ec0bf58bf8cd9e59fd4cab2c1dbfde9b4119e1.tar.bz2
fetchmail-90ec0bf58bf8cd9e59fd4cab2c1dbfde9b4119e1.zip
Import new trio version, disabling config.h #include.
Diffstat (limited to 'trio/triostr.h')
-rw-r--r--trio/triostr.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/trio/triostr.h b/trio/triostr.h
index 357d192b..847fb723 100644
--- a/trio/triostr.h
+++ b/trio/triostr.h
@@ -1,6 +1,6 @@
/*************************************************************************
*
- * $Id: triostr.h,v 1.17 2007/11/11 13:21:49 breese Exp $
+ * $Id: triostr.h,v 1.18 2010/01/26 13:02:02 breese Exp $
*
* Copyright (C) 2001 Bjorn Reese and Daniel Stenberg.
*
@@ -206,6 +206,7 @@ enum {
# define TRIO_FUNC_XSTRING_APPEND
# define TRIO_FUNC_XSTRING_APPEND_CHAR
+# define TRIO_FUNC_XSTRING_APPEND_MAX
# define TRIO_FUNC_XSTRING_CONTAINS
# define TRIO_FUNC_XSTRING_COPY
# define TRIO_FUNC_XSTRING_DUPLICATE
@@ -601,6 +602,12 @@ trio_xstring_append_char
TRIO_PROTO((trio_string_t *self, char character));
#endif
+#if defined(TRIO_FUNC_XSTRING_APPEND_MAX)
+TRIO_PUBLIC_STRING int
+trio_xstring_append_max
+TRIO_PROTO((trio_string_t *self, TRIO_CONST char *other, size_t max));
+#endif
+
#if defined(TRIO_FUNC_XSTRING_CONTAINS)
TRIO_PUBLIC_STRING int
trio_xstring_contains