devguide: clarify style guide for getframe funcs

As the GetFrameIdByName can be probed, we must warn developers not to
leave any output in them, or misleading messages could be printed.

Task #5129
pull/7056/head
Juliana Fajardini 3 years ago committed by Victor Julien
parent 6232c94235
commit 6c616d84b1

@ -190,6 +190,8 @@ Register relevant callbacks (note that the actual functions will also have to be
:end-before: /* app-layer-frame-documentation tag end: registering relevant callbacks
:dedent: 8
.. note:: The ``GetFrameIdByName`` functions can be "probed", so they should not generate any output or that could be misleading (for instance, Suricata generating a log message stating that a valid frame type is unknown).
Visual context
==============

Loading…
Cancel
Save