aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/packet_history.c
AgeCommit message (Collapse)AuthorFilesLines
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-08-02Fix more "no previous declaration" warningsJörg Mayer1-2/+2
svn path=/trunk/; revision=15173
2005-02-04huge cleanup of capture file API (functions in file.c/file.h).Ulf Lamping1-2/+2
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions. Hopefully, I didn't introduced any new bugs, as I had to change a lot of files... svn path=/trunk/; revision=13289
2005-01-01The right way to check whether a pointer is null and get a Boolean is toGuy Harris1-2/+2
test it against null, not to cast it to a Boolean type - as Boolean types in C89/C90, at least, are just integral types, that cast might just throw away the upper 32 bits; that probably yields the results you want, but the compiler might well justifiably warn about that on an LP64 platform. svn path=/trunk/; revision=12915
2004-11-03When clearing the list, use "history_list", just in caseGuy Harris1-2/+3
"history_current" happens to be null (that might not be possible, but this is still perhaps a bit clearer). Clear "history_current" after clearing the list, as the current entry no longer exists, so that "packet_history_add()" doesn't use the now-bogus value. svn path=/trunk/; revision=12488
2004-11-01first implementation of the packet history functionUlf Lamping1-0/+182
svn path=/trunk/; revision=12460