-----Ursprüngliche Nachricht (HTML) wurde als Anlage beigefügt.-----
Von: bunty <bunty123_4@xxxxxxxxxxxxxx>, Ethereal development <ethereal-dev@xxxxxxxxxxxx>
Gesendet: 30.03.05 08:25:04
An: "Ulf Lamping" <ulf.lamping@xxxxxx>
Betreff: Re: [Ethereal-dev] Simple C datatype query
Hi!
If you want to add a string (FT_STRING), use BASE_NONE and the appropriate proto_add_ function.
You'll find a detailed description of the field types in the file doc/README.developer.
Regards, ULFL
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
-----Ursprüngliche Nachricht wurde als Attachment angehängt.-----
Von: | bunty , Ethereal development |
Gesendet: | 30.03.05 08:25:04 |
An: | "Ulf Lamping" <ulf.lamping@xxxxxx> |
Betreff: | Re: [Ethereal-dev] Simple C datatype query |
hello,
I have added new protocol to ethereal but it gives pointer warning as i dont know how to use unsigned characters in hf_register_info.
Following is my one field description for unsigned char string in header of protocol. for that
static hf_register_info hf[] = {
{ &hf_myip_text, { "myip_text","myip.text", FT_STRING, BASE_HEX, NULL, 0x0,"", HFILL }},
for that i first added
static unsigned char* hf_myip_text = "NULL";
but i got assertion error in ./ethereal execution.
what should i assgning then for string field of protocol?
regards.
bunty.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev