aboutsummaryrefslogtreecommitdiffstats
path: root/epan/atalk-utils.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-08-26 01:00:30 +0000
committerGuy Harris <guy@alum.mit.edu>2003-08-26 01:00:30 +0000
commitd9c401c74ca0d28e728b3c07e34486df304d259f (patch)
treea49b6057ab98a991c02ac4988e81aff55ad133fe /epan/atalk-utils.h
parent9bcebc00c01d3bdaee636ae36a36a96879cbb30f (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()". svn path=/trunk/; revision=8260
Diffstat (limited to 'epan/atalk-utils.h')
-rw-r--r--epan/atalk-utils.h6
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