split some io routines into separate file
[mkp224o.git] / ioutil.h
blob7255a2e51b127dfd89e00457560fb0fc520b799d
1 typedef int FH;
2 #define FH_invalid -1
4 FH createfile(const char *path,int secret);
5 int closefile(FH fd);
6 int writeall(FH,const u8 *data,size_t len);
7 int writetofile(const char *path,const u8 *data,size_t len,int secret);
8 int createdir(const char *path,int secret);