Ethereal-dev: [Ethereal-dev] how to access a global variable defined in wiretap(new format) fr

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

From: "Raman Singla" <ramans@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 May 2006 03:58:45 +0530
hi
I have written a new capture format(dec-trace) which reads from saved file & corresponding dissector.
 
Since dec-trace can be in either of big/little format. so i want to pass this global variable from wiretap (where it will read endian type)  to epan/dissector (where value of this variable will be read by dissector & based on that decoding will take place).
 
It was workign on linux platform very well,
but as i building the same on Windows platform using msvc it is showing linking problem. unresolved reference.
 
/******************** I m not sure but this could be the reason ***********/
When i tried to go in deep it could be b'cos of dissector.lib. since linker tries to resolves it within dissector.lib.
/**************************************************************************************/
 
what could be the way access global variable defined in wiretap ?
 
regards,
Raman
Ext - 1667
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev