mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 22:05:47 +00:00
admin: Move admin_server.{h,c} to admin.{h,c}
This change is merely because admin_server would contain all the code from dispatchers and helpers to the actual APIs. Admin should have similar structure to the daemon-side remote driver - dispatchers and helpers in a separate module, APIs in a separate module. Best viewed with -M. Signed-off-by: Erik Skultety <eskultet@redhat.com> Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
252610f7dd
commit
159a37f659
@ -128,7 +128,7 @@ libvirtd_conf_la_LIBADD = $(LIBXML_LIBS)
|
|||||||
|
|
||||||
noinst_LTLIBRARIES += libvirtd_admin.la
|
noinst_LTLIBRARIES += libvirtd_admin.la
|
||||||
libvirtd_admin_la_SOURCES = \
|
libvirtd_admin_la_SOURCES = \
|
||||||
admin_server.c admin_server.h
|
admin.c admin.h
|
||||||
|
|
||||||
libvirtd_admin_la_CFLAGS = \
|
libvirtd_admin_la_CFLAGS = \
|
||||||
$(AM_CFLAGS) \
|
$(AM_CFLAGS) \
|
||||||
@ -319,7 +319,8 @@ endif ! WITH_POLKIT
|
|||||||
|
|
||||||
remote.c: $(DAEMON_GENERATED)
|
remote.c: $(DAEMON_GENERATED)
|
||||||
remote.h: $(DAEMON_GENERATED)
|
remote.h: $(DAEMON_GENERATED)
|
||||||
admin_server.c: $(DAEMON_GENERATED)
|
admin.c: $(DAEMON_GENERATED)
|
||||||
|
admin.h: $(DAEMON_GENERATED)
|
||||||
|
|
||||||
LOGROTATE_CONFS = libvirtd.qemu.logrotate libvirtd.lxc.logrotate \
|
LOGROTATE_CONFS = libvirtd.qemu.logrotate libvirtd.lxc.logrotate \
|
||||||
libvirtd.libxl.logrotate libvirtd.uml.logrotate \
|
libvirtd.libxl.logrotate libvirtd.uml.logrotate \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* admin_server.c:
|
* admin.c: handlers for admin RPC method calls
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014-2015 Red Hat, Inc.
|
* Copyright (C) 2014-2016 Red Hat, Inc.
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
@ -27,7 +27,7 @@
|
|||||||
#include "libvirt_internal.h"
|
#include "libvirt_internal.h"
|
||||||
|
|
||||||
#include "admin_protocol.h"
|
#include "admin_protocol.h"
|
||||||
#include "admin_server.h"
|
#include "admin.h"
|
||||||
#include "datatypes.h"
|
#include "datatypes.h"
|
||||||
#include "viralloc.h"
|
#include "viralloc.h"
|
||||||
#include "virerror.h"
|
#include "virerror.h"
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* admin_server.h
|
* admin.h: handlers for admin RPC method calls
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Red Hat, Inc.
|
* Copyright (C) 2014-2016 Red Hat, Inc.
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
@ -44,7 +44,7 @@
|
|||||||
#include "libvirtd.h"
|
#include "libvirtd.h"
|
||||||
#include "libvirtd-config.h"
|
#include "libvirtd-config.h"
|
||||||
|
|
||||||
#include "admin_server.h"
|
#include "admin.h"
|
||||||
#include "viruuid.h"
|
#include "viruuid.h"
|
||||||
#include "remote_driver.h"
|
#include "remote_driver.h"
|
||||||
#include "viralloc.h"
|
#include "viralloc.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
daemon/admin_dispatch.h
|
daemon/admin_dispatch.h
|
||||||
daemon/admin_server.c
|
daemon/admin.c
|
||||||
daemon/libvirtd-config.c
|
daemon/libvirtd-config.c
|
||||||
daemon/libvirtd.c
|
daemon/libvirtd.c
|
||||||
daemon/qemu_dispatch.h
|
daemon/qemu_dispatch.h
|
||||||
|
Loading…
Reference in New Issue
Block a user