diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-01-25 04:31:17 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-01-25 04:31:17 +0000 |
commit | 830e53e9cd9c8925dd153944b2551e4218c23300 (patch) | |
tree | 80c7dd86a404b6700b2b6a916ae3c71dd87c6fa2 /util.h | |
parent | 9402112331d5e517a3499974d6d8ff2fd1f6cf05 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1552 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |