Ethereal-dev: RE: [Ethereal-dev] C++ plugins

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

From: "Jasim Tariq" <jasimtariqjt@xxxxxxxxxxx>
Date: Tue, 28 Feb 2006 06:34:38 -0800
Check out packet-h225.c on how to use C++ classes from an
Ethereal plugin.

You mean packet-h225.cxx right? I tried this option, but while building I get an error "Cannot open include file: 'glib.h': No such file or directory. even if I comment out the code that calls C++ classes, I still get the same error. However, the error dissappears once I rename the plugin to .c in stead of .cxx or .cpp. There must be a way so that I can make small changes to the functions in C++ classes which I am using in my C source code and a calling technique inside my C source code to accesss these functinos. Any examples?

Thanks,
Jasim