VSF Documented
vsf_test_port_file.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2024 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18/*============================ INCLUDES ======================================*/
19
20#ifndef __VSF_TEST_PORT_FILE_H__
21# define __VSF_TEST_PORT_FILE_H__
22
23# if VSF_USE_TEST == ENABLED && VSF_TEST_CFG_USE_FILE_DATA_SYNC == ENABLED
24
25/*============================ MACROS ========================================*/
26
28#ifndef VSF_TEST_DATA_FILE_PATH
29# define VSF_TEST_DATA_FILE_PATH "/root/test_data.bin"
30#endif
31
32/*============================ TYPES =========================================*/
33/*============================ INCLUDES ======================================*/
34/*============================ PROTOTYPES ====================================*/
35
45
55
65extern bool vsf_test_file_read_case_result(uint32_t idx, uint32_t *result,
66 char *name, size_t name_size);
67
68/*============================ LOCAL VARIABLES ===============================*/
69/*============================ GLOBAL VARIABLES ===============================*/
70
71# endif
72
73#endif /* __VSF_TEST_PORT_FILE_H__ */
74/* EOF */
75
struct ieee80211_ext_chansw_ie data
Definition ieee80211.h:80
unsigned uint32_t
Definition stdint.h:9
Definition vsf_test.h:305
vsf_test_data_cmd_t
Device commands during data synchronization.
Definition vsf_test.h:277
void vsf_test_file_data_init(vsf_test_data_t *data)
Initialize the file for data synchronization.
Definition vsf_test_port_file.c:73
bool vsf_test_file_read_case_result(uint32_t idx, uint32_t *result, char *name, size_t name_size)
Read test case result and name from file.
Definition vsf_test_port_file.c:307
void vsf_test_file_data_sync(vsf_test_data_t *data, vsf_test_data_cmd_t cmd)
Synchronize data via standard file interface (fopen, fread, fwrite, fclose).
Definition vsf_test_port_file.c:202
Generated from commit: vsfteam/vsf@b2e9e8a