summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndrea Bolognani <abologna@redhat.com>2019-05-22 18:16:59 +0200
committerAndrea Bolognani <abologna@redhat.com>2019-06-03 17:27:43 +0200
commit571cb9db30ebd1aa515aae403dd621a6a3a0fa33 (patch)
tree49797aef67828dd7a01ca9e295dbfe4a48754103 /examples
parentd56fc3c15818a6a519b33b611bd6307eb883ce59 (diff)
downloadlibvirt-571cb9db30ebd1aa515aae403dd621a6a3a0fa33.tar.gz
examples: Group all C programs together
All other examples are organized using the either the format/ or the format/category/ hierarchy already, and grouping all C programs together removes the last remaining outliers. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Acked-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am72
-rw-r--r--examples/c/admin/client_close.c (renamed from examples/admin/client_close.c)0
-rw-r--r--examples/c/admin/client_info.c (renamed from examples/admin/client_info.c)0
-rw-r--r--examples/c/admin/client_limits.c (renamed from examples/admin/client_limits.c)0
-rw-r--r--examples/c/admin/list_clients.c (renamed from examples/admin/list_clients.c)0
-rw-r--r--examples/c/admin/list_servers.c (renamed from examples/admin/list_servers.c)0
-rw-r--r--examples/c/admin/logging.c (renamed from examples/admin/logging.c)0
-rw-r--r--examples/c/admin/threadpool_params.c (renamed from examples/admin/threadpool_params.c)0
-rw-r--r--examples/c/domain/dommigrate.c (renamed from examples/domain/dommigrate.c)0
-rw-r--r--examples/c/domain/domtop.c (renamed from examples/domain/domtop.c)0
-rw-r--r--examples/c/domain/info1.c (renamed from examples/domain/info1.c)0
-rw-r--r--examples/c/domain/rename.c (renamed from examples/domain/rename.c)0
-rw-r--r--examples/c/domain/suspend.c (renamed from examples/domain/suspend.c)0
-rw-r--r--examples/c/misc/event-test.c (renamed from examples/misc/event-test.c)0
-rw-r--r--examples/c/misc/hellolibvirt.c (renamed from examples/misc/hellolibvirt.c)0
-rw-r--r--examples/c/misc/openauth.c (renamed from examples/misc/openauth.c)0
16 files changed, 36 insertions, 36 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 50dae304e8..0adb4b42e2 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -19,15 +19,15 @@
FILTERS = $(wildcard $(srcdir)/xml/nwfilter/*.xml)
ADMIN_EXAMPLES = \
- $(wildcard $(srcdir)/admin/*.c) \
+ $(wildcard $(srcdir)/c/admin/*.c) \
$(NULL)
DOMAIN_EXAMPLES = \
- $(wildcard $(srcdir)/domain/*.c) \
+ $(wildcard $(srcdir)/c/domain/*.c) \
$(NULL)
MISC_EXAMPLES = \
- $(wildcard $(srcdir)/misc/*.c) \
+ $(wildcard $(srcdir)/c/misc/*.c) \
$(NULL)
POLKIT_EXAMPLES = \
@@ -78,38 +78,38 @@ LDADD = \
$(NULL)
noinst_PROGRAMS = \
- admin/client_close \
- admin/client_info \
- admin/client_limits \
- admin/list_clients \
- admin/list_servers \
- admin/logging \
- admin/threadpool_params \
- domain/dommigrate \
- domain/domtop \
- domain/info1 \
- domain/rename \
- domain/suspend \
- misc/event-test \
- misc/hellolibvirt \
- misc/openauth \
+ c/admin/client_close \
+ c/admin/client_info \
+ c/admin/client_limits \
+ c/admin/list_clients \
+ c/admin/list_servers \
+ c/admin/logging \
+ c/admin/threadpool_params \
+ c/domain/dommigrate \
+ c/domain/domtop \
+ c/domain/info1 \
+ c/domain/rename \
+ c/domain/suspend \
+ c/misc/event-test \
+ c/misc/hellolibvirt \
+ c/misc/openauth \
$(NULL)
-admin_client_close_SOURCES = admin/client_close.c
-admin_client_info_SOURCES = admin/client_info.c
-admin_client_limits_SOURCES = admin/client_limits.c
-admin_list_clients_SOURCES = admin/list_clients.c
-admin_list_servers_SOURCES = admin/list_servers.c
-admin_logging_SOURCES = admin/logging.c
-admin_threadpool_params_SOURCES = admin/threadpool_params.c
-domain_dommigrate_SOURCES = domain/dommigrate.c
-domain_domtop_SOURCES = domain/domtop.c
-domain_info1_SOURCES = domain/info1.c
-domain_rename_SOURCES = domain/rename.c
-domain_suspend_SOURCES = domain/suspend.c
-misc_event_test_SOURCES = misc/event-test.c
-misc_hellolibvirt_SOURCES = misc/hellolibvirt.c
-misc_openauth_SOURCES = misc/openauth.c
+c_admin_client_close_SOURCES = c/admin/client_close.c
+c_admin_client_info_SOURCES = c/admin/client_info.c
+c_admin_client_limits_SOURCES = c/admin/client_limits.c
+c_admin_list_clients_SOURCES = c/admin/list_clients.c
+c_admin_list_servers_SOURCES = c/admin/list_servers.c
+c_admin_logging_SOURCES = c/admin/logging.c
+c_admin_threadpool_params_SOURCES = c/admin/threadpool_params.c
+c_domain_dommigrate_SOURCES = c/domain/dommigrate.c
+c_domain_domtop_SOURCES = c/domain/domtop.c
+c_domain_info1_SOURCES = c/domain/info1.c
+c_domain_rename_SOURCES = c/domain/rename.c
+c_domain_suspend_SOURCES = c/domain/suspend.c
+c_misc_event_test_SOURCES = c/misc/event-test.c
+c_misc_hellolibvirt_SOURCES = c/misc/hellolibvirt.c
+c_misc_openauth_SOURCES = c/misc/openauth.c
if WITH_NWFILTER
@@ -120,13 +120,13 @@ endif WITH_NWFILTER
examplesdir = $(docdir)/examples
-adminexamplesdir = $(examplesdir)/admin
+adminexamplesdir = $(examplesdir)/c/admin
adminexamples_DATA = $(ADMIN_EXAMPLES)
-domainexamplesdir = $(examplesdir)/domain
+domainexamplesdir = $(examplesdir)/c/domain
domainexamples_DATA = $(DOMAIN_EXAMPLES)
-miscexamplesdir = $(examplesdir)/misc
+miscexamplesdir = $(examplesdir)/c/misc
miscexamples_DATA = $(MISC_EXAMPLES)
polkitexamplesdir = $(examplesdir)/polkit
diff --git a/examples/admin/client_close.c b/examples/c/admin/client_close.c
index 5c28ce7949..5c28ce7949 100644
--- a/examples/admin/client_close.c
+++ b/examples/c/admin/client_close.c
diff --git a/examples/admin/client_info.c b/examples/c/admin/client_info.c
index 7fc6c72bbd..7fc6c72bbd 100644
--- a/examples/admin/client_info.c
+++ b/examples/c/admin/client_info.c
diff --git a/examples/admin/client_limits.c b/examples/c/admin/client_limits.c
index fb29ee6cbf..fb29ee6cbf 100644
--- a/examples/admin/client_limits.c
+++ b/examples/c/admin/client_limits.c
diff --git a/examples/admin/list_clients.c b/examples/c/admin/list_clients.c
index 2876637d42..2876637d42 100644
--- a/examples/admin/list_clients.c
+++ b/examples/c/admin/list_clients.c
diff --git a/examples/admin/list_servers.c b/examples/c/admin/list_servers.c
index e53cd3b48f..e53cd3b48f 100644
--- a/examples/admin/list_servers.c
+++ b/examples/c/admin/list_servers.c
diff --git a/examples/admin/logging.c b/examples/c/admin/logging.c
index 730ae40d9d..730ae40d9d 100644
--- a/examples/admin/logging.c
+++ b/examples/c/admin/logging.c
diff --git a/examples/admin/threadpool_params.c b/examples/c/admin/threadpool_params.c
index 8e6354576f..8e6354576f 100644
--- a/examples/admin/threadpool_params.c
+++ b/examples/c/admin/threadpool_params.c
diff --git a/examples/domain/dommigrate.c b/examples/c/domain/dommigrate.c
index 60cfb3fb83..60cfb3fb83 100644
--- a/examples/domain/dommigrate.c
+++ b/examples/c/domain/dommigrate.c
diff --git a/examples/domain/domtop.c b/examples/c/domain/domtop.c
index e463e2873f..e463e2873f 100644
--- a/examples/domain/domtop.c
+++ b/examples/c/domain/domtop.c
diff --git a/examples/domain/info1.c b/examples/c/domain/info1.c
index f0ea9b9f08..f0ea9b9f08 100644
--- a/examples/domain/info1.c
+++ b/examples/c/domain/info1.c
diff --git a/examples/domain/rename.c b/examples/c/domain/rename.c
index 85f18e9df3..85f18e9df3 100644
--- a/examples/domain/rename.c
+++ b/examples/c/domain/rename.c
diff --git a/examples/domain/suspend.c b/examples/c/domain/suspend.c
index af61129ecc..af61129ecc 100644
--- a/examples/domain/suspend.c
+++ b/examples/c/domain/suspend.c
diff --git a/examples/misc/event-test.c b/examples/c/misc/event-test.c
index fcf4492470..fcf4492470 100644
--- a/examples/misc/event-test.c
+++ b/examples/c/misc/event-test.c
diff --git a/examples/misc/hellolibvirt.c b/examples/c/misc/hellolibvirt.c
index bfb12846e6..bfb12846e6 100644
--- a/examples/misc/hellolibvirt.c
+++ b/examples/c/misc/hellolibvirt.c
diff --git a/examples/misc/openauth.c b/examples/c/misc/openauth.c
index efd21c374f..efd21c374f 100644
--- a/examples/misc/openauth.c
+++ b/examples/c/misc/openauth.c