File: ldns-buf.py

package info (click to toggle)
ldns 1.8.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,864 kB
  • sloc: ansic: 46,986; python: 7,675; sh: 4,229; perl: 2,186; makefile: 1,231; xml: 518
file content (8 lines) | stat: -rwxr-xr-x 98 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
#!/usr/bin/python

import ldns

buf = ldns.ldns_buffer(1024)
buf.printf("Test buffer")
print buf