* messages which are due to the other end shutting down too.
*/
void
-bnet_suppress_error_messages(BSOCK *bsock, int flag)
+bnet_suppress_error_messages(BSOCK *bsock, bool flag)
{
bsock->suppress_error_msgs = flag;
}
int bnet_despool_to_bsock (BSOCK *bsock);
int is_bnet_stop (BSOCK *bsock);
int is_bnet_error (BSOCK *bsock);
-void bnet_suppress_error_messages(BSOCK *bsock, int flag);
+void bnet_suppress_error_messages(BSOCK *bsock, bool flag);
/* bget_msg.c */
int bget_msg(BSOCK *sock);
uint64_t st_blocks;
};
+#undef S_IFMT
#define S_IFMT 0170000 /* file type mask */
+#undef S_IFDIR
#define S_IFDIR 0040000 /* directory */
#define S_IFCHR 0020000 /* character special */
#define S_IFIFO 0010000 /* pipe */
+#undef S_IFREG
#define S_IFREG 0100000 /* regular */
#define S_IREAD 0000400 /* read permission, owner */
#define S_IWRITE 0000200 /* write permission, owner */
#define S_ISBLK(x) 0
#define S_ISFIFO(x) 0
#endif //HAVE_MINGW
+
#define S_ISSOCK(x) 0
#define S_ISLNK(x) 0