X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=tfcrypt.h;h=19aa726ee022dda096fd8d6a76d2612232e50c75;hb=429747d78e7e60b3dc44fd8b23f1626c386663e0;hp=5c68552ebeaa92cc5d6d1de7b01e8027e69576e0;hpb=6a181d607fe6fe8c66b894efb281855bb2eee573;p=tfcrypt.git diff --git a/tfcrypt.h b/tfcrypt.h index 5c68552..19aa726 100644 --- a/tfcrypt.h +++ b/tfcrypt.h @@ -157,6 +157,9 @@ extern tfc_useconds status_timer, bench_timer; extern tfc_useconds current_time, delta_time; extern struct getpasswd_state getps; +size_t xread(int fd, void *data, size_t szdata); +size_t xwrite(int fd, const void *data, size_t szdata); + void xerror(tfc_yesno noexit, tfc_yesno noerrno, tfc_yesno nostats, const char *fmt, ...); void xexit(int status); void usage(void);