59 Commits (master)

Author SHA1 Message Date
Sean Middleditch 991f536edc add C++ include wrappers 13 years ago
Sean Middleditch e97ac9e158 move telnet_state_t to libtelnet.c as it is only used internally 13 years ago
Sean Middleditch 5565596352 version corrections in source files and README 13 years ago
Sean Middleditch 9dcfd4b97d rename telnet_printf2 to telnet_raw_printf 14 years ago
Sean Middleditch d2466a01b6 make libtelnet_t private; libtelnet_init now returns a pointer instead of taking one, and libtelnet_free frees the pointer passed in 14 years ago
Sean Middleditch eb950a89f0 added telnet_send_sb 14 years ago
Sean Middleditch ae39ceebd9 prep for 0.9 release 14 years ago
Sean Middleditch 2d5c499c36 support ttype/environ/new-environ/mssp parsing (using alloca; fixme?) 14 years ago
Sean Middleditch b10946c96d dont use a separate event for ZMP 14 years ago
Sean Middleditch e22b4771c7 add ZMP send commands 14 years ago
Sean Middleditch bfc641efb1 clean up and document the telopt table stuff 14 years ago
Sean Middleditch e5327da4f5 initial ZMP parsing support (experimental) 14 years ago
Sean Middleditch 34bb0998c7 require option table to fix negotiation "race" issie (experimental) 14 years ago
Sean Middleditch e2122b2653 add MSSP telopt code, add MCCP2 synonym, remove COMPRESS1 (as we do not at all support it) 14 years ago
Sean Middleditch 447d3ad9f8 will/wont states before do/wont, just like actual telnet codes and event numbers 14 years ago
Sean Middleditch 4f0c37fc1b shorten the output function names to something more reasonable 14 years ago
Sean Middleditch b7bf8f3ce1 fix __GNUC__ macro test 14 years ago
Sean Middleditch 7894384d70 fix last commit 14 years ago
Sean Middleditch 90e79da676 remove telnet_send_telopt() as it has no real purpose and using it can have surprising results; added telnet_begin_subnegotiation and telnet_finish_subnegotiation 14 years ago
Sean Middleditch f65f27d77d remove the lib/LIB from identifier prefixes; also, swap printf and printf2 so the more common one is the one with the shorter name 14 years ago
Sean Middleditch 340a51b1e0 use size_t where appropriate instead of unsigned int 14 years ago
Sean Middleditch 8daf77446e use char buffers instead of unsigned char to make use of API less of a pain in the butt 14 years ago
Sean Middleditch 1f962f02f0 dont forward-declare enums, as C++ does not support that 14 years ago
Sean Middleditch 4a15604d10 added libtelnet_printf2 which does CRLF automagic stuff 14 years ago
Sean Middleditch 4a1240e2a7 remove AUTO_CRLF flag, realized it is conceptually broken 14 years ago
Sean Middleditch 97a8cb25b9 make API const-safe 14 years ago
Sean Middleditch c337ba6bca add AUTO_CRLF flag 14 years ago
Sean Middleditch d58f49f03a add printf data sender 14 years ago
Sean Middleditch 2b4bfc4f79 minor cleanup, added libtelnet_send_telopt() 14 years ago
Sean Middleditch 8b78896ac1 implement request side of RFC1143 14 years ago
Sean Middleditch fbe93e36bd save a few bytes and use only a single z_stream, because mccp2 is unidirectional 14 years ago
Sean Middleditch 08bb05f96e replace mode with flags (only a PROXY flag so far) 14 years ago
Sean Middleditch 812358d92a remove need for the struct and enum stuff using typedefs 14 years ago
Sean Middleditch 5b5bc92bc0 partial RFC1143 implementation; only reacts to negotiation, cannot handle initiating it yet 14 years ago
Sean Middleditch 1699227c9c separate non-fatal errors into warnings, error events are always fatal 14 years ago
Sean Middleditch 9f79cc5029 pass user_data to libtelnet_init() only instead of having to pass it to every function call 14 years ago
Sean Middleditch da0e695e62 dont require a buffer for subnegotiations with no data; more efficient for apps that dont use more advanced subnegotiation features 14 years ago
Sean Middleditch 124a1c24f2 implement libtelnet_begin_compress2() 14 years ago
Sean Middleditch 637df7f064 scrap the multiple callbacks thing, just use a single event handler callback 14 years ago
Sean Middleditch f66a7ee768 shorten name of error enumerations 14 years ago
Sean Middleditch 72cc9648c0 added proxy mode 14 years ago
Sean Middleditch d922c6f7e0 more informative errors 14 years ago
Sean Middleditch 3032302674 make use of a callback table instead of undefined functions for integration 14 years ago
Sean Middleditch aac2c12904 fix include protection 14 years ago
Sean Middleditch c04224bc3c complete list of telnet commands and options 14 years ago
Sean Middleditch c974b97939 s/type/opt/ for sub-negotiation 14 years ago
Sean Middleditch 6b37288ec1 the proper term is subnegotiation, not subrequest 14 years ago
Sean Middleditch 61f8eb6556 completed MCCP2 support 14 years ago
Sean Middleditch 9de1598cd5 initial client-only MCCP2 support 14 years ago
Sean Middleditch 78f400feff s/input/data/, s/output/send/ 14 years ago