parent
625d1c146f
commit
93e9da2085
|
@ -12,14 +12,14 @@ static uv_rwlock_t g_userLock;
|
||||||
static USER_PARAMS g_userInfo[] = {
|
static USER_PARAMS g_userInfo[] = {
|
||||||
{0, 400, 24, 371, {0x00, 0x0C, 0x01, 0x02, 0x00, 0x03}, "user1", "password1"},
|
{0, 400, 24, 371, {0x00, 0x0C, 0x01, 0x02, 0x00, 0x03}, "user1", "password1"},
|
||||||
{1, 300, 16, 12, {0x00, 0x0C, 0x01, 0x02, 0x00, 0x02}, "user2", "password1"},
|
{1, 300, 16, 12, {0x00, 0x0C, 0x01, 0x02, 0x00, 0x02}, "user2", "password1"},
|
||||||
{2, 300, 14, 15, {0x00, 0x0C, 0x01, 0x02, 0x00, 0x04}, "xajhuang1", "aaaHuang1"},
|
{2, 300, 14, 15, {0x00, 0x0C, 0x01, 0x02, 0x00, 0x04}, "user3", "password1"},
|
||||||
};
|
};
|
||||||
|
|
||||||
void user_info_init() {
|
void user_info_init() {
|
||||||
uv_rwlock_init(&g_userLock);
|
uv_rwlock_init(&g_userLock);
|
||||||
|
|
||||||
user_info_add(0, &g_userInfo[0]);
|
user_info_add(0, &g_userInfo[0]);
|
||||||
//user_info_add(1, &g_userInfo[1]);
|
user_info_add(1, &g_userInfo[1]);
|
||||||
//user_info_add(2, &g_userInfo[2]);
|
//user_info_add(2, &g_userInfo[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue