aboutsummaryrefslogtreecommitdiffstats
path: root/packet-cups.c
AgeCommit message (Collapse)AuthorFilesLines
2001-06-18From Joerg Mayer: explicitly fill in all members of aGuy Harris1-3/+3
"header_field_info" structure, including the ones that are later set by the routines to register fields. svn path=/trunk/; revision=3561
2001-03-15Clear the Info column before you start dissecting, just in case youGuy Harris1-2/+4
throw an exception. Fix a comment to reflect that the "location", "info", and "make-and-model" fields are optional (CUPS 1.0[.x] didn't put them into its browse packets). svn path=/trunk/; revision=3132
2001-03-15Display the printer type/capability bits in the standard way we displayGuy Harris1-60/+70
bitfields. Rename "get_space()" to "skip_space()", to indicate what it does, and have it return FALSE if the first non-blank character it found was a CR or LF (meaning "end of packet"). If it returns FALSE, stop dissecting the packet. In "get_unquoted_string()", search not only for a space, but also for a tab, CR, or LF; there is no guarantee that there will be any fields in the packet past the URI (CUPS 1.0[.x] didn't put anything after the URI, and that's what I'm running on my machine...). svn path=/trunk/; revision=3130
2001-03-13Make tvb_get_ptr() return 'const guint8*', and clean up all theGilbert Ramirez1-8/+8
usages of tvb_get_ptr(). packet-ieee80211.c still has one bad usage, in which it *does* modify the tvbuff's data. svn path=/trunk/; revision=3128
2001-03-11CUPS browsing protocol support, from Charles LevertGuy Harris1-0/+367
<charles@comm.polymtl.ca>. svn path=/trunk/; revision=3124