From b530d263577c295f3d1b1627e7fd54d4e1d148cd Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Mon, 9 Apr 2018 16:27:10 -0600 Subject: [PATCH] add WFREAD, WFWRITE --- wolfssh/port.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wolfssh/port.h b/wolfssh/port.h index c5c6089..9f017a4 100644 --- a/wolfssh/port.h +++ b/wolfssh/port.h @@ -51,6 +51,8 @@ extern "C" { #define WFOPEN(f,fn,m) wfopen((f),(fn),(m)) #define WFCLOSE(f) fclose(f) + #define WFREAD(b,s,a,f) fread((b),(s),(a),(f)) + #define WFWRITE(b,s,a,f) fwrite((b),(s),(a),(f)) #endif /* setup string handling */