pike.git / lib / modules / Protocols.pmod / IMAP.pmod / parser.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/IMAP.pmod/parser.pike:1: - /* parser.pike -  * -  * Continuation based imap parser. -  */ + //! Continuation based imap parser.      #pike __REAL_VERSION__      object line; /* Current line */      // FIXME: Propagete 0:s (errors) through the continuation functions   // Fixed now, I think.      void create(object l)   {    line = l;   }      /* These functions are all called directly or indirectly by the -  * request enging in imap_server.pike. When a complete value is ready, +  * request engine in imap_server.pike. When a complete value is ready,    * they call a continuation function given as an argument. They all    * return an action mapping, saying what to do next. */      /* First a few relatively simple functions */      /* Used when line == 0, i.e. to continue reading after a literal */   class line_handler   {    function process;    array args;