提交 159a37f6 编写于 作者: E Erik Skultety

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: NErik Skultety <eskultet@redhat.com>
Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
上级 252610f7
......@@ -128,7 +128,7 @@ libvirtd_conf_la_LIBADD = $(LIBXML_LIBS)
noinst_LTLIBRARIES += libvirtd_admin.la
libvirtd_admin_la_SOURCES = \
admin_server.c admin_server.h
admin.c admin.h
libvirtd_admin_la_CFLAGS = \
$(AM_CFLAGS) \
......@@ -319,7 +319,8 @@ endif ! WITH_POLKIT
remote.c: $(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 \
libvirtd.libxl.logrotate libvirtd.uml.logrotate \
......
/*
* 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
* modify it under the terms of the GNU Lesser General Public
......@@ -27,7 +27,7 @@
#include "libvirt_internal.h"
#include "admin_protocol.h"
#include "admin_server.h"
#include "admin.h"
#include "datatypes.h"
#include "viralloc.h"
#include "virerror.h"
......
/*
* 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
* modify it under the terms of the GNU Lesser General Public
......
......@@ -44,7 +44,7 @@
#include "libvirtd.h"
#include "libvirtd-config.h"
#include "admin_server.h"
#include "admin.h"
#include "viruuid.h"
#include "remote_driver.h"
#include "viralloc.h"
......
daemon/admin_dispatch.h
daemon/admin_server.c
daemon/admin.c
daemon/libvirtd-config.c
daemon/libvirtd.c
daemon/qemu_dispatch.h
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册