aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-04-06 16:24:50 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-04-06 16:24:50 +0000
commit2870ce29ce6b02be8a1e3044e98800d3db45d82c (patch)
treeb0a74c3c123e11753fcf51bd369444a4b42e9c62 /util.h
parentbad78f629a420ede7fa0ad7929efb343354fb037 (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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/util.h b/util.h
index aa351c17e0..69dffb8266 100644
--- a/util.h
+++ b/util.h
@@ -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 */