Annotation of parser3/src/classes/cookie.C, revision 1.1

1.1     ! paf         1: /*
        !             2:        Parser
        !             3:        Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
        !             4:        Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
        !             5: 
        !             6:        $Id: cookie.C,v 1.3 2001/03/18 17:39:27 paf Exp $
        !             7: */
        !             8: 
        !             9: #include "pa_request.h"
        !            10: #include "_cookie.h"
        !            11: 
        !            12: // global var
        !            13: 
        !            14: VStateless_class *cookie_base_class;
        !            15: 
        !            16: // methods
        !            17: 
        !            18: static void _clear(Request& r, const String& method_name, Array *params) {
        !            19:        //r.self/*VResponse*/->get_hash()/*sure not 0*/->clear();
        !            20: }
        !            21: 
        !            22: // initialize
        !            23: 
        !            24: void initialize_cookie_base_class(Pool& pool, VStateless_class& vclass) {
        !            25:        // ^clear[]
        !            26:        vclass.add_native_method("clear", _clear, 0, 0);
        !            27: }

E-mail: