USB Exported Control API > BS2_GetFilteredLogFromDirWithKey


BS2_GetFilteredLogFromDirWithKey

[+2.8.2] USB로 추출한 Data에서 주어진 조건을 만족하는 모든 로그 레코드를 가져옵니다.

함수

#include "BS_API.h"
 
int BS2_GetFilteredLogFromDirWithKey(void* context, const char* szDir, char* uid, BS2_EVENT_CODE eventCode, BS2_TIMESTAMP start, BS2_TIMESTAMP end, uint8_t tnakey, BS2Event** logsObj, uint32_t* numLog, const BS2EncryptKey* key);

파라미터

참고
logsObj 변수는 사용 후 BS2_ReleaseObject 함수를 통해 시스템에 메모리를 반환해야 합니다.

반환값

성공적으로 수행될 경우 BS_SDK_SUCCESS를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.

함께 보기

BS2_GetUserDatabaseInfoFromDirWithKey
BS2_GetUserListFromDirWithKey
BS2_GetUserInfosFromDirWithKey
BS2_GetUserDatasFromDirWithKey
BS2_GetUserInfosExFromDirWithKey
BS2_GetUserDatasExFromDirWithKey
BS2_GetLogFromDirWithKey
BS2_GetLogBlobFromDirWithKey