Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:bs2_getuserdatabaseinfofromdirwithkey [2022/04/18 09:34] mark |
en:bs2_getuserdatabaseinfofromdirwithkey [2022/04/21 09:45] (current) kateyu [Watch Together] |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== BS2_GetUserDatabaseInfoFromDirWithKey===== | ===== BS2_GetUserDatabaseInfoFromDirWithKey===== | ||
- | [+2.8.2] USB로 추출한 Data에서 전체 사용자 정보(사용자개수, 카드개수, 지문개수, 얼굴 개수)를 가져옵니다. | + | [+2.8.2] Get full user information (number of users, number of cards, number of fingerprints, number of faces) from the data extracted by USB. |
\\ | \\ | ||
- | ==== 함수 ==== | + | ==== Declaration ==== |
<code cpp> | <code cpp> | ||
#include "BS_API.h" | #include "BS_API.h" | ||
Line 13: | Line 13: | ||
int BS2_GetUserDatabaseInfoFromDirWithKey(void* context, const char* szDir, uint32_t* numUsers, uint32_t* numCards, uint32_t* numFingers, uint32_t* numFaces, IsAcceptableUserID ptrIsAcceptableUserID, const BS2EncryptKey* key); | int BS2_GetUserDatabaseInfoFromDirWithKey(void* context, const char* szDir, uint32_t* numUsers, uint32_t* numCards, uint32_t* numFingers, uint32_t* numFaces, IsAcceptableUserID ptrIsAcceptableUserID, const BS2EncryptKey* key); | ||
</code> | </code> | ||
- | ==== 파라미터 ==== | + | ==== Parameter ==== |
* [In] ''//context//'' : Context | * [In] ''//context//'' : Context | ||
- | * [Out] ''//szDir//'' : Data 저장 경로 | + | * [Out] ''//szDir//'' : Data Storage Path |
- | * [Out] ''//numUsers//'' : 총 사용자 수 | + | * [Out] ''//numUsers//'' : Total number of users |
- | * [Out] ''//numCards//'' : 총 카드 수 | + | * [Out] ''//numCards//'' : Total number of cards |
- | * [Out] ''//numFingers//'' : 총 지문 수 | + | * [Out] ''//numFingers//'' : Total number of fingerprints |
- | * [Out] ''//numFaces//'' : 총 얼굴 수 | + | * [Out] ''//numFaces//'' : Total number of faces |
- | * [In] ''//ptrIsAcceptableUserID//'' : 허용할 user ID인지 여부를 서버로 묻기위한 callback 함수 | + | * [In] ''//ptrIsAcceptableUserID//'' : Callback function to ask the server if it is the user ID to allow |
- | * [In] ''//key//'' : 암호화 키이며 [[BS2_SetDataEncryptKey]]로 지정한 키값입니다. | + | * [In] ''//key//'' : Encryption key and the key value specified by [[BS2_SetData EncryptKey]]. |
<WRAP indent> | <WRAP indent> | ||
<WRAP info 70%> | <WRAP info 70%> | ||
- | **참고**\\ | + | **Note**\\ |
- | uidsObjs 변수는 사용 후 [[BS2_ReleaseObject]] 함수를 통해 시스템에 메모리를 반환해야 합니다. | + | The uidsObjs variable must return memory to the system after using via the [[BS2_ReleaseObject]] function. |
</WRAP> | </WRAP> | ||
</WRAP> | </WRAP> | ||
- | ==== 반환값 ==== | + | ==== Return value ==== |
- | 성공적으로 수행될 경우 ''BS_SDK_SUCCESS''를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다. | + | Returns ''BS_SDK_SUCCESS'' if performed successfully, or a corresponding error code if an error occurs. |
- | ==== 함께 보기 ==== | + | ==== See Also ==== |
[[BS2_GetUserListFromDirWithKey]]\\ [[BS2_GetUserInfosFromDirWithKey]]\\ [[BS2_GetUserDatasFromDirWithKey]]\\ [[BS2_GetUserInfosExFromDirWithKey]]\\ [[BS2_GetUserDatasExFromDirWithKey]]\\ [[BS2_GetLogFromDirWithKey]]\\ [[BS2_GetLogBlobFromDirWithKey]]\\ [[BS2_GetFilteredLogFromDirWithKey]] | [[BS2_GetUserListFromDirWithKey]]\\ [[BS2_GetUserInfosFromDirWithKey]]\\ [[BS2_GetUserDatasFromDirWithKey]]\\ [[BS2_GetUserInfosExFromDirWithKey]]\\ [[BS2_GetUserDatasExFromDirWithKey]]\\ [[BS2_GetLogFromDirWithKey]]\\ [[BS2_GetLogBlobFromDirWithKey]]\\ [[BS2_GetFilteredLogFromDirWithKey]] | ||