Wireshark mailing list archives

Re: Console output from dissectors


From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Wed, 29 Jun 2016 11:44:45 +0200

Hi,

No, the console output is strictly for debug purposes only, either via printf of g_log. These printf() statements are 
all wrapped in DEBUG for conditional compilation, so should not result in code when compiled for production. 

Thanks,
Jaap


On 29 Jun 2016, at 09:47, Dario Lombardo <dario.lombardo.ml () gmail com> wrote:

Hello
Running checkAPI against the dissectors, I get warnings like

Warning: Found termoutput APIs in packet-wtp.c: printf

Are the dissector expected to produce console output? If yes, which function should they use? g_log()?
Thanks
Dario.

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


Current thread: