Include core.[ch]

This commit is contained in:
Frank Denis 2013-04-18 14:42:47 +02:00
parent 02cea61336
commit ca781f4837
2 changed files with 31 additions and 0 deletions

22
src/libsodium/core.c Normal file
View File

@ -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)
{
}

View File

@ -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