aboutsummaryrefslogtreecommitdiffstats
path: root/epan/emem.h
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-06-16 11:21:18 -0700
committerEvan Huus <eapache@gmail.com>2014-06-16 19:11:03 +0000
commitb1665532799a84f5238b494a74f863bf6115fef1 (patch)
treeebb7f401a4e02389972d62cc6c933a6f954a8840 /epan/emem.h
parente0aabd97d8dc70fb037f487a31268cee15aed445 (diff)
remove more unused code
Change-Id: I7275aafe7d7216b85bbb34ba959b74358d102a91 Reviewed-on: https://code.wireshark.org/review/2255 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/emem.h')
-rw-r--r--epan/emem.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/epan/emem.h b/epan/emem.h
index 2d18004f40..0ce3b20478 100644
--- a/epan/emem.h
+++ b/epan/emem.h
@@ -169,20 +169,6 @@ WS_DLL_PUBLIC
emem_strbuf_t *ep_strbuf_new(const gchar *init) G_GNUC_MALLOC;
/**
- * Allocate an ephemeral string buffer with enough initial space for alloc_len bytes
- * and a maximum of max_alloc_len bytes.
- *
- * @param alloc_len The initial size of the buffer. This value can be 0, but a nonzero
- * value is recommended.
- * @param max_alloc_len The maximum size of the buffer. 0 means "unlimited" (within
- * reason).
- *
- * @return A newly-allocated string buffer. str will be empty.
- */
-WS_DLL_PUBLIC
-emem_strbuf_t *ep_strbuf_sized_new(gsize alloc_len, gsize max_alloc_len) G_GNUC_MALLOC;
-
-/**
* Apply printf-style formatted text to a string buffer.
*
* @param strbuf The ep_strbuf-allocated string buffer to set to.
@@ -202,28 +188,6 @@ WS_DLL_PUBLIC
void ep_strbuf_append_printf(emem_strbuf_t *strbuf, const gchar *format, ...)
G_GNUC_PRINTF(2, 3);
-/**
- * Append a string to a string buffer.
- *
- * @param strbuf The ep_strbuf-allocated string buffer to append to.
- * @param str A null-terminated string.
- *
- * @return strbuf
- */
-WS_DLL_PUBLIC
-emem_strbuf_t *ep_strbuf_append(emem_strbuf_t *strbuf, const gchar *str);
-
-/**
- * Append a character to a string buffer.
- *
- * @param strbuf The ep_strbuf-allocated string buffer to append to.
- * @param c The character to append.
- *
- * @return strbuf
- */
-WS_DLL_PUBLIC
-emem_strbuf_t *ep_strbuf_append_c(emem_strbuf_t *strbuf, const gchar c);
-
/* #define DEBUG_INTENSE_CANARY_CHECKS */
/** Helper to troubleshoot ep memory corruption.