#ifndef MQTT_VERIFY_H__
#define MQTT_VERIFY_H__

#include "cjson/cJSON.h"
#include <pthread.h>  
/*TRUE为打开验证，FALSE为关闭验证*/
#define VERIFIED_MODE FALSE

#define AES_BLOCK_SIZE 16

extern pthread_mutex_t g_verify_mutex;
extern int g_verify_count;//验证计时
extern int g_verify_index;//判断是否验证成功

int receive_jwt(cJSON *body);//jwt验证

int message2006_verify(cJSON *body);

#endif