Annotation of parser3/src/classes/cookie.C, revision 1.2
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:
1.2 ! paf 6: $Id: cookie.C,v 1.1 2001/03/18 20:31:24 paf Exp $
1.1 paf 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:
1.2 ! paf 18: //static void _clear(Request& r, const String& method_name, Array *params) {
1.1 paf 19: //r.self/*VResponse*/->get_hash()/*sure not 0*/->clear();
1.2 ! paf 20: //}
1.1 paf 21:
22: // initialize
23:
24: void initialize_cookie_base_class(Pool& pool, VStateless_class& vclass) {
25: // ^clear[]
1.2 ! paf 26: // vclass.add_native_method("clear", _clear, 0, 0);
1.1 paf 27: }
E-mail: