mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-17 15:38:14 +08:00
修改了Web后台的部分界面,增加了HAmqtt中的总电量传感器,后台新增mqtt上报频率设置
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
|
||||
#ifndef randombytes_salsa20_random_H
|
||||
#define randombytes_salsa20_random_H
|
||||
|
||||
/*
|
||||
* THREAD SAFETY: randombytes_salsa20_random*() functions are
|
||||
* fork()-safe but not thread-safe.
|
||||
* Always wrap them in a mutex if you need thread safety.
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "export.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
SODIUM_EXPORT
|
||||
extern struct randombytes_implementation randombytes_salsa20_implementation;
|
||||
|
||||
SODIUM_EXPORT
|
||||
const char *randombytes_salsa20_implementation_name(void);
|
||||
|
||||
SODIUM_EXPORT
|
||||
uint32_t randombytes_salsa20_random(void);
|
||||
|
||||
SODIUM_EXPORT
|
||||
void randombytes_salsa20_random_stir(void);
|
||||
|
||||
SODIUM_EXPORT
|
||||
uint32_t randombytes_salsa20_random_uniform(const uint32_t upper_bound);
|
||||
|
||||
SODIUM_EXPORT
|
||||
void randombytes_salsa20_random_buf(void * const buf, const size_t size);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int randombytes_salsa20_random_close(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user