Home page logo
/

wireshark logo Wireshark mailing list archives

how to modify the source code?
From: "??????????" <237825552 () qq com>
Date: Thu, 27 Mar 2014 15:06:30 +0800

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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

  By Date           By Thread  

Current thread:
  • how to modify the source code? ?????????? (Mar 27)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]