aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-25 04:31:17 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-25 04:31:17 +0000
commit8e68faf22fb36bf7c5142f5ff50f63213392fc64 (patch)
tree80c7dd86a404b6700b2b6a916ae3c71dd87c6fa2 /util.h
parentb7a9eca9ba9b52243d1e6f214115a93164d3ea66 (diff)
Encapsulate the code to take a pointer to a pathname and return a
pointer to the name of the file to which it refers (i.e., to the last component of the pathname) in a "get_basename()" routine, and have the code in "file.c" call it. svn path=/trunk/; revision=1552
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/util.h b/util.h
index 9ea2a8bfa3..f48be86a3d 100644
--- a/util.h
+++ b/util.h
@@ -1,7 +1,7 @@
/* util.h
* Utility definitions
*
- * $Id: util.h,v 1.15 2000/01/16 02:47:47 guy Exp $
+ * $Id: util.h,v 1.16 2000/01/25 04:31:17 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -30,6 +30,8 @@
extern "C" {
#endif /* __cplusplus */
+char *get_basename(char *);
+
int create_tempfile(char *, int, const char *);
void ASCII_to_EBCDIC(guint8 *buf, guint bytes);