1 /*
2  * Copyright (C) 2023 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 "identity_common.h"
17 #include "securec.h"
18 
CreateIdentityInfo(void)19 IdentityInfo *CreateIdentityInfo(void)
20 {
21     return NULL;
22 }
23 
DestroyIdentityInfo(IdentityInfo * info)24 void DestroyIdentityInfo(IdentityInfo *info)
25 {
26     (void)info;
27 }
28 
CreateIdentityInfoVec(void)29 IdentityInfoVec CreateIdentityInfoVec(void)
30 {
31     IdentityInfoVec v;
32     (void)memset_s(&v, sizeof(IdentityInfoVec), 0, sizeof(IdentityInfoVec));
33     return v;
34 }
35 
ClearIdentityInfoVec(IdentityInfoVec * vec)36 void ClearIdentityInfoVec(IdentityInfoVec *vec)
37 {
38     (void)vec;
39 }
40 
CreateProtocolEntityVec(void)41 ProtocolEntityVec CreateProtocolEntityVec(void)
42 {
43     ProtocolEntityVec v;
44     (void)memset_s(&v, sizeof(ProtocolEntityVec), 0, sizeof(ProtocolEntityVec));
45     return v;
46 }
47 
ClearProtocolEntityVec(ProtocolEntityVec * vec)48 void ClearProtocolEntityVec(ProtocolEntityVec *vec)
49 {
50     (void)vec;
51 }