summaryrefslogtreecommitdiff
path: root/echld/child.c
AgeCommit message (Collapse)AuthorFilesLines
2015-05-17Fix some files to pass the pre-commit hook script.Joerg Mayer1-12/+16
Change-Id: I105bf4e03fcf95cf7541f6377215809759fd933e Reviewed-on: https://code.wireshark.org/review/8502 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2015-02-28Get rid of unused variable.Guy Harris1-1/+0
Change-Id: I4141f00285cbb6080a782ea2837ea87b7100e081 Reviewed-on: https://code.wireshark.org/review/7439 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-01-18Clean up ftype-conversion and dfilter error message string handling.Guy Harris1-9/+11
Have dfilter_compile() take an additional gchar ** argument, pointing to a gchar * item that, on error, gets set to point to a g_malloc()ed error string. That removes one bit of global state from the display filter parser, and doesn't impose a fixed limit on the error message strings. Have fvalue_from_string() and fvalue_from_unparsed() take a gchar ** argument, pointer to a gchar * item, rather than an error-reporting function, and set the gchar * item to point to a g_malloc()ed error string on an error. Allow either gchar ** argument to be null; if the argument is null, no error message is allocated or provided. Change-Id: Ibd36b8aaa9bf4234aa6efa1e7fb95f7037493b4c Reviewed-on: https://code.wireshark.org/review/6608 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-01-13Consistently use the "g_string_free returns a C string pointer" idiom.Guy Harris1-4/+1
g_string_free(str, FALSE) frees the GString container but not the underlying g_malloc()ed string; instead, it returns a pointer to the g_malloc()ed string. Fix those places that didn't already get the string pointer from g_string_free() to do so rather than manually extracting the string themselves. And fix one place that didn't even need to use a string - it was just scanning a C string without even modifying it. Change-Id: Ibbf4872bf5b9935b9907f539b6edb1013f3053a5 Reviewed-on: https://code.wireshark.org/review/6532 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-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>
2013-11-18Fix some warnings that were really errors.Jörg Mayer1-5/+5
It would really help to fix the remaining warnings so that these files can be compiled with -Werror, which gets me to the quesiton: Is this code still maintained in some form or was it an interesting experiment that has been terminated? svn path=/trunk/; revision=53406
2013-11-08The experimental code in echld/ also got broken by the wtapJörg Mayer1-25/+25
file types commit. Make this compile again as well. Trivial whitespace cleanup while in those files. svn path=/trunk/; revision=53168
2013-07-23Yet another iteration...Luis Ontanon1-1/+0
svn path=/trunk/; revision=50846
2013-07-05Yet another iteration:Luis Ontanon1-79/+84
- improve the parameter api - Add a parameter set message to the NEW child message to set parameters in bulk in the child - some more harvestig from tshark svn path=/trunk/; revision=50393
2013-07-04some more harvesting from tsharkLuis Ontanon1-19/+59
svn path=/trunk/; revision=50380
2013-07-01ANother iteration,Luis Ontanon1-15/+96
- started harvesting pieces from tshark. - fixed? signal handlers - interactive test program very hard to debug... set follow-on-fork doesn't seem to work on my mac. Need linux I guess... svn path=/trunk/; revision=50273
2013-06-29One further iteration, get things right, put placeholders for things to do.Luis Ontanon1-155/+177
svn path=/trunk/; revision=50227
2013-06-28MS: new childLuis Ontanon1-69/+110
MS: ping child MS: set/get child parameter svn path=/trunk/; revision=50218
2013-06-27MS: Pong from the dispatcher!Luis Ontanon1-1/+1
svn path=/trunk/; revision=50183
2013-06-25Last changes to autofoo, rename the files as they live now in their own dir...Luis Ontanon1-0/+543
svn path=/trunk/; revision=50152