aboutsummaryrefslogtreecommitdiffstats
path: root/sync_pipe.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace tabs by spaces when editor modelines has "expandtab"Bill Meier2015-02-131-1/+1
| | | | | | | Change-Id: If7a6f2697be732ae4f94ed8b845fd293c32510f7 Also: tabs-stops should be 8 Reviewed-on: https://code.wireshark.org/review/7100 Reviewed-by: Bill Meier <wmeier@newsguy.com>
* Always put editor-modelines at the end of the file ...Bill Meier2014-10-141-2/+2
| | | | | | | | | | ... to ensure that there are no potential issues with respect to editors limiting the number of lines scanned at the end of the file when checking for editor modelines. Change-Id: Ic85cbb108bb5159d6ec4116fea11f5eebb4e44a4 Reviewed-on: https://code.wireshark.org/review/4688 Reviewed-by: Bill Meier <wmeier@newsguy.com>
* Add editor modelines; Adjust whitespace as needed.Bill Meier2014-10-121-0/+13
| | | | | | Change-Id: I4da7b335d905dbca10bbce03aa88e1cdeeb1f8ad Reviewed-on: https://code.wireshark.org/review/4626 Reviewed-by: Bill Meier <wmeier@newsguy.com>
* Remove all $Id$ from top of fileAlexis La Goutte2014-03-041-2/+0
| | | | | | | | | | (Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Suggest fancier ways to communicate with the capture process.Gerald Combs2013-01-071-4/+8
| | | | svn path=/trunk/; revision=46985
* pipe_write_header() should return ssize_t, as it returns the returnGuy Harris2012-12-261-1/+1
| | | | | | value from write(), which, at least on UN*X, is ssize_t. svn path=/trunk/; revision=46779
* Fix a bunch of warnings.Guy Harris2012-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
* Update Free Software Foundation address.Jakub Zawadzki2012-06-281-1/+1
| | | | | | (COPYING will be updated in next commit) svn path=/trunk/; revision=43536
* Move stuff that should *only* be known by the lowest-level code thatGuy Harris2012-01-041-0/+6
| | | | | | | deals with the sync pipe - i.e., only by sync_pipe.c and dumpcap.c - into sync_pipe.h. svn path=/trunk/; revision=40366
* When dumpcap is run to get an interface list, interface capabilities, orGuy Harris2010-05-171-0/+1
| | | | | | | | interface statistics, have its error messages come out as sync-pipe errors, have it send a sync-pipe "success" message on success, and have the callers get that message and display it. svn path=/trunk/; revision=32843
* Rename an argument to avoid colliding with pipe().Guy Harris2008-06-231-3/+3
| | | | svn path=/trunk/; revision=25555
* Don't hardcode the notion that the sync pipe is the standard output intoGuy Harris2007-09-291-2/+3
| | | | | | | sync_pipe_errmsg_to_parent(); have it take the FD for the sync pipe as an argument. svn path=/trunk/; revision=23024
* ethereal->wireshark updatesRonnie Sahlberg2006-05-221-1/+1
| | | | svn path=/trunk/; revision=18206
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* Put the low-level sync routines into a common file so they can be sharedGuy Harris2006-04-031-0/+79
by dumpcap and Ethereal (so that, on UN*X, the child process can report a detailed "can't exec dumpcap" error). Rename most of the "sync_pipe_XXX_to_parent()" routines, as they're also in Tethereal, which doesn't have a sync pipe. svn path=/trunk/; revision=17789