path: root/examples/nft-events.c
diff options
authorArturo Borrero <>2014-04-15 20:12:58 +0200
committerPablo Neira Ayuso <>2014-04-26 14:06:49 +0200
commit612698d4cedb3fbc2a02480c05b9a9d8cb13d3a8 (patch)
treeec29b7eaf18bacfee5a0cd850d15a115b9730d7a /examples/nft-events.c
parent4e92a484c00a8c2e18d4e2b8a1912ac1b86b4089 (diff)
src: add flag to add event wrapping in output functions
This patch uses the flag option of each output function to print an event wrapper string in each object. In order to use this functionality, the caller must pass the corresponding flags: NFT_OF_EVENT_NEW / NFT_OF_EVENT_DEL. (I have slightly refactorized the original code to add the xml/json header and footer --pablo). Signed-off-by: Arturo Borrero Gonzalez <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'examples/nft-events.c')
0 files changed, 0 insertions, 0 deletions