You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
391 B
28 lines
391 B
|
|
#ifndef sodium_core_H
|
|
#define sodium_core_H
|
|
|
|
#include "export.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
SODIUM_EXPORT
|
|
int sodium_init(void)
|
|
__attribute__ ((warn_unused_result));
|
|
|
|
/* ---- */
|
|
|
|
SODIUM_EXPORT
|
|
int sodium_set_misuse_handler(void (*handler)(void));
|
|
|
|
SODIUM_EXPORT
|
|
void sodium_misuse(void)
|
|
__attribute__ ((noreturn));
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|