/** * Log management * * @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_LOG_H__ #define __BS_LOG_H__ #include #define BS_LOG_CACHE_SIZE 64 // BIOSTATION specific events #define BS_EVENT_RELAY_ON 0x80 #define BS_EVENT_RELAY_OFF 0x81 //VERIFY Success - Sub Event #define BE_EVENT_VERIFY_FINGER 0x2b #define BE_EVENT_VERIFY_PIN 0x2c #define BE_EVENT_VERIFY_CARD_FINGER 0x2d #define BE_EVENT_VERIFY_CARD_PIN 0x2e #define BE_EVENT_VERIFY_CARD 0x2f typedef struct { unsigned char event; unsigned char subEvent; // reserved1; unsigned short tnaEvent; time_t eventTime; unsigned userID; unsigned reserved2; } BSLogRecord; typedef struct { unsigned char event; unsigned char subEvent; // reserved1; unsigned short tnaEvent; time_t eventTime; unsigned userID; unsigned reserved2; unsigned source; unsigned terminalID; } BSDBLogRecord; #endif