From 90ec0bf58bf8cd9e59fd4cab2c1dbfde9b4119e1 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 26 Feb 2010 03:09:21 +0100 Subject: Import new trio version, disabling config.h #include. --- trio/triostr.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'trio/triostr.h') 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 -- cgit v1.2.3