/** * Configuration manager for virtual terminal in USB memory * * @author sjlee@suprema.co.kr * @see */ /* * Copyright (c) 2006 Suprema Co., Ltd. All Rights Reserved. * * This software is the confidential and proprietary information of * Suprema Co., Ltd. ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it only in * accordance with the terms of the license agreement you entered into * with Suprema. */ #ifndef __BS_USB_CONFIG_H__ #define __BS_USB_CONFIG_H__ #include "BS_Error.h" typedef struct { unsigned magicNo; int count; unsigned checksum; } BSConfigHeader; #ifdef __cplusplus extern "C" { #endif int USB_ReadConfigHeaderFile( const char* filename, BSConfigHeader* header ); int USB_ReadOneConfig( unsigned char* data, int configType, int* configSize, void* configData ); int USB_WriteOneConfig( unsigned char* data, int configType, int* configSize, void* configData ); BS_RET_CODE USB_ReadConfigImpl( const char* driveLetter, unsigned id, int configType, int* configSize, void* configData ); BS_RET_CODE USB_WriteConfigImpl( const char* driveLetter, unsigned id, int configType, int configSize, void* configData ); #ifdef __cplusplus } #endif #endif