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/nla_put.c | |
parent | 21d52eabba00089e3319575616a429fb75309cb7 (diff) | |
download | libnl-master.tar.gz |
Diffstat (limited to 'doc/src/examples/nla_put.c')
-rw-r--r-- | doc/src/examples/nla_put.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/doc/src/examples/nla_put.c b/doc/src/examples/nla_put.c deleted file mode 100644 index 0683fa5..0000000 --- a/doc/src/examples/nla_put.c +++ /dev/null @@ -1,14 +0,0 @@ -struct my_attr_struct { - uint32_t a; - uint32_t b; -}; - -int my_put(struct nl_msg *msg) -{ - struct my_attr_struct obj = { - .a = 10, - .b = 20, - }; - - return nla_put(msg, ATTR_MY_STRUCT, sizeof(obj), &obj); -} |