Commits (1)
......@@ -133,7 +133,7 @@ uchar telnet_opt_nak(uchar cmd)
return 0;
}
bool telnet_opt_enabled(uchar val)
BOOL telnet_opt_enabled(uchar val)
{
return (val == TELNET_DO) || (val == TELNET_WILL);
}
......
......@@ -23,7 +23,6 @@
#define _TELNET_H
#include "gen_defs.h" /* uchar */
#include <stdbool.h>
/* commands */
......@@ -150,7 +149,7 @@ DLLEXPORT const char* telnet_cmd_desc(uchar cmd);
DLLEXPORT const char* telnet_opt_desc(uchar opt);
DLLEXPORT uchar telnet_opt_ack(uchar cmd);
DLLEXPORT uchar telnet_opt_nak(uchar cmd);
DLLEXPORT bool telnet_opt_enabled(uchar value);
DLLEXPORT BOOL telnet_opt_enabled(uchar value);
DLLEXPORT size_t telnet_expand(const uchar* inbuf, size_t inlen, uchar* outbuf, size_t outlen
,BOOL expand_cr, uchar** result);
......