/usr/include/oce/IncludeLibrary_server_interface.h is in liboce-foundation-dev 0.15-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | /*
Copyright (c) 1998-1999 Matra Datavision
Copyright (c) 1999-2014 OPEN CASCADE SAS
This file is part of Open CASCADE Technology software library.
This library is free software; you can redistribute it and / or modify it
under the terms of the GNU Lesser General Public version 2.1 as published
by the Free Software Foundation, with special exception defined in the file
OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
distribution for complete text of the license and disclaimer of any warranty.
Alternatively, this file may be used under the terms of Open CASCADE
commercial license or contractual agreement.
*/
#ifndef __INCLUDE_LIBRARY_SERVER_INTERFACE_H
# define __INCLUDE_LIBRARY_SERVER_INTERFACE_H
# ifndef WNT
# include <signal.h>
# endif
# ifndef __INCLUDELIBRARY_TYPEDEF_H
# include <IncludeLibrary_typedef.h>
# endif
# if defined(WNT) && !defined(HAVE_NO_DLL)
# ifndef __server_API
# if defined(__Serpc_DLL) || defined(__Server_DLL)
# define __server_API __declspec( dllexport )
# else
# define __server_API __declspec( dllimport )
# endif
# endif
# ifndef __Engine_API
# if defined(__Engine_DLL)
# define __Engine_API __declspec( dllexport )
# else
# define __Engine_API __declspec( dllimport )
# endif
# endif
# else
# define __server_API
# define __Engine_API
# endif
extern int __server_API srv_error(int NUMLNK,
PSTATUS status);
extern int __server_API srv_init(PSTART_SERVER start_serpc,
void *param,
char *nodloc,
int phyadr[]);
extern int __Engine_API srv_receiving(int NUMLNK,
int seqbyt,
int *BUFACP,
int lg_func,
PSRV_RSP rpc_hdle,
void *,
PSTATUS status);
extern int __server_API srv_status(char *msg,
int param,
PSTATUS rpc_status,
int LEN,
char *msga);
# ifdef CSF1
extern int srvinfo_clt(void *vastprm,
char *username);
extern int srvuid_clt(void *astprm);
# if defined(__GNUC__) || defined(LIN)
#define get_receiving_signatura "get_receiving__FPiPPFv_viT1iPPviT0"
#define get_receiving_signature "get_receiving__FPiPPFv_viT1iPPviT0"
#define get_receiving_signatur0 "get_receiving__FPiPPFv_viT1iPPviT0"
#define get_receiving_signatur1 "get_receiving__FPiPPFv_viT1iPPviT0"
# elif defined(__osf__) || defined(DECOSF1)
#define get_receiving_signatura "get_receiving"
#define get_receiving_signature "get_receiving__XPiPPXv_viPPXv_viPPviPi"
#define get_receiving_signatur0 "get_receiving__XPPXiiPiiPXPvP6STATUSPiPi_iPvP6STATUS_iiPPXv_viPPviPi"
#define get_receiving_signatur1 "get_receiving__XPPXiiPiiPXPvP7_statusPiPi_iPvP7_status_iiPPXv_viPPviPi"
# elif defined(__sun) || defined(SOLARIS)
#define get_receiving_signatura "get_receiving"
#define get_receiving_signature "__0FNget_receivingPiPPFv_viTCTDPPvTDTB"
#define get_receiving_signatur0 "__0FNget_receivingPPFiTBPiTBPFPvP6GSTATUSPiTD_iPvP6GSTATUS_iiPPFv_vTCPPvTCPi"
#define get_receiving_signatur1 "__0FNget_receivingPPFiTBPiTBPFPvP6H_statusPiTD_iPvP6H_status_iiPPFv_vTCPPvTCPi"
# elif defined(__sgi) || defined(IRIX)
#define get_receiving_signatura "get_receiving__GPiPPGv_viT2T3PPvT3T1"
#define get_receiving_signature "get_receiving__FPiPPFv_viT2T3PPvT3T1"
#define get_receiving_signatur0 "get_receiving__FPPFiT1PiT1PFPvP6STATUSPiT3_iPvP6STATUS_iiPPFv_vT2PPvT2Pi"
#define get_receiving_signatur1 "get_receiving__FPPFiT1PiT1PFPvP7_statusPiT3_iPvP7_status_iiPPFv_vT2PPvT2Pi"
# elif defined(__hpux) || defined(HPUX)
#define get_receiving_signatura "get_receiving"
#define get_receiving_signature "get_receiving__FPiPPFv_viT2T3PPvT3T1"
#define get_receiving_signatur0 "get_receiving__FPPFiT1PiT1PFPvP6STATUSPiT3_iPvP6STATUS_iiPPFv_vT2PPvT2Pi"
#define get_receiving_signatur1 "get_receiving__FPPFiT1PiT1PFPvP7_statusPiT3_iPvP7_status_iiPPFv_vT2PPvT2Pi"
# elif defined(WNT)
#define get_receiving_signatura "get_receiving"
#define get_receiving_signature "?get_receiving@@YAXPAHPAP6AXXZH1HPAPAXH0@Z"
#define get_receiving_signatur0 "?get_receiving@@YAXPAP6AHHHPAHHP6AHPAXPAUSTATUS@@00@Z12@ZP6APADXZP6AXXZH@Z"
#define get_receiving_signatur1 "?get_receiving@@YAXPAP6AHHHPAHHP6AHPAXPAU_status@@00@Z12@ZHPAP6AXXZHPAPAXH0@Z"
# elif defined(_AIX) || defined(AIX)
#define get_receiving_signatura "get_receiving__FPiPPFv_viT2T3PPvT3T1"
#define get_receiving_signature "get_receiving__FPiPPFv_viT2T3PPvT3T1"
#define get_receiving_signatur0 "get_receiving__FPiPPFv_viT2T3PPvT3T1"
#define get_receiving_signatur1 "get_receiving__FPiPPFv_viT2T3PPvT3T1"
# endif
extern void __Engine_API get_receiving(int *nbr_ret_func ,
PVOID_FUNCTION *TABRETFUNC ,
int , // nbrfunc
#ifndef WNT
PVOID_FUNCTION * ,
#else
PVOID_FUNCTION *adr_func ,
#endif
int , // nbrptr
void **tabptr ,
int , // nbrval
int *tabval ) ;
/* PSRV_RECEIVING *srv_receiving,
int nbrfunc ,
void (**adr_func)() ,
int nbrptr ,
void **tabptr ,
int nbrval ,
int *tabval ) ;*/
# endif
#endif /* __INCLUDE_LIBRARY_SERVER_INTERFACE_H */
|