snap.h (315B)
1 enum { 2 S_READ = 1 << 0, 3 }; 4 5 struct sctx; 6 7 extern int screat(char *, int, struct sctx **); 8 extern int sopen(char *, int flags, int, struct sctx **); 9 extern int sput(struct sctx *, unsigned char *); 10 extern int sget(struct sctx *, unsigned char *); 11 extern int ssync(struct sctx *); 12 extern int sclose(struct sctx *);