Ethereal-dev: Re: [Ethereal-dev] Q: Variables pointing to functions

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Sat, 10 Jan 2004 15:48:26 +0100
Forgot a * for the declaration of str_handler in my previous mail.

----- Original Message ----- 
From: "Olivier Biot"


typedef gchar * string_handler_func(const guint8 *);

string_handler_func *str_handler = NULL;

It is better practice to provide a default handler though, unless you
explicitly verify the pointer value.

Regards,

Olivier