Ethereal-dev: Re: [Ethereal-dev] Pb with rtp_analysis.c

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

From: "Lars Ruoff" <lars.ruoff@xxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Jun 2004 15:38:13 +0200
The type of the function is predefined by the tap-API as beeing
void foo (void *),
and registered tap-functions need to respect that definition.
But note how on the next line,
 user_data_t *user_data = user_data_arg;
the pointer is cast to the appropriate type.

regards,
Lars Ruoff.

----- Original Message ----- 
From: "achraf laamarti " <achraf.laamarti@xxxxxxxxxxxx>
To: "Ethereal development" <ethereal-dev@xxxxxxxxxxxx>
Sent: Wednesday, June 02, 2004 3:14 PM
Subject: [Ethereal-dev] Pb with rtp_analysis.c


Hi,

I dont understand this part of code :
 static void rtp_reset (void  *user_data_arg).
Why is user_data_arg pointing VOID?

Regards.

Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35
euro hors coût du SMS).




----------------------------------------------------------------------------
----


> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>