1
/*###############################################################################
2
# Linux Management Providers (LMP), OpenDRIM_RecordLogPackage provider package
3
# Copyright (C) 2007 Ilsoo Byun, ETRI <widepis@etri.re.kr, widepis@empal.com>
5
# This program is being developed under the "OpenDRIM" project.
6
# The "OpenDRIM" project web page: http://opendrim.sourceforge.net
7
# The "OpenDRIM" project mailing list: opendrim@googlegroups.com
9
# This program is free software; you can redistribute it and/or
10
# modify it under the terms of the GNU General Public License
11
# as published by the Free Software Foundation; version 2
14
# This program is distributed in the hope that it will be useful,
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
# GNU General Public License for more details.
19
# You should have received a copy of the GNU General Public License
20
# along with this program; if not, write to the Free Software
21
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
#################################################################################
24
#################################################################################
25
# To contributors, please leave your contact information in this section
26
# AND comment your changes in the source code.
28
# Modified by 2008 Guillaume BOTTEX, ETRI <guillaumebottex@etri.re.kr, guillaumebottex@gmail.com>
29
###############################################################################*/
31
#ifndef OPENDRIM_RECORDLOGPROFILEACCESS_H_
32
#define OPENDRIM_RECORDLOGPROFILEACCESS_H_
34
#include "OpenDRIM_RecordLogPackage_Common.h"
36
#include "OpenDRIM_RecordLogProfile.h"
38
int OpenDRIM_RecordLogPackage_OpenDRIM_RecordLogProfile_load(const CMPIBroker* broker, string& errorMessage);
40
int OpenDRIM_RecordLogPackage_OpenDRIM_RecordLogProfile_unload(string& errorMessage);
42
int OpenDRIM_RecordLogPackage_OpenDRIM_RecordLogProfile_retrieve(const CMPIBroker* broker, const CMPIContext* ctx, vector<OpenDRIM_RecordLogProfile>& instances, const char** properties, string& errorMessage, const string& discriminant);
44
int OpenDRIM_RecordLogPackage_OpenDRIM_RecordLogProfile_getInstance(const CMPIBroker* broker, const CMPIContext* ctx, OpenDRIM_RecordLogProfile& instance, const char** properties, string& errorMessage);
46
int OpenDRIM_RecordLogPackage_OpenDRIM_RecordLogProfile_setInstance(const CMPIBroker* broker, const CMPIContext* ctx, const OpenDRIM_RecordLogProfile& newInstance, const OpenDRIM_RecordLogProfile& oldInstance, const char** properties, string& errorMessage);
48
int OpenDRIM_RecordLogPackage_OpenDRIM_RecordLogProfile_createInstance(const CMPIBroker* broker, const CMPIContext* ctx, const OpenDRIM_RecordLogProfile& instance, string& errorMessage);
50
int OpenDRIM_RecordLogPackage_OpenDRIM_RecordLogProfile_deleteInstance(const CMPIBroker* broker, const CMPIContext* ctx, const OpenDRIM_RecordLogProfile& instance, string& errorMessage);
52
int OpenDRIM_RecordLogPackage_OpenDRIM_RecordLogProfile_populate(OpenDRIM_RecordLogProfile& instance, string& errorMessage);
54
#endif /*OPENDRIM_RECORDLOGPROFILEACCESS_H_*/