0024835: Graphic structure for highlighting is not erased if presentable object for...
[occt.git] / src / IncludeLibrary / IncludeLibrary_typedef.h
CommitLineData
b311480e 1/*
2 Copyright (c) 1998-1999 Matra Datavision
973c2be1 3 Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 4
973c2be1 5 This file is part of Open CASCADE Technology software library.
b311480e 6
d5f74e42 7 This library is free software; you can redistribute it and/or modify it under
8 the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9 by the Free Software Foundation, with special exception defined in the file
10 OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 distribution for complete text of the license and disclaimer of any warranty.
b311480e 12
973c2be1 13 Alternatively, this file may be used under the terms of Open CASCADE
14 commercial license or contractual agreement.
b311480e 15*/
16
7fd59977 17#ifndef __INCLUDELIBRARY_TYPEDEF_H
18#define __INCLUDELIBRARY_TYPEDEF_H
19
20//#ifdef WNT
21//#define LPARAM void*
22//#endif
23
24typedef void (*PVOID_FUNCTION)(void) ;
25
26typedef void (*PUSR_SET_UIC)(char *usrnam,
27 int pid,
28 int *uic,
29 int *usruic,
30 int *k_chg_uic) ;
31
32typedef int (*PSERVER) (PUSR_SET_UIC) ;
33
34typedef int (*PSTART_SERVER)(void *astprm ,
35 PSTATUS status ,
36 int nbrtsk ,
37 char **server ,
38 int k_fork ,
39 char *cputype ,
40 short num_func_intr );
41
42typedef int (*PSRV_RSP)(void *,
43 PSTATUS status,
44 int *buffrsp,
45 int *lgrsp) ;
46
47typedef int (*PSRV_RECEIVING)(int NUMLNK,
48 int seqbyt,
49 int *BUFACP,
50 int lg_func,
51 PSRV_RSP rpc_hdle,
52 void *,
53 PSTATUS status);
54typedef void (*PGET_RECEIVING)(int *nbr_ret_func ,
55 PVOID_FUNCTION *TABRETFUNC ,
56 int nbrfunc ,
57 PVOID_FUNCTION * ,
58 int nbrptr ,
59 void **tabptr ,
60 int nbrval ,
61 int *tabval ) ;
62
63typedef int (*PSRV_CTL)(void *inum,
64 int func,
65 int *bufcmd,
66 int sizcmd,
67 int sizrspbuf,
68 int k_synch ,
69 PSRV_RSP astadr,
70 void *,
71 PSTATUS status,
72 int *bufrsp,
73 int *sizrsp) ;
74
75typedef int (*PAST_ADDR_PV)(void *) ;
76
77typedef int (*PAST_ADDR_V)(int ) ;
78
79typedef int (*PREAD_AST_MBX)(int lnk,
80 int limit,
81 int *ptr_uic,
82 char *ptr_usrnam,
83 int *ptr_pid) ;
84
85#ifdef WNT
86typedef unsigned ( __stdcall *PTHREAD_START ) ( void* );
87#endif
88
89typedef void (*PVOID_FUNCTION)(void) ;
90
91typedef char *(*PGET_ENGINE_PATH)(void) ;
92
93typedef void (*PGET_VECTOR)(int **K_VERBOSE ,
94 PVOID_FUNCTION ** ,
95 int *nbr_addr ) ;
96
97typedef void (*POSD_EXITODEB)(void) ;
98
99typedef int (*POSD_HOST_ADDR_TCP)(char *node,
100 unsigned char *intadr,
101 PSTATUS sts) ;
102
103typedef int (*PNTD_ISERDISC)(PSTATUS status) ;
104
105typedef void (*PACT_SIGIO_HANDLER)(void) ;
106
107typedef int (*PENV_ENGINE)(int *lnk ,
108 int k_do_exec,
109 int K_START,
110 char *Engine_Path_Name,
111 char **Engine_Path ,
112 char **Engine_Name ) ;
113
114typedef int (*PLOAD_ENGINE)(char *Engine_Path,
115 char *Engine_Name,
116 int KVERBOSEINIT ,
117 int *nbr_ret_func ,
118 PVOID_FUNCTION *TABRETFUNC ,
119 int nbrptrfunc ,
120 PVOID_FUNCTION *TABFUNC ,
121 int nbrptr ,
122 void **TABPTR ,
123 int nbrval ,
124 int *TABVAL );
125
126typedef int (*POSD_NODENAME_TCP)(char *nodloc,
127 int len,
128 PSTATUS rpc_status ) ;
129
130typedef int (*PSTRSTS)(void *numlnk,
131 char *code,
132 char stat,
133 PSTATUS status,
134 int lgmsg,
135 char *msgerr,
136 int *lenerr ) ;
137
138typedef const char (*POSD_GETMSG)( int ) ;
139
140typedef int (*PENGINE_CATEGORY)(int Category ) ;
141
142typedef int (*PENGINE_ARGUMENT)(unsigned int Type,
143 void* Value) ;
144
145typedef int (*PENGINE_SELECTOR)() ;
146
147typedef int (*PENGINE_RETURN)(int*& Position,
148 unsigned int*& Type,
149 int*& NbElem,
150 int*& Length,
151 int**& Value) ;
152
153#endif