~ubuntu-branches/ubuntu/raring/opendrim-lmp-systemmemory/raring

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*###############################################################################
# Linux Management Providers (LMP), System Memory provider package
# Copyright (C) 2008 Guillaume BOTTEX, ETRI <guillaumebottex@etri.re.kr, guillaumebottex@gmail.com>
#
# This program is being developed under the "OpenDRIM" project.
# The "OpenDRIM" project web page: http://opendrim.sourceforge.net
# The "OpenDRIM" project mailing list: opendrim@googlegroups.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 2
# of the License.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#################################################################################

#################################################################################
# To contributors, please leave your contact information in this section
# AND comment your changes in the source code.
#
# Modified by <Author(s)>, <Affiliation>, <Year>
###############################################################################*/

#ifndef OPENDRIM_ENABLEDMEMORYCAPABILITIESACCESS_H_
#define OPENDRIM_ENABLEDMEMORYCAPABILITIESACCESS_H_

#include "SystemMemory_Common.h"

#include "OpenDRIM_EnabledMemoryCapabilities.h"

int SystemMemory_OpenDRIM_EnabledMemoryCapabilities_load(const CMPIBroker* broker, string& errorMessage);

int SystemMemory_OpenDRIM_EnabledMemoryCapabilities_unload(string& errorMessage);

int SystemMemory_OpenDRIM_EnabledMemoryCapabilities_retrieve(const CMPIBroker* broker, const CMPIContext* ctx, vector<OpenDRIM_EnabledMemoryCapabilities>& instances, const char** properties, string& errorMessage, const string& discriminant);

int SystemMemory_OpenDRIM_EnabledMemoryCapabilities_getInstance(const CMPIBroker* broker, const CMPIContext* ctx, OpenDRIM_EnabledMemoryCapabilities& instance, const char** properties, string& errorMessage);

int SystemMemory_OpenDRIM_EnabledMemoryCapabilities_setInstance(const CMPIBroker* broker, const CMPIContext* ctx, const OpenDRIM_EnabledMemoryCapabilities& newInstance, const OpenDRIM_EnabledMemoryCapabilities& oldInstance, const char** properties, string& errorMessage);

int SystemMemory_OpenDRIM_EnabledMemoryCapabilities_createInstance(const CMPIBroker* broker, const CMPIContext* ctx, const OpenDRIM_EnabledMemoryCapabilities& instance, string& errorMessage);

int SystemMemory_OpenDRIM_EnabledMemoryCapabilities_deleteInstance(const CMPIBroker* broker, const CMPIContext* ctx, const OpenDRIM_EnabledMemoryCapabilities& instance, string& errorMessage);

int SystemMemory_OpenDRIM_EnabledMemoryCapabilities_CreateGoalSettings(const CMPIBroker* broker, const CMPIContext* ctx, const OpenDRIM_EnabledMemoryCapabilities& instance, unsigned short& returnValue, const OpenDRIM_EnabledMemoryCapabilities_CreateGoalSettings_In& in, OpenDRIM_EnabledMemoryCapabilities_CreateGoalSettings_Out& out, string& errorMessage);

int SystemMemory_OpenDRIM_EnabledMemoryCapabilities_populate(OpenDRIM_EnabledMemoryCapabilities& instance, string& errorMessage);

#endif /*OPENDRIM_ENABLEDMEMORYCAPABILITIESACCESS_H_*/