On Mon, Oct 08, 2001 at 02:54:40AM +0200, Joerg Mayer wrote:
> this is a skeleton implementation of SCCP (Skinny Client Control Protocol).
"message_id_t" is essentially the same as "value_string"; if the
"message_id[] array were made a "value_string" array, the Info columen
could be set by doing
if (check_col(pinfo->fd, COL_INFO)) {
col_add_str(pinfo->fd, COL_INFO,
val_to_str(data_messageid, message_id, "Unknown (0x%08X)");
}
(yes, "col_add_str", not "col_add_fstr" - "col_add_fstr" should be used
only if the argument after the COL_xxx argument is a "printf"-style
format string).
The last element of "message_id[]" would be
{ 0, NULL }
in that case.
Powered by MHonArc 2.6.10