Rename sexpr.{c,h} to virsexpr.{c,h}

This commit is contained in:
Daniel P. Berrange 2012-12-13 15:07:43 +00:00
parent f56c773bf8
commit 226ad9815a
8 changed files with 37 additions and 15 deletions

2
cfg.mk
View File

@ -807,7 +807,7 @@ exclude_file_name_regexp--sc_prohibit_sprintf = \
exclude_file_name_regexp--sc_prohibit_strncpy = ^src/util/util\.c$$
exclude_file_name_regexp--sc_prohibit_strtol = \
^src/(util/sexpr|(vbox|xen|xenxs)/.*)\.c$$
^src/(util/virsexpr|(vbox|xen|xenxs)/.*)\.c$$
exclude_file_name_regexp--sc_prohibit_xmlGetProp = ^src/util/xml\.c$$

View File

@ -139,7 +139,6 @@ src/test/test_driver.c
src/uml/uml_conf.c
src/uml/uml_driver.c
src/util/iohelper.c
src/util/sexpr.c
src/util/stats_linux.c
src/util/storage_file.c
src/util/sysinfo.c
@ -174,6 +173,7 @@ src/util/virpci.c
src/util/virpidfile.c
src/util/virprocess.c
src/util/virrandom.c
src/util/virsexpr.c
src/util/virsocketaddr.c
src/util/virterror.c
src/util/virterror_internal.h

View File

@ -53,7 +53,6 @@ augeastest_DATA =
# These files are not related to driver APIs. Simply generic
# helper APIs for various purposes
UTIL_SOURCES = \
util/sexpr.c util/sexpr.h \
util/stats_linux.c util/stats_linux.h \
util/storage_file.c util/storage_file.h \
util/sysinfo.c util/sysinfo.h \
@ -87,6 +86,7 @@ UTIL_SOURCES = \
util/virpci.c util/virpci.h \
util/virpidfile.c util/virpidfile.h \
util/virprocess.c util/virprocess.h \
util/virsexpr.c util/virsexpr.h \
util/virtypedparam.c util/virtypedparam.h \
util/xml.c util/xml.h \
util/virterror.c util/virterror_internal.h \

View File

@ -1,12 +1,23 @@
/*
* sexpr.c : S-Expression routines to communicate with the Xen Daemon
* virsexpr.c : S-Expression routines to communicate with the Xen Daemon
*
* Copyright (C) 2010-2011 Red Hat, Inc.
* Copyright (C) 2005 Anthony Liguori <aliguori@us.ibm.com>
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License. See the file COPYING.LIB in the main directory of this
* archive for more details.
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*
*/
#include <config.h>
@ -18,7 +29,7 @@
#include <errno.h>
#include "virterror_internal.h"
#include "sexpr.h"
#include "virsexpr.h"
#include "util.h"
#include "viralloc.h"

View File

@ -1,12 +1,23 @@
/*
* sexpr.h : S-Expression interfaces needed to communicate with the Xen Daemon
* virsexpr.h : S-Expression interfaces needed to communicate with the Xen Daemon
*
* Copyright (C) 2012 Red Hat, Inc.
* Copyright (C) 2005 Anthony Liguori <aliguori@us.ibm.com>
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License. See the file COPYING.LIB in the main directory of this
* archive for more details.
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*
*/
#ifndef _LIBVIR_SEXPR_H_

View File

@ -35,7 +35,7 @@
#include "xend_internal.h"
#include "driver.h"
#include "util.h"
#include "sexpr.h"
#include "virsexpr.h"
#include "xen_sxpr.h"
#include "virbuffer.h"
#include "uuid.h"

View File

@ -30,7 +30,7 @@
# include "internal.h"
# include "virconf.h"
# include "domain_conf.h"
# include "sexpr.h"
# include "virsexpr.h"
typedef enum {
XEND_CONFIG_VERSION_3_0_2 = 1,

View File

@ -31,7 +31,7 @@
#include "viralloc.h"
#include "verify.h"
#include "uuid.h"
#include "sexpr.h"
#include "virsexpr.h"
#include "count-one-bits.h"
#include "xenxs_private.h"
#include "xen_xm.h"