summaryrefslogtreecommitdiff
path: root/src/encryption.h
blob: b609d5254c50895a2c7cc857666d3874861064ec (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef __VXGG_REWRITE___ENCRYPTION_H___1481879318188___
#define __VXGG_REWRITE___ENCRYPTION_H___1481879318188___

// Checks if sodium is initialized. Initializes it if not
int checkSodium(void);

// open() with the flags O_TMPFILE, O_WRONLY, O_CLOEXEC, and O_SYNC. Opened with mode S_IRUSR, S_IWUSR
int maketmp(const char *dest);

#endif