aboutsummaryrefslogtreecommitdiffstats
path: root/packet-http.h
Commit message (Collapse)AuthorAgeFilesLines
* The code in an HTTP reply is a response code, not a response method.Guy Harris2003-09-021-3/+5
| | | | svn path=/trunk/; revision=8346
* From Jean-Michel Fayard: BOOTP/DHCP, HTTP, and WSP statistics taps.Guy Harris2003-09-021-1/+7
| | | | svn path=/trunk/; revision=8345
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-4/+4
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* Make "dissector_add()", "dissector_delete()", and "dissector_change()"Guy Harris2001-12-031-4/+3
| | | | | | | | take a dissector handle as an argument, rather than a pointer to a dissector function and a protocol ID. Associate dissector handles with dissector table entries. svn path=/trunk/; revision=4308
* Provide a way by which protocols that run atop HTTP, such as IPP, canGuy Harris2001-01-111-0/+30
| | | | | | | | | | | | | register their port as being for XXX-over-HTTP; the HTTP dissector registers that port in the "tcp.port" table as an HTTP port, and registers it in its *own* table with the dissector and protocol provided to it. Parse the HTTP MIME headers regardless of whether we're building a protocol tree or not; we have to do so in order to find the offset of the payload, to hand to an XXX-over-HTTP dissector. svn path=/trunk/; revision=2872
* "dissect_http()" doesn't need to be global any more; make it static.Guy Harris2001-01-111-30/+0
| | | | svn path=/trunk/; revision=2870
* Tvbuffify the HTTP, NNTP, RSH, RTSP, and Telnet dissectors.Guy Harris2000-11-091-2/+2
| | | | | | | | | | | Add "tvb_find_line_end()", to find a CR and/or LF-terminated line in a tvbuff and return its length and the offset of the character after the line end, for the use of those dissectors. Add "tvb_strncaseeql()", which is like "tvb_strneql()" except that it does a case-insensitive comparison. svn path=/trunk/; revision=2590
* Miscellaneous code cleaningLaurent Deniel2000-08-111-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add <stdarg.h> or <varargs.h> in snprintf.h and remove those inclusions in the other #ifdef NEED_SNPRINTF_H codes - remove the check of multiple inclusions in source (.c) code (there is a bit loss of _cpp_ performance, but I prefer the gain of code reading and maintenance; and nowadays, disk caches and VM are correctly optimized ;-). - protect all (well almost) header files against multiple inclusions - add header (i.e. GPL license) in some include files - reorganize a bit the way header files are included: First: #include <system_include_files> #include <external_package_include_files (e.g. gtk, glib etc.)> Then #include "ethereal_include_files" with the correct HAVE_XXX or NEED_XXX protections. - add some HAVE_XXX checks before including some system header files - add the same HAVE_XXX in wiretap as in ethereal Please forgive me, if I break something (I've only compiled and regression tested on Linux). svn path=/trunk/; revision=2254
* Create a header file for every packet-*.c file. Prune the packet.h file.Gilbert Ramirez2000-02-151-0/+26
This change allows you to add a new packet-*.c file and not cause a recompilation of everything that #include's packet.h Add the plugin_api.[ch] files ot the plugins/Makefile.am packaging list. Add #define YY_NO_UNPUT 1 to the lex source so that the yyunput symbol is not defined, squelching a compiler complaint when compiling the generated C file. svn path=/trunk/; revision=1637