wlmaker
|
Functions | |
static wlmcfg_object_t * | _wlmcfg_create_object_from_plist_scanner (yyscan_t scanner) |
wlmcfg_object_t * | wlmcfg_create_object_from_plist_string (const char *buf_ptr) |
wlmcfg_object_t * | wlmcfg_create_object_from_plist_data (const uint8_t *data_ptr, size_t data_size) |
wlmcfg_object_t * | wlmcfg_create_object_from_plist_file (const char *fname_ptr) |
static void | test_from_string (bs_test_t *test_ptr) |
static void | test_from_file (bs_test_t *test_ptr) |
static void | test_from_data (bs_test_t *test_ptr) |
Variables | |
const bs_test_case_t | wlmcfg_plist_test_cases [] |
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.
|
static |
Does a parser run, from the initialized scanner.
|
static |
Tests plist object creation from a sized data buffer.
|
static |
Tests plist object creation from string.
|
static |
Tests plist object creation from string.
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.
data_ptr | |
data_size |
wlmcfg_object_t * wlmcfg_create_object_from_plist_file | ( | const char * | fname_ptr | ) |
Parses the file fname_ptr
and returns the de-serialized object.
fname_ptr |
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.
buf_ptr |
const bs_test_case_t wlmcfg_plist_test_cases[] |
Unit tests for the plist parser.