aboutsummaryrefslogtreecommitdiffstats
path: root/capture_loop.c
AgeCommit message (Collapse)AuthorFilesLines
2005-02-04remove #include "globals.h" and access to global cfile, use access functions ↵Ulf Lamping1-17/+16
and capture_opts instead svn path=/trunk/; revision=13284
2005-02-04(some) redesign of capture data structures.Ulf Lamping1-10/+10
don't use global cfile at all but only an untpyed handle to call the cf_... functions in file.c move the save_file member from capture_file to capture_opts, as it's only used while capturing and while preparing it svn path=/trunk/; revision=13276
2005-02-03move capture_file_fd field from capture_file to capture_opts type, as this ↵Ulf Lamping1-4/+4
is the place where it should be svn path=/trunk/; revision=13268
2005-02-03prevent ringbuffer from having to know about capture_file type at all ↵Ulf Lamping1-3/+3
(decoupling dependencies) svn path=/trunk/; revision=13266
2005-01-13fix a bug (reported by Greg Morris) caused by code cleanup (blame it on me): Ulf Lamping1-1/+2
as the total packet count wasn't updated, the capture_info dialog wasn't updated accordingly svn path=/trunk/; revision=13021
2005-01-07From Thomas Boehne: fix a call to use errmsg_len rather than sizeofGuy Harris1-1/+1
errmsg - errmsg is a pointer, so sizeof errmsg is the size of the pointer, not the size of what it points to. svn path=/trunk/; revision=12983
2004-12-29Pass "capture_opts" to "capture_loop_dispatch()", asGuy Harris1-3/+3
"capture_loop_dispatch()" uses it. svn path=/trunk/; revision=12859
2004-12-29move global capture_child flag into capture_optionsUlf Lamping1-17/+18
svn path=/trunk/; revision=12855
2004-12-29Don't use a global capture_opts in the capturing engine (this isn't a good ↵Ulf Lamping1-33/+34
idea). Do some more "housekeeping" in the capturing part. Hopefully the unspecified forward declaration of capture_options_t in main.h is portable, but buildbot will tell me. This way I need the internals of that struct only at the places I really use it. svn path=/trunk/; revision=12853
2004-12-29Make the tone of the error messages a bit less formal, by usingGuy Harris1-2/+2
contractions. (Safari does, at least when you're trying to open a file to which you don't have read access.) svn path=/trunk/; revision=12852
2004-12-29Use the "errmsg_len" argument to "capture_loop_open_output()" -Guy Harris1-3/+3
"sizeof(errmsg)', when "errmsg" is a "char *", doesn't give the size of the string to which "errmsg" points, it gives the size of the pointer itself, which is too small. svn path=/trunk/; revision=12851
2004-12-28some code cleanup (comments changed)Ulf Lamping1-1/+7
svn path=/trunk/; revision=12848
2004-12-27a lot of code cleanup/refactoringUlf Lamping1-295/+393
svn path=/trunk/; revision=12846
2004-10-30Move some #defines and #includes around, and add some other #includes,Guy Harris1-2/+21
to make it compile on UN*X. Get rid of some #includes that don't appear to be needed, at least on OS X 10.3 (they might be needed on other platforms). svn path=/trunk/; revision=12453
2004-10-30split capture_loop from capture.c, some more code cleanupUlf Lamping1-0/+1355
svn path=/trunk/; revision=12451