I want a add a file peformance.h in wireshark,in the file i define a struct ,below is the content of the file
#include <glib.h>
typedef struct peformance_s
{
gfloat time[100];
gfloat delay[100];
guint32 packetSize[100];
guint32 payload;
guint32 index;
guint32 temp_size;
gfloat temp_time;
}peformance;
extern peformance* peformance_test;
the i add the head file in the .c file ,use it like this :
peformance_test->index=0;
it occurs to me the error:
expected ??=??, ??,??, ??;??, ??asm?? or ??__attribute__?? before ??->?? token