22 lines
492 B
C
22 lines
492 B
C
#ifndef USERAUTH_H_
|
|
#define USERAUTH_H_
|
|
|
|
#define USERNAME_MAXLEN 65
|
|
#define PASSWORD_MAXLEN 25
|
|
|
|
#include <time.h>
|
|
#include "../../Product/common/user_auth.h"
|
|
#include "../../Platform/common/rpc/rpc_common.h"
|
|
|
|
typedef void* pointer;
|
|
|
|
/*输出函数结构体 */
|
|
typedef struct result{
|
|
auth_ret resultcode;
|
|
char *message; /*返回描述用指针表示数组 */
|
|
time_t remain_lock_time; /*锁定剩余时间 */
|
|
}RESULT;
|
|
|
|
ret_code user_auth(pointer content, RESULT *uresult);
|
|
|
|
#endif |