X-Git-Url: http://git.osdn.net/view?p=chnosproject%2FCHNOSProject.git;a=blobdiff_plain;f=CHNOSProject%2Fchnos%2Ftolset_chn_000%2Fz_tools%2Fharibote%2Fapilib.h;fp=CHNOSProject%2Fchnos%2Ftolset_chn_000%2Fz_tools%2Fharibote%2Fapilib.h;h=6c7aced52add8f0dab107a048d7bf2d92ee1d4f5;hp=0000000000000000000000000000000000000000;hb=7ad2ef33b005253914c33f34658c5a35a74554a3;hpb=bcbf8f3753455cca09c00d4d971518e1da897cbc diff --git a/CHNOSProject/chnos/tolset_chn_000/z_tools/haribote/apilib.h b/CHNOSProject/chnos/tolset_chn_000/z_tools/haribote/apilib.h new file mode 100644 index 0000000..6c7aced --- /dev/null +++ b/CHNOSProject/chnos/tolset_chn_000/z_tools/haribote/apilib.h @@ -0,0 +1,27 @@ +void api_putchar(int c); +void api_putstr0(char *s); +void api_putstr1(char *s, int l); +void api_end(void); +int api_openwin(char *buf, int xsiz, int ysiz, int col_inv, char *title); +void api_putstrwin(int win, int x, int y, int col, int len, char *str); +void api_boxfilwin(int win, int x0, int y0, int x1, int y1, int col); +void api_initmalloc(void); +char *api_malloc(int size); +void api_free(char *addr, int size); +void api_point(int win, int x, int y, int col); +void api_refreshwin(int win, int x0, int y0, int x1, int y1); +void api_linewin(int win, int x0, int y0, int x1, int y1, int col); +void api_closewin(int win); +int api_getkey(int mode); +int api_alloctimer(void); +void api_inittimer(int timer, int data); +void api_settimer(int timer, int time); +void api_freetimer(int timer); +void api_beep(int tone); +int api_fopen(char *fname); +void api_fclose(int fhandle); +void api_fseek(int fhandle, int offset, int mode); +int api_fsize(int fhandle, int mode); +int api_fread(char *buf, int maxsize, int fhandle); +int api_cmdline(char *buf, int maxsize); +int api_getlang(void);