提交 c8aa3862 编写于 作者: D Daniel P. Berrange

Rename src/util/authhelper.[ch] to src/util/virauth.[ch]

To follow latest naming conventions, rename src/util/authhelper.[ch]
to src/util/virauth.[ch].

* src/util/authhelper.[ch]: Rename to src/util/virauth.[ch]
* src/esx/esx_driver.c, src/hyperv/hyperv_driver.c,
  src/phyp/phyp_driver.c, src/xenapi/xenapi_driver.c: Update
  for renamed include files
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 f6632f6b
...@@ -106,7 +106,6 @@ src/storage/storage_driver.c ...@@ -106,7 +106,6 @@ src/storage/storage_driver.c
src/test/test_driver.c src/test/test_driver.c
src/uml/uml_conf.c src/uml/uml_conf.c
src/uml/uml_driver.c src/uml/uml_driver.c
src/util/authhelper.c
src/util/cgroup.c src/util/cgroup.c
src/util/command.c src/util/command.c
src/util/conf.c src/util/conf.c
...@@ -125,6 +124,7 @@ src/util/storage_file.c ...@@ -125,6 +124,7 @@ src/util/storage_file.c
src/util/sysinfo.c src/util/sysinfo.c
src/util/util.c src/util/util.c
src/util/viraudit.c src/util/viraudit.c
src/util/virauth.c
src/util/virfile.c src/util/virfile.c
src/util/virhash.c src/util/virhash.c
src/util/virkeyfile.c src/util/virkeyfile.c
......
...@@ -52,7 +52,6 @@ augeastest_DATA = ...@@ -52,7 +52,6 @@ augeastest_DATA =
# These files are not related to driver APIs. Simply generic # These files are not related to driver APIs. Simply generic
# helper APIs for various purposes # helper APIs for various purposes
UTIL_SOURCES = \ UTIL_SOURCES = \
util/authhelper.c util/authhelper.h \
util/bitmap.c util/bitmap.h \ util/bitmap.c util/bitmap.h \
util/buf.c util/buf.h \ util/buf.c util/buf.h \
util/command.c util/command.h \ util/command.c util/command.h \
...@@ -81,6 +80,7 @@ UTIL_SOURCES = \ ...@@ -81,6 +80,7 @@ UTIL_SOURCES = \
util/uuid.c util/uuid.h \ util/uuid.c util/uuid.h \
util/util.c util/util.h \ util/util.c util/util.h \
util/viraudit.c util/viraudit.h \ util/viraudit.c util/viraudit.h \
util/virauth.c util/virauth.h \
util/virfile.c util/virfile.h \ util/virfile.c util/virfile.h \
util/virnodesuspend.c util/virnodesuspend.h \ util/virnodesuspend.c util/virnodesuspend.h \
util/virpidfile.c util/virpidfile.h \ util/virpidfile.c util/virpidfile.h \
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "internal.h" #include "internal.h"
#include "domain_conf.h" #include "domain_conf.h"
#include "authhelper.h" #include "virauth.h"
#include "util.h" #include "util.h"
#include "memory.h" #include "memory.h"
#include "logging.h" #include "logging.h"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "internal.h" #include "internal.h"
#include "datatypes.h" #include "datatypes.h"
#include "domain_conf.h" #include "domain_conf.h"
#include "authhelper.h" #include "virauth.h"
#include "util.h" #include "util.h"
#include "memory.h" #include "memory.h"
#include "logging.h" #include "logging.h"
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include <domain_event.h> #include <domain_event.h>
#include "internal.h" #include "internal.h"
#include "authhelper.h" #include "virauth.h"
#include "util.h" #include "util.h"
#include "datatypes.h" #include "datatypes.h"
#include "buf.h" #include "buf.h"
......
/* /*
* authhelper.c: authentication related utility functions * virauth.c: authentication related utility functions
* *
* Copyright (C) 2010 Matthias Bolte <matthias.bolte@googlemail.com> * Copyright (C) 2010 Matthias Bolte <matthias.bolte@googlemail.com>
* *
...@@ -22,7 +21,7 @@ ...@@ -22,7 +21,7 @@
#include <config.h> #include <config.h>
#include "authhelper.h" #include "virauth.h"
#include "util.h" #include "util.h"
#include "memory.h" #include "memory.h"
......
/* /*
* authhelper.h: authentication related utility functions * virauth.h: authentication related utility functions
* *
* Copyright (C) 2010 Matthias Bolte <matthias.bolte@googlemail.com> * Copyright (C) 2010 Matthias Bolte <matthias.bolte@googlemail.com>
* *
...@@ -20,8 +19,8 @@ ...@@ -20,8 +19,8 @@
* *
*/ */
#ifndef __VIR_AUTHHELPER_H__ #ifndef __VIR_AUTH_H__
# define __VIR_AUTHHELPER_H__ # define __VIR_AUTH_H__
# include "internal.h" # include "internal.h"
...@@ -30,4 +29,4 @@ char *virRequestUsername(virConnectAuthPtr auth, const char *defaultUsername, ...@@ -30,4 +29,4 @@ char *virRequestUsername(virConnectAuthPtr auth, const char *defaultUsername,
char *virRequestPassword(virConnectAuthPtr auth, const char *username, char *virRequestPassword(virConnectAuthPtr auth, const char *username,
const char *hostname); const char *hostname);
#endif /* __VIR_AUTHHELPER_H__ */ #endif /* __VIR_AUTH_H__ */
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "domain_conf.h" #include "domain_conf.h"
#include "virterror_internal.h" #include "virterror_internal.h"
#include "datatypes.h" #include "datatypes.h"
#include "authhelper.h" #include "virauth.h"
#include "util.h" #include "util.h"
#include "uuid.h" #include "uuid.h"
#include "memory.h" #include "memory.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册