]> xenbits.xensource.com Git - libvirt.git/commit
examples: admin: Add some examples for the new admin APIs
authorErik Skultety <eskultet@redhat.com>
Sun, 15 May 2016 14:04:51 +0000 (16:04 +0200)
committerErik Skultety <eskultet@redhat.com>
Sat, 25 Jun 2016 22:21:06 +0000 (00:21 +0200)
commitfbb8205de357a9e216dc412ae8bbef9ae99da811
tree2b99dfd43f0092ae1ba034a89b5fca310122fd9e
parent52dbacc07a693e14079c445ec677ab03a0888106
examples: admin: Add some examples for the new admin APIs

Some of the examples make use of asprintf and strtol functions (to keep
things simple) which are prohibited to use within our code (enforced by
syntax-check). Therefore besides adding some examples, this patch also updates
cfg.mk to exclude examples directory from asprintf and strtol rules, as well as
updates .gitignore to exclude all the new admin binaries created in the
'examples' dir.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
.gitignore
cfg.mk
examples/Makefile.am
examples/admin/client_close.c [new file with mode: 0644]
examples/admin/client_info.c [new file with mode: 0644]
examples/admin/client_limits.c [new file with mode: 0644]
examples/admin/list_clients.c [new file with mode: 0644]
examples/admin/list_servers.c [new file with mode: 0644]
examples/admin/threadpool_params.c [new file with mode: 0644]