From 3161977bf8ef24a58c2b452e2205f64e1a5d0a93 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Sat, 26 Mar 2011 02:39:04 +0000 Subject: Introduce ep_strconcat (copied from the glib version) svn path=/trunk/; revision=36344 --- epan/emem.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'epan/emem.h') diff --git a/epan/emem.h b/epan/emem.h index a2646d0c23..2acf29d96b 100644 --- a/epan/emem.h +++ b/epan/emem.h @@ -69,6 +69,8 @@ gchar* ep_strdup_vprintf(const gchar* fmt, va_list ap) G_GNUC_MALLOC; gchar* ep_strdup_printf(const gchar* fmt, ...) G_GNUC_MALLOC G_GNUC_PRINTF(1, 2); +gchar *ep_strconcat(const gchar *string, ...) G_GNUC_MALLOC G_GNUC_NULL_TERMINATED; + /** allocates with a packet lifetime scope an array of type made of num elements */ #define ep_alloc_array(type,num) (type*)ep_alloc(sizeof(type)*(num)) -- cgit v1.2.3