mirror of
https://github.com/emqx/neuron.git
synced 2026-10-26 11:56:10 +08:00
chore: export neu_jwt.h
This commit is contained in:
@@ -37,6 +37,7 @@ extern "C" {
|
||||
#include "utils/log.h"
|
||||
#include "utils/zlog.h"
|
||||
|
||||
#include "utils/neu_jwt.h"
|
||||
#include "utils/utarray.h"
|
||||
#include "utils/utextend.h"
|
||||
#include "utils/uthash.h"
|
||||
|
||||
+2
-2
@@ -26,8 +26,8 @@
|
||||
#include <sys/time.h>
|
||||
|
||||
#include "errcodes.h"
|
||||
#include "neu_jwt.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/neu_jwt.h"
|
||||
|
||||
struct public_key_store {
|
||||
struct {
|
||||
@@ -309,4 +309,4 @@ int neu_jwt_validate(char *b_token)
|
||||
void neu_jwt_destroy()
|
||||
{
|
||||
// memset(token_local, 0, sizeof(token_local));
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "jwt.h"
|
||||
#include "neu_jwt.h"
|
||||
#include "utils/neu_jwt.h"
|
||||
|
||||
#include "utils/log.h"
|
||||
|
||||
@@ -40,4 +40,4 @@ int main(int argc, char **argv)
|
||||
neuron = zlog_get_category("neuron");
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user