path: root/py
diff options
authorPhil Sutter <>2018-04-10 19:00:22 +0200
committerPablo Neira Ayuso <>2018-04-11 09:57:28 +0200
commit40d94ca1dcd8ee0c6df4a33707e224dbe6a684b3 (patch)
tree8718d5921ccc45486315fb9b94e7dcea030dc01c /py
parent4176e24e14f0723486253ebcfd2885c77f82f7b1 (diff)
libnftables: Support buffering output and error
When integrating libnftables into Python code using ctypes module, having to use a FILE pointer for output becomes a show-stopper. Therefore make Python hackers' lives (a little) less painful by providing convenience functions to setup buffering output and error streams using fopencookie() and retrieving the buffers. Signed-off-by: Phil Sutter <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions