diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-08-26 01:00:30 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-08-26 01:00:30 +0000 |
commit | 73f3b08dfbd9dc98a127d086f17a3efbbf3d3c11 (patch) | |
tree | a49b6057ab98a991c02ac4988e81aff55ad133fe /epan/atalk-utils.h | |
parent | 36341082c056f74b76e0605d968c04801a070793 (diff) |
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()".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8260 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/atalk-utils.h')
-rw-r--r-- | epan/atalk-utils.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/atalk-utils.h b/epan/atalk-utils.h index 5572cbf623..a6179f6ecc 100644 --- a/epan/atalk-utils.h +++ b/epan/atalk-utils.h @@ -1,7 +1,7 @@ /* atalk-utils.h * Definitions for Appletalk utilities (DDP, currently). * - * $Id: atalk-utils.h,v 1.3 2002/08/28 20:40:44 jmayer Exp $ + * $Id: atalk-utils.h,v 1.4 2003/08/26 01:00:29 guy Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -45,8 +45,10 @@ struct atalk_ddp_addr { #define DDP_EIGRP 0x58 /* - * Routine to take a DDP address and generate a string. + * Routines to take a DDP address and generate a string. */ extern gchar *atalk_addr_to_str(const struct atalk_ddp_addr *addrp); +extern void atalk_addr_to_str_buf(const struct atalk_ddp_addr *addrp, + gchar *buf); #endif |