diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-04-06 16:24:50 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-04-06 16:24:50 +0000 |
commit | 2870ce29ce6b02be8a1e3044e98800d3db45d82c (patch) | |
tree | b0a74c3c123e11753fcf51bd369444a4b42e9c62 /util.h | |
parent | bad78f629a420ede7fa0ad7929efb343354fb037 (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.
svn path=/trunk/; revision=242
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 */ |