diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-02-05 11:37:56 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-02-05 11:37:56 +0000 |
commit | 49b4e57a10cc293ea43d2d5181ca4a457861f28a (patch) | |
tree | 5fd6b06ad22ecabbdbd5e8027e205ce3df7f8606 /capture.h | |
parent | 84d4f0e508ce2876a19515a13c983314b1cfeff2 (diff) | |
download | wireshark-49b4e57a10cc293ea43d2d5181ca4a457861f28a.tar.gz wireshark-49b4e57a10cc293ea43d2d5181ca4a457861f28a.tar.bz2 wireshark-49b4e57a10cc293ea43d2d5181ca4a457861f28a.zip |
updated some comments
svn path=/trunk/; revision=13301
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -48,7 +48,7 @@ typedef struct capture_options_tag { int linktype; /**< Data link type to use, or -1 for "use default" */ gboolean capture_child; /**< True if this is the child for "-S" */ - gchar *save_file; /**< File that user saved capture to */ + gchar *save_file; /**< File the capture was saved in */ int save_file_fd; /**< File descriptor for saved file */ /* GUI related */ @@ -85,16 +85,20 @@ typedef struct capture_options_tag { } capture_options; -/** Open a specified file, or create a temporary file, and start a capture +/** + * Open a specified file, or create a temporary file, and start a capture * to the file in question. * - * @return TRUE if the capture starts successfully, FALSE otherwise. */ + * @param capture_opts the numerous capture options + * @param save_file the name of the capture file, or NULL for a temporary file + * @return TRUE if the capture starts successfully, FALSE otherwise. + */ extern gboolean do_capture(capture_options *capture_opts, const char *save_file); /** Do the low-level work of a capture (start the capture child). */ extern int capture_start(capture_options *capture_opts, gboolean *stats_known, struct pcap_stat *stats); -/** Stop a capture from a menu item. */ +/** Stop a capture (usually from a menu item). */ extern void capture_stop(capture_options *capture_opts); /** Terminate the capture child cleanly when exiting. */ |