wlmaker
Loading...
Searching...
No Matches
Functions | Variables
plist.h File Reference
#include <libbase/libbase.h>
#include "model.h"
#include "decode.h"
Include dependency graph for plist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

wlmcfg_object_twlmcfg_create_object_from_plist_string (const char *buf_ptr)
 
wlmcfg_object_twlmcfg_create_object_from_plist_data (const uint8_t *data_ptr, size_t data_size)
 
wlmcfg_object_twlmcfg_create_object_from_plist_file (const char *fname_ptr)
 

Variables

const bs_test_case_t wlmcfg_plist_test_cases []
 

Detailed Description

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ wlmcfg_create_object_from_plist_data()

wlmcfg_object_t * wlmcfg_create_object_from_plist_data ( const uint8_t * data_ptr,
size_t data_size )

Parses the plist data with given size and returns the de-serialized object.

Parameters
data_ptr
data_size
Returns
The de-serialized object, or NULL on error.

◆ wlmcfg_create_object_from_plist_file()

wlmcfg_object_t * wlmcfg_create_object_from_plist_file ( const char * fname_ptr)

Parses the file fname_ptr and returns the de-serialized object.

Parameters
fname_ptr
Returns
The de-serialized object, or NULL on error.

◆ wlmcfg_create_object_from_plist_string()

wlmcfg_object_t * wlmcfg_create_object_from_plist_string ( const char * buf_ptr)

Parses the plist string buf_ptr and returns the de-serialized object.

Parameters
buf_ptr
Returns
The de-serialized object, or NULL on error.

Variable Documentation

◆ wlmcfg_plist_test_cases

const bs_test_case_t wlmcfg_plist_test_cases[]
extern

Unit tests for the plist parser.