axnportabnto.h 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /*****************************************************************************/
  2. /*****************************************************************************/
  3. /***** *****/
  4. /***** STANDARD T Y P D E F I N I T I O N E N FUER DAS AXN *****/
  5. /***** *****/
  6. /*****************************************************************************/
  7. /*****************************************************************************/
  8. /* */
  9. /* 1. Produktinformation */
  10. /* */
  11. /* 1.1 Datei-Name : AxnPortab.h */
  12. /* 1.2 Autor/Datum : Ulrich Koestner / 03.09.1997 */
  13. /* 1.3 Aenderungen : */
  14. /* */
  15. /* Datum | Name | Bemerkung | Vers.*/
  16. /* ---------+-----------+--------------------------------------------+------*/
  17. /* 04.11.03 | Hoffmann | New typedefs added. | */
  18. /* | | | */
  19. /* | | | */
  20. /* | | | */
  21. /* */
  22. /* 2. Inhalt */
  23. /* Definitionen der Standarttype fuer die AXN-Software unter QNX/Neutrino */
  24. /* */
  25. /* 3. Externe Beziehungen: */
  26. /* */
  27. /* 4. Compilerhinweise */
  28. /* */
  29. /*****************************************************************************/
  30. /* */
  31. /* (c) Siemens AG Med Erl 1997 all rigths reserved */
  32. /* */
  33. /*****************************************************************************/
  34. #ifndef AXNPORTABNTO_H
  35. #define AXNPORTABNTO_H
  36. /*****************************************************************************/
  37. /* Global Includes */
  38. /*****************************************************************************/
  39. #include <tchar.h>
  40. //#include <pthread.h>
  41. //#include "rfcglobal.h"
  42. #ifndef UNICODE
  43. #define TEXT(A) (A)
  44. #endif
  45. /*****************************************************************************/
  46. /* Global Type-Definitions */
  47. /*****************************************************************************/
  48. // -
  49. typedef void axn_void;
  50. // c = 1 Byte
  51. typedef char axn_char;
  52. // b = 1 Byte
  53. typedef unsigned char axn_byte;
  54. // s = 2 Byte
  55. typedef short axn_short;
  56. // w = 2 Byte
  57. typedef unsigned short axn_word ;
  58. // i = 4 Byte
  59. typedef int axn_int;
  60. // ui = 4 Byte
  61. typedef unsigned int axn_uint;
  62. // l = x Byte
  63. typedef long axn_long;
  64. // ul = x Byte
  65. typedef unsigned long axn_ulong;
  66. // f = x Byte
  67. typedef float axn_float;
  68. // d = xx Byte
  69. typedef double axn_double;
  70. typedef short axn_location; //RST
  71. typedef int axn_flag; //RST
  72. typedef pthread_t axn_thread_id;
  73. typedef pthread_t axn_thread_id_t;
  74. typedef RfcErrnoType axn_error_code_t;
  75. typedef pthread_key_t axn_tls_errorlog_key_t;
  76. #define _sntprintf snprintf
  77. #define _snprintf snprintf
  78. #endif