diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-03-26 02:39:04 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-03-26 02:39:04 +0000 |
commit | 3161977bf8ef24a58c2b452e2205f64e1a5d0a93 (patch) | |
tree | 541fbfccc8b56ac4b8f1faac0366ee7f686495f4 /epan/emem.h | |
parent | b838995e60c717cd0d1dd75999bde42ebffbe8ae (diff) | |
download | wireshark-3161977bf8ef24a58c2b452e2205f64e1a5d0a93.tar.gz wireshark-3161977bf8ef24a58c2b452e2205f64e1a5d0a93.tar.bz2 wireshark-3161977bf8ef24a58c2b452e2205f64e1a5d0a93.zip |
Introduce ep_strconcat (copied from the glib version)
svn path=/trunk/; revision=36344
Diffstat (limited to 'epan/emem.h')
-rw-r--r-- | epan/emem.h | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |