X-Git-Url: http://git.pond.sub.org/?p=eow;a=blobdiff_plain;f=scratch.lisp;h=67540bc03200e05d224e0c19a4beb89d313ae6c4;hp=0b93a7e4284049728f08e02a0fe13d6f560c39a5;hb=effa86fe2559437f6265a1495c669ac576648ca1;hpb=bb75a29a8554c9b32484f40d20723e15311f3d88 diff --git a/scratch.lisp b/scratch.lisp index 0b93a7e..67540bc 100644 --- a/scratch.lisp +++ b/scratch.lisp @@ -1,4 +1,23 @@ +(setf *e* (empire::connect :user "1" :password "1")) +(empire::quit *e*) +;XDUMP meta meta 1242293190 +;"name" 3 4 0 -1 +;"type" 4 4 0 34 +;"flags" 5 12 0 33 +;"len" 7 4 0 -1 +;"table" 8 4 0 -1 +;/5 +(defclass meta () + (name type flags len table)) + +;XDUMP meta meta-type 1242293224 +;"value" 8 4 0 -1 +;"name" 3 4 0 -1 +;/2 +(defclass meta-type () + ((value :x-type 8 :x-flags 4 :x-len 0 :x-table nil) + (name :x-type 3 :x-flags 4 :x-len 0 :x-table nil))) ;; http://localhost:4242/eow/ @@ -16,3 +35,17 @@ ;(klacks:peek-next *s*) ;(klacks:find-element *s* "entry") ;(klacks:serialize-element *s* (cxml-xmls:make-xmls-builder)) + +;;;;;;;;;;;;;;;;;; + +(defclass meta-type () + (value name)) + +(sb-mop:ensure-class 'meta-type + ':direct-superclasses '() + ':direct-slots (list (list ':name 'value) + (list ':name 'name))) + + +(loop for entry across (xdump::table-entries (xdump::get-table "table")) if entry collect (xdump-data::table-name entry)) +