# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1202498491 28800
# Node ID 89cff8c40cafbce33b90a55e991721b8302714c2
# Parent 1aef50fa67a9ba1a3687afe03e3b1bf455d57685
Make get_migration_sd() of VSMigrationSettingData.c non-staitc.
VSMigrationService will need to call this function to get the default
VSMigrationSettingData instance.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 1aef50fa67a9 -r 89cff8c40caf src/Virt_VSMigrationSettingData.c
--- a/src/Virt_VSMigrationSettingData.c Mon Feb 25 09:09:02 2008 -0800
+++ b/src/Virt_VSMigrationSettingData.c Fri Feb 08 11:21:31 2008 -0800
@@ -30,6 +30,7 @@
#include <libcmpiutil/std_instance.h>
#include "misc_util.h"
+#include "Virt_VSMigrationSettingData.h"
const static CMPIBroker *_BROKER;
@@ -54,10 +55,10 @@ static CMPIStatus set_properties(const C
return s;
}
-static CMPIStatus get_migration_sd(const CMPIObjectPath *ref,
- CMPIInstance **_inst,
- const CMPIBroker *broker,
- bool is_get_inst)
+CMPIStatus get_migration_sd(const CMPIObjectPath *ref,
+ CMPIInstance **_inst,
+ const CMPIBroker *broker,
+ bool is_get_inst)
{
CMPIInstance *inst;
CMPIStatus s = {CMPI_RC_OK, NULL};
diff -r 1aef50fa67a9 -r 89cff8c40caf src/Virt_VSMigrationSettingData.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/Virt_VSMigrationSettingData.h Fri Feb 08 11:21:31 2008 -0800
@@ -0,0 +1,35 @@
+/*
+ * Copyright IBM Corp. 2007
+ *
+ * Authors:
+ * Kaitlin Rupert <karupert(a)us.ibm.com>
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+CMPIStatus get_migration_sd(const CMPIObjectPath *ref,
+ CMPIInstance **_inst,
+ const CMPIBroker *broker,
+ bool is_get_inst);
+/*
+ * Local Variables:
+ * mode: C
+ * c-set-style: "K&R"
+ * tab-width: 8
+ * c-basic-offset: 8
+ * indent-tabs-mode: nil
+ * End:
+ */
+