Wireshark mailing list archives
Dissector Development; _init function for inizilizing GHashTable
From: "leonardocito () libero it" <leonardocito () libero it>
Date: Mon, 26 Jan 2015 08:58:18 +0100 (CET)
I am working on the FTP dissector at the moment. I have introduced a GHashTable for the purpose of storing seq and lastackseq numbers and pinfo data. I have introduced a static void ftp_init(void) function in the same fashion as in other protocols - ie. packet-acse.c - in which I call g_hash_table_new. The relevant hashtble_oid_hash and hashtble_oid_equal are not called, presumably because they are not registered by the g_hash_table_new function. My debugger indicates note of these funcion code is reachable. What do I need to fix this?
___________________________________________________________________________ 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
Current thread:
- Dissector Development; _init function for inizilizing GHashTable leonardocito () libero it (Jan 25)
- Re: Dissector Development; _init function for inizilizing GHashTable Pascal Quantin (Jan 26)