Up to [local] / OpenXM_contrib2 / asir2000 / io
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: RELEASE_20000124
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 18 05:55:07 2000 UTC (24 years, 6 months ago) by noro
Branch: MAIN
CVS Tags: RELEASE_20000124
Changes since 1.1: +42 -1
lines
Diff to previous 1.1 (unified)
Added library mode functions for OpenXM. They are defined in io/ox_asir.c. asir_ox_init(int type) type :0 (big endian=network byte order) :1 (little endian) asir_ox_push_cmo(void *cmo) size field seems uncessary, so I omitted it. asir_ox_pop_cmo(void *cmo,int limit) I assumed that cmo points to a region whose size is not smaller than limit. asir_ox_push_cmd(int cmd) asir_ox_execute_string(char *str) asir_ox_peek_cmo_size() asir_ox_init() and asir_ox_execute_string() cannot be tested on Risa/Asir itself because it shares various variables related to the parser. So I hope that some one helps testing by linking the ox_asir library (though it has not been created yet).