wireshark/epan
Guy Harris 252d55d80f For each column, have both a buffer into which strings for that column
can be put, and a pointer to the string for the column, which might or
might not point to that buffer.

Add a routine "col_set_str()", which sets the string for the column to
the string passed to it as an argument; it should only be handed a
static string (a string constant would be ideal).  It doesn't do any
copying, so it's faster than "col_add_str()".

Make the routines that append to columns check whether the pointer to
the string for the column points to the buffer for the column and, if
not, copy the string for the column to the buffer for the column so that
you can append to it (so you can use "col_set_str()" and then use
"col_append_str()" or "col_append_fstr()").

Convert a bunch of "col_add_str()" calls that take a string constant as
an argument to "col_set_str()" calls.

Convert some "col_add_fstr()" calls that take a string constant as the
only argument - i.e., the format string doesn't have any "%" slots into
which to put strings for subsequent arguments to "col_set_str()" calls
(those calls are just like "col_add_str()" calls).

Replace an END_OF_FRAME reference in a tvbuffified dissector with a
"tvb_length(tvb)" call.

svn path=/trunk/; revision=2670
2000-11-19 08:54:37 +00:00
..
.cvsignore Added some autoconf- and automake-generated files to .cvsignore. 2000-10-27 02:11:09 +00:00
AUTHORS Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
ChangeLog Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
Makefile.am Move the table of bit-swapped byte values to "epan/bitswap.c", and 2000-11-15 09:37:53 +00:00
Makefile.nmake Move the table of bit-swapped byte values to "epan/bitswap.c", and 2000-11-15 09:37:53 +00:00
NEWS Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
README Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
acconfig.h Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
bitswap.c Move the table of bit-swapped byte values to "epan/bitswap.c", and 2000-11-15 09:37:53 +00:00
bitswap.h Move the table of bit-swapped byte values to "epan/bitswap.c", and 2000-11-15 09:37:53 +00:00
config.h.win32 Get rid of extra declaration of HAVE_DIRECT_H; one is enough. 2000-10-18 09:34:10 +00:00
configure.in Do checks for platform-specific compiler flags in the libethereal and 2000-10-17 07:30:35 +00:00
conversation.c Nobody calls "old_try_conversation_dissector()" or 2000-11-18 11:47:21 +00:00
conversation.h Nobody calls "old_try_conversation_dissector()" or 2000-11-18 11:47:21 +00:00
dfilter-grammar.y First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
dfilter-int.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
dfilter-scanner.l First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
dfilter.c More EPAN-related code movements. Get rid of usage of #include "globals.h" 2000-09-28 03:16:29 +00:00
dfilter.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
epan.c Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
epan.h Give libethereal its own configuration file, and have that configuration 2000-10-16 23:18:05 +00:00
except.c First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
except.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
exceptions.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
filesystem.c Fix it to build on Windows. 2000-10-11 07:35:02 +00:00
filesystem.h More EPAN-related code movements. Get rid of usage of #include "globals.h" 2000-09-28 03:16:29 +00:00
inet_aton.c Move inet_*.[ch] files to epan. 2000-10-14 04:31:26 +00:00
inet_aton.h Move inet_*.[ch] files to epan. 2000-10-14 04:31:26 +00:00
inet_ntop.c Move inet_*.[ch] files to epan. 2000-10-14 04:31:26 +00:00
inet_pton.c Move inet_*.[ch] files to epan. 2000-10-14 04:31:26 +00:00
inet_v6defs.h Move inet_*.[ch] files to epan. 2000-10-14 04:31:26 +00:00
ipv4.c Simple code movement. 2000-09-28 03:52:12 +00:00
ipv4.h Simple code movement. 2000-09-28 03:52:12 +00:00
packet.c For each column, have both a buffer into which strings for that column 2000-11-19 08:54:37 +00:00
packet.h For each column, have both a buffer into which strings for that column 2000-11-19 08:54:37 +00:00
pint.h Get rid of the definitions of LITTLE_ENDIAN and BIG_ENDIAN in 2000-11-11 10:23:43 +00:00
plugins.c Fix a number of problems that caused compiles to fail if 2000-11-18 21:41:40 +00:00
plugins.h Fix a number of problems that caused compiles to fail if 2000-11-18 21:41:40 +00:00
proto.c Move "bytes_to_str()" to "strutil.c" from "packet.c" - it's just a 2000-11-13 07:19:37 +00:00
proto.h Tvbuffify the STP dissector, have it register itself and have the LLC 2000-11-16 07:35:43 +00:00
resolv.c Move the declaration of "g_resolving_actif" from the top-level 2000-10-19 22:59:24 +00:00
resolv.h Move the declaration of "g_resolving_actif" from the top-level 2000-10-19 22:59:24 +00:00
strutil.c Move "bytes_to_str()" to "strutil.c" from "packet.c" - it's just a 2000-11-13 07:19:37 +00:00
strutil.h Move "bytes_to_str()" to "strutil.c" from "packet.c" - it's just a 2000-11-13 07:19:37 +00:00
tvbtest.c First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
tvbuff.c Tvbuffify the IP, ICMP, TCP, UDP, OSI CLNP, OSI COTP, OSI CLTP, and OSI 2000-11-18 10:38:33 +00:00
tvbuff.h Tvbuffify the IP, ICMP, TCP, UDP, OSI CLNP, OSI COTP, OSI CLTP, and OSI 2000-11-18 10:38:33 +00:00

README

$Id: README,v 1.1 2000/10/16 23:17:39 guy Exp $

XXX - put something here