File initialize-cmpidata.patch of Package sblim-cmpi-firewall
diff -wruN -x '*~' ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface.c ./provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface.c
--- ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface.c 2009-06-18 15:26:15.000000000 +0200
+++ ./provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface.c 2010-07-27 15:26:10.000000000 +0200
@@ -568,6 +568,7 @@
_RA_STATUS ra_status = {RA_RC_OK, 0, NULL};
CMPIStatus status = { CMPI_RC_OK, NULL }; /** Return status of CIM operations. */
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_port4interface_t * resource = NULL; /** Handle to each system resource. */
firewall_port4interface_t * temp = NULL;
//int decide_flag = 1;
@@ -661,6 +662,7 @@
_RA_STATUS ra_status = {RA_RC_OK , 0, NULL};
CMPIStatus status = { CMPI_RC_OK, NULL }; /** Return status of CIM operations. */
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_port4interface_t * resource = NULL; /** Handle to each system resource. */
firewall_port4interface_t * temp = NULL;
//int decide_flag = 1;
@@ -759,6 +761,7 @@
_RA_STATUS ra_status = { RA_RC_OK, 0, NULL};
CMPIStatus status = { CMPI_RC_OK, NULL }; /** Return status of CIM operations. */
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_port4interface_t * resource = NULL; /** Handle to each system resource. */
firewall_port4interface_t * temp = NULL;
//int decide_flag = 1;
@@ -882,6 +885,7 @@
_RA_STATUS ra_status = { RA_RC_OK, 0, NULL};
CMPIStatus status = { CMPI_RC_OK, NULL }; /** Return status of CIM operations. */
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_port4interface_t * resource = NULL; /** Handle to each system resource. */
firewall_port4interface_t * temp = NULL;
//int decide_flag = 1;
diff -wruN -x '*~' ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface_Resource.c ./provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface_Resource.c
--- ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface_Resource.c 2009-06-18 15:26:15.000000000 +0200
+++ ./provider/Linux_FirewallManagedPortsForInterface/Linux_FirewallManagedPortsForInterface_Resource.c 2010-07-27 15:26:16.000000000 +0200
@@ -46,6 +46,7 @@
_RA_STATUS ra_status = {RA_RC_OK, 0, NULL};
CMPIStatus cmpi_status = {CMPI_RC_OK, NULL};
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_ports_t* prtPtr, *Prttemp = NULL;
trustedIface_t* trstIface, *Ifacetemp = NULL;
int PortFlag = 0; /** Flag to indicate the Baseclass object of Linux_FirewallManagedPorts exists */
@@ -148,6 +149,7 @@
_RA_STATUS ra_status = {RA_RC_OK, 0, NULL};
CMPIStatus cmpi_status = {CMPI_RC_OK, NULL};
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_port4interface_t* temp = NULL;
firewall_ports_t* prtPtr, *Prttemp = NULL;
trustedIface_t* trstIface, *Ifacetemp = NULL;
diff -wruN -x '*~' ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface.c ./provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface.c
--- ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface.c 2009-06-18 15:26:15.000000000 +0200
+++ ./provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface.c 2010-07-27 15:21:50.000000000 +0200
@@ -571,6 +571,7 @@
_RA_STATUS ra_status = {RA_RC_OK, 0, NULL};
CMPIStatus status = { CMPI_RC_OK, NULL }; /** Return status of CIM operations. */
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_service4interface_t * resource = NULL; /** Handle to each system resource. */
firewall_service4interface_t * temp = NULL;
//int decide_flag = 1;
@@ -662,6 +663,7 @@
_RA_STATUS ra_status = {RA_RC_OK , 0, NULL};
CMPIStatus status = { CMPI_RC_OK, NULL }; /** Return status of CIM operations. */
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_service4interface_t * resource = NULL; /** Handle to each system resource. */
firewall_service4interface_t * temp = NULL;
//int decide_flag = 1;
@@ -758,6 +760,7 @@
_RA_STATUS ra_status = { RA_RC_OK, 0, NULL};
CMPIStatus status = { CMPI_RC_OK, NULL }; /** Return status of CIM operations. */
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_service4interface_t * resource = NULL; /** Handle to each system resource. */
firewall_service4interface_t * temp = NULL;
//int decide_flag = 1;
@@ -877,6 +880,7 @@
_RA_STATUS ra_status = { RA_RC_OK, 0, NULL};
CMPIStatus status = { CMPI_RC_OK, NULL }; /** Return status of CIM operations. */
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_service4interface_t * resource = NULL; /** Handle to each system resource. */
firewall_service4interface_t * temp = NULL;
//int decide_flag = 1;
diff -wruN -x '*~' ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface_Resource.c ./provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface_Resource.c
--- ../orig-sblim-cmpi-firewall-0.5.6/provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface_Resource.c 2009-06-18 15:26:15.000000000 +0200
+++ ./provider/Linux_FirewallTrustedServicesForInterface/Linux_FirewallTrustedServicesForInterface_Resource.c 2010-07-27 15:25:59.000000000 +0200
@@ -47,6 +47,7 @@
_RA_STATUS ra_status = {RA_RC_OK, 0, NULL};
CMPIStatus cmpi_status = {CMPI_RC_OK, NULL};
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
trust_service_t* serPtr, *Sertemp = NULL;
trustedIface_t* trstIface, *Ifacetemp = NULL;
int SerFlag = 0; /** Flag to indicate the Baseclass object of Linux_FirewallTrustedServices exists */
@@ -144,6 +145,7 @@
_RA_STATUS ra_status = {RA_RC_OK, 0, NULL};
CMPIStatus cmpi_status = {CMPI_RC_OK, NULL};
CMPIData cmpiInfo;
+ cmpiInfo.value.string = 0;
firewall_service4interface_t* temp = NULL;
trust_service_t* serPtr, *Sertemp = NULL;
trustedIface_t* trstIface, *Ifacetemp = NULL;