diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-08-26 01:00:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-08-26 01:00:30 +0000 |
commit | d9c401c74ca0d28e728b3c07e34486df304d259f (patch) | |
tree | a49b6057ab98a991c02ac4988e81aff55ad133fe /epan/to_str.h | |
parent | 9bcebc00c01d3bdaee636ae36a36a96879cbb30f (diff) | |
download | wireshark-d9c401c74ca0d28e728b3c07e34486df304d259f.tar.gz |
Create an "address_to_str_buf()" routine, called by "address_to_str()",
which fills in a caller-supplied buffer.
Create "_buf()" versions of various "to_str" routines for various
address types, and create a routine to map SNA FIDs to strings, and use
them to finish up "address_to_str_buf()".
Get rid of the declaration of "sna_fid_type_4_addr_to_str()" in
"packet-sna.h", as that routine has been swallowed up in
"sna_fid_to_str()".
svn path=/trunk/; revision=8260
Diffstat (limited to 'epan/to_str.h')
-rw-r--r-- | epan/to_str.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/to_str.h b/epan/to_str.h index d04e708026..04cd9ec998 100644 --- a/epan/to_str.h +++ b/epan/to_str.h @@ -1,7 +1,7 @@ /* to_str.h * Definitions for utilities to convert various other types to strings. * - * $Id: to_str.h,v 1.18 2003/08/24 02:50:31 sahlberg Exp $ + * $Id: to_str.h,v 1.19 2003/08/26 01:00:30 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -47,6 +47,7 @@ typedef enum { struct e_in6_addr; extern gchar* address_to_str(address *); +extern void address_to_str_buf(address *, gchar *); extern gchar* ether_to_str(const guint8 *); extern gchar* ip_to_str(const guint8 *); extern void ip_to_str_buf(const guint8 *, gchar *); @@ -57,6 +58,7 @@ extern gchar* ipx_addr_to_str(guint32, const guint8 *); extern gchar* ipxnet_to_string(const guint8 *ad); extern gchar* ipxnet_to_str_punct(const guint32 ad, char punct); extern gchar* vines_addr_to_str(const guint8 *addrp); +extern void vines_addr_to_str_buf(const guint8 *addrp, gchar *buf); extern gchar* time_secs_to_str(guint32); extern gchar* time_msecs_to_str(guint32); extern gchar* abs_time_to_str(nstime_t*); |