mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-26 19:57:13 +09:00
Include core.[ch]
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
|
||||
#include "sodium.h"
|
||||
|
||||
int
|
||||
sodium_init(const struct sodium_options *options)
|
||||
{
|
||||
(void) options;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sodium_reinit(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
sodium_shutdown(void)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
#ifndef __SODIUM_CORE_H__
|
||||
#define __SODIUM_CORE_H__
|
||||
|
||||
int sodium_init(const struct sodium_options *options);
|
||||
int sodium_reinit(void);
|
||||
void sodium_shutdown(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user