diff options
author | Thomas Graf <tgraf@suug.ch> | 2011-07-14 12:48:00 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2011-07-14 12:48:00 +0200 |
commit | 63548f5664e0e149f5e51219ad6f582f985e3c42 (patch) | |
tree | bcb04f5d3beac0aaa887a6cd75ef791faefdfae4 /doc/src/examples/my_parse.c | |
parent | 21d52eabba00089e3319575616a429fb75309cb7 (diff) | |
download | libnl-master.tar.gz |
Diffstat (limited to 'doc/src/examples/my_parse.c')
-rw-r--r-- | doc/src/examples/my_parse.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/doc/src/examples/my_parse.c b/doc/src/examples/my_parse.c deleted file mode 100644 index c1ff637..0000000 --- a/doc/src/examples/my_parse.c +++ /dev/null @@ -1,11 +0,0 @@ -#include <netlink/msg.h> - -void my_parse(void *stream, int length) -{ - struct nlmsghdr *hdr = stream; - - while (nlmsg_ok(hdr, length)) { - // Parse message here - hdr = nlmsg_next(hdr, &length); - } -} |