aboutsummaryrefslogtreecommitdiffstats
path: root/epan/sna-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/sna-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/sna-utils.h')
-rw-r--r--epan/sna-utils.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/epan/sna-utils.h b/epan/sna-utils.h
index d9cb5a837f..281ea62b00 100644
--- a/epan/sna-utils.h
+++ b/epan/sna-utils.h
@@ -1,7 +1,7 @@
/* sna-utils.h
* Definitions for SNA dissection.
*
- * $Id: sna-utils.h,v 1.3 2002/08/28 20:40:45 jmayer Exp $
+ * $Id: sna-utils.h,v 1.4 2003/08/26 01:00:30 guy Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -35,9 +35,7 @@ struct sna_fid_type_4_addr {
guint16 ef;
};
-/*
- * Routine to take an SNA FID Type 4 address and generate a string.
- */
-extern gchar *sna_fid_type_4_addr_to_str(const struct sna_fid_type_4_addr *addrp);
+extern gchar *sna_fid_to_str(const address *addr);
+extern void sna_fid_to_str_buf(const address *addr, gchar *buf);
#endif