pike.git / lib / modules / Protocols.pmod / Line.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/Line.pmod:1:   /* -  * $Id: Line.pmod,v 1.15 2000/12/28 16:43:46 grubba Exp $ +  * $Id: Line.pmod,v 1.16 2001/04/27 13:38:40 grubba Exp $    *    * Line-buffered protocol handling.    *    * Henrik Grubbström 1998-05-27    */      #pike __REAL_VERSION__      //! Simple nonblocking line-oriented I/O.   class simple
pike.git/lib/modules/Protocols.pmod/Line.pmod:304:   class smtp_style   {    inherit simple;       //! @decl mapping(int:string|array(string)) errorcodes    //!    //! Mapping from return-code to error-message.    //!    //! Overload this constant as apropriate.    //! +     constant errorcodes = ([]);       //! Send an SMTP-style return-code.    //!    //! @[code] is an SMTP-style return-code.    //!    //! If @[lines] is omitted, @[errorcodes] will be used to lookup    //! an appropriate error-message.    //!    //! If @[lines] is a string, it will be split on @tt{'\n'@} (newline),