diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-04-06 16:24:50 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-04-06 16:24:50 +0000 |
commit | 8c171954d6abf40f402cb5922e39b3bf1a80db8c (patch) | |
tree | b0a74c3c123e11753fcf51bd369444a4b42e9c62 /util.h | |
parent | 85328f001db7d5db40b3c010cff08bb549bcc427 (diff) |
Capturing packets from ethereal now saves the capture in an "anonymous" buffer. That is, it's
a random name chosen by tempnam(), unknown to the user. If the user decides to save that
trace, he then uses File | Save to save it to a file. File | Save As lets him make a copy
of his named trace file as well. I also updated my e-mail address in the various credit
locations.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@242 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* util.h * Utility definitions * - * $Id: util.h,v 1.8 1999/03/31 08:20:28 guy Exp $ + * $Id: util.h,v 1.9 1999/04/06 16:24:50 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -46,6 +46,12 @@ void simple_dialog(gint, gint *, gchar *, ...) void simple_dialog(gint, gint *, gchar *, ...); #endif +/* Moves or copies a file. Returns 0 on failure, 1 on success */ +int file_mv(char *from, char *to); + +/* Copies a file. Returns 0 on failure, 1 on success */ +int file_cp(char *from, char *to); + #ifdef __cplusplus } #endif /* __cplusplus */ |