structure pointed to them by reference, so make the argument a "const"
pointer.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12911
f5534014-38df-0310-8fa8-
9805f1628bb7
address types */
/* convert an address struct into a printable string */
gchar*
-address_to_str(address *addr)
+address_to_str(const address *addr)
{
#ifndef INET6_ADDRSTRLEN
#define INET6_ADDRSTRLEN 46
}
void
-address_to_str_buf(address *addr, gchar *buf)
+address_to_str_buf(const address *addr, gchar *buf)
{
struct atalk_ddp_addr ddp_addr;
struct e_in6_addr;
-extern gchar* address_to_str(address *);
-extern void address_to_str_buf(address *, gchar *);
+extern gchar* address_to_str(const address *);
+extern void address_to_str_buf(const 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 *);