1 /*
2 * Copyright (c) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 #include "hks_plugin_adapter.h"
17 #include "hks_log.h"
18 #include "hks_type.h"
19
HksInitPluginProxy(void)20 int32_t HksInitPluginProxy(void)
21 {
22 HKS_LOG_I("Unsupport extension plugin!");
23 return HKS_SUCCESS;
24 }
25
HksPluginOnRemoteRequest(uint32_t code,void * data,void * reply,void * option)26 int32_t HksPluginOnRemoteRequest(uint32_t code, void *data, void *reply, void *option)
27 {
28 (void)(code);
29 (void)(data);
30 (void)(reply);
31 (void)(option);
32 return HKS_SUCCESS;
33 }
34
HksPluginOnLocalRequest(uint32_t code,const void * data,void * reply)35 int32_t HksPluginOnLocalRequest(uint32_t code, const void *data, void *reply)
36 {
37 (void)(code);
38 (void)(data);
39 (void)(reply);
40 return HKS_SUCCESS;
41 }
42
HksPluginOnReceiveEvent(const void * data)43 void HksPluginOnReceiveEvent(const void *data)
44 {
45 (void)(data);
46 }
47
RetryLoadPlugin(void)48 int32_t RetryLoadPlugin(void)
49 {
50 return HKS_SUCCESS;
51 }
52