=================================================================== RCS file: /home/cvs/OpenXM/src/ox_toolkit/ox_toolkit.h,v retrieving revision 1.45 retrieving revision 1.47 diff -u -p -r1.45 -r1.47 --- OpenXM/src/ox_toolkit/ox_toolkit.h 2018/04/05 05:31:51 1.45 +++ OpenXM/src/ox_toolkit/ox_toolkit.h 2022/03/28 09:11:19 1.47 @@ -1,11 +1,12 @@ /* -*- mode: C -*- */ -/* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.44 2018/04/03 09:58:30 ohara Exp $ */ +/* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.46 2020/11/01 10:28:22 noro Exp $ */ #ifndef _OX_TOOLKIT_H_ #define _OX_TOOLKIT_H_ #include +#include #include #include #include @@ -347,6 +348,7 @@ void oxf_determine_byteorder_server(OXFILE *oxfp); OXFILE *oxf_execute_cmd(OXFILE *oxfp, char *cmd); cmo_mathcap *oxf_cmo_mathcap(OXFILE *oxfp); void oxf_mathcap_update(OXFILE *oxfp, cmo_mathcap *ob); +int oxf_setbuffer(OXFILE *oxfp, char *buf, int size); /* example: which("xterm", getenv("PATH")); */ char *which(char *exe, const char *env); @@ -354,6 +356,13 @@ char *generate_otp(); int ox_stderr_init(FILE *fp); int ox_printf(char *format, ...); + +int gclose(); +int gopen(); +int gFlush(); +int moveto(int x, int y); +int lineto(int x, int y); +int setpixel(int x, int y); #ifdef __cplusplus }