3 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #ifndef LAWMO_ENGINE_H_
19 #define LAWMO_ENGINE_H_
22 #include "common/dm_error.h"
23 #include "dm-engine/lawmo/lawmo_engine_internal.h"
26 * @par Description: API to execute lawmo operation
30 * @par Typical use case:
31 * @par Method of function operation:
32 * @par Important notes:
33 * @param[in] full_path mo full path
34 * @param[in] value value
35 * @param[in] check operation check operation
37 * @return DM_OK success
51 DM_ERROR lawmo_exec(char *full_path, char *correlator, LAWMO_Result_code * lawmo_return, int check_operation);
54 * @par Description: API to execute lawmo operation
58 * @par Typical use case:
59 * @par Method of function operation:
60 * @par Important notes:
61 * @param[in] full_path mo full path
62 * @param[out] lawmo state data lawmo state data
64 * @return DM_OK success
78 DM_ERROR get_current_lawmo_state(char *full_path, char **lawmo_state_data);
81 * @par Description: API to execute lawmo operation
85 * @par Typical use case:
86 * @par Method of function operation:
87 * @par Important notes:
88 * @param[in] full_path mo full path
89 * @param[in] lawmo state lawmo state
91 * @return DM_OK success
105 DM_ERROR set_current_lawmo_state(char *full_path, LAWMO_State lawmo_state);
107 #endif /* LAWMO_ENGINE_H_ */