Annotation of OpenXM/src/ox_toolkit/ox_toolkit_tags.h, Revision 1.2
1.1 ohara 1: /* -*- mode: C -*- */
1.2 ! ohara 2: /* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit_tags.h,v 1.1 2000/03/10 12:24:39 ohara Exp $ */
1.1 ohara 3:
4: /* This file was imported from kan/sm1. */
5: /* Do not edit this file. */
6:
7: #ifndef _OX_TOOLKIT_TAGS_H_
8: #define _OX_TOOLKIT_TAGS_H_
9:
10: /* cmotag */
11: #define LARGEID 0x7f000000
12: #define CMO_PRIVATE 0x7fff0000
13: #define CMO_ERROR (LARGEID+1)
14: #define CMO_ERROR2 (LARGEID+2)
15: #define CMO_NULL 1
16: #define CMO_INT32 2
17: #define CMO_DATUM 3
18: #define CMO_STRING 4
19: #define CMO_MATHCAP 5
20:
21: #define CMO_START_SIGNATURE 0x7fabcd03
22: #define CMO_LOCAL_OBJECT 0x7fcdef03
23: #define CMO_LOCAL_OBJECT_ASIR (CMO_LOCAL_OBJECT+0)
24: #define CMO_LOCAL_OBJECT_SM1 (CMO_LOCAL_OBJECT+1)
25: /* for OpenMathematica */
26: #define MLO_FUNCTION (CMO_LOCAL_OBJECT+2)
27:
28: #define OX_LOCAL_OBJECT 0x7fcdef30
29: #define OX_LOCAL_OBJECT_ASIR (OX_LOCAL_OBJECT+0)
30: #define OX_LOCAL_OBJECT_SM1 (OX_LOCAL_OBJECT+1)
31: #define OX_LOCAL_OBJECT_MATH (OX_LOCAL_OBJECT+2)
32:
33: #define CMO_ARRAY 16
34: #define CMO_LIST 17
35: #define CMO_ATOM 18
36: #define CMO_MONOMIAL32 19
37: #define CMO_ZZ 20
38: #define CMO_QQ 21
39: #define CMO_ZERO 22
1.2 ! ohara 40:
1.1 ohara 41: #define CMO_DMS_GENERIC 24
42: #define CMO_DMS_OF_N_VARIABLES 25
43: #define CMO_RING_BY_NAME 26
44: #define CMO_RECURSIVE_POLYNOMIAL 27
45: #define CMO_LIST_R 28
46:
47: #define CMO_INT32COEFF 30
48: #define CMO_DISTRIBUTED_POLYNOMIAL 31
49: /* #define CMO_ZZ_OLD 32 */
50: #define CMO_POLYNOMIAL_IN_ONE_VARIABLE 33
51: #define CMO_RATIONAL 34
52:
53: #define CMO_64BIT_MACHINE_DOUBLE 40
54: #define CMO_ARRAY_OF_64BIT_MACHINE_DOUBLE 41
55: #define CMO_128BIT_MACHINE_DOUBLE 42
56: #define CMO_ARRAY_OF_128BIT_MACHINE_DOUBLE 43
57:
58: #define CMO_BIGFLOAT 50
59: #define CMO_IEEE_DOUBLE_FLOAT 51
60:
61: #define CMO_INDETERMINATE 60
62: #define CMO_TREE 61
63: #define CMO_LAMBDA 62 /* for function definition */
64:
65: /* end of cmotag */
66:
67: /* ox_message_tag */
68: #define OX_COMMAND 513
69: #define OX_DATA 514
70: #define OX_SYNC_BALL 515 /* ball to interrupt */
71:
72: /* level 2 stack machine with programming facility. */
73: #define OX_START_OF_FUNCTION_BLOCK 518
74: #define OX_END_OF_FUNCTION_BLOCK 519
75: #define OX_ADDRESS 520
76:
77: #define OX_DATA_WITH_SIZE 521
78: #define OX_DATA_ASIR_BINARY_EXPRESSION 522 /* This number should be changed*/
79: #define OX_DATA_OPENMATH_XML 523
80: #define OX_DATA_OPENMATH_BINARY 524
81: #define OX_DATA_MP 525
82:
83: /* OX BYTE command */
84: #define OX_BYTE_NETWORK_BYTE_ORDER 0
85: #define OX_BYTE_LITTLE_ENDIAN 1
86: #define OX_BYTE_BIG_ENDIAN 0xff
87:
88: /* ox_function_id */
89: #define SM_popSerializedLocalObject 258
90: #define SM_popCMO 262
91: #define SM_popString 263 /* result ==> string and send the string by CMO */
92:
93: #define SM_mathcap 264
94: #define SM_pops 265
95: #define SM_setName 266
96: #define SM_evalName 267
97: #define SM_executeStringByLocalParser 268
98: #define SM_executeFunction 269
99: #define SM_beginBlock 270
100: #define SM_endBlock 271
101: #define SM_shutdown 272
102: #define SM_setMathCap 273
103: #define SM_executeStringByLocalParserInBatchMode 274
104: #define SM_getsp 275
105: #define SM_dupErrors 276
106:
107: #define SM_DUMMY_sendcmo 280
108: #define SM_sync_ball 281
109:
110: #define SM_control_kill 1024
111: #define SM_control_reset_connection 1030
112: #define SM_control_to_debug_mode 1025
113: #define SM_control_exit_debug_mode 1026
114: #define SM_control_ping 1027
115: #define SM_control_start_watch_thread 1028
116: #define SM_control_stop_watch_thread 1029
117:
118: #endif /* _OX_TOOLKIT_TAGS_H_ */
119:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>