xcsobj_ad.h 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*####################################################################################################################*/
  2. /* */
  3. /* Includes for AXN-Objects */
  4. /* */
  5. /*####################################################################################################################*/
  6. /* */
  7. /* Contains defines and data structures which are */
  8. /* deleted from the database but required in source to build */
  9. /* Included objects: tel_hdr_t */
  10. /* SDFRDLPRG */
  11. /* SDFRORGPRG */
  12. /* IDFRORGPRG */
  13. /* IFDORGPRG */
  14. /* SFDORGPRG */
  15. /* SH_MODE */
  16. /* */
  17. /*####################################################################################################################*/
  18. /* */
  19. /* FILENAME: xcsobj_ad.h */
  20. /* */
  21. /*####################################################################################################################*/
  22. #ifndef XCSOBJ_AD_H
  23. #define XCSOBJ_AD_H
  24. /*----------------------------------------------------------------------*/
  25. /* Telegrammstruktur */
  26. /*----------------------------------------------------------------------*/
  27. /* Definition des Telegrammheaders */
  28. typedef struct tel_hdr_t_tag {
  29. unsigned short length;
  30. unsigned char mode;
  31. unsigned char target;
  32. unsigned char fktkreis;
  33. unsigned char sender;
  34. unsigned short telid;
  35. unsigned char data[256];
  36. }__attribute__ ((packed)) tel_hdr_t;
  37. /* Einfuegen eines TelegrammId's in die IPC-Inliste */
  38. #define ADD_TO_INLIST(TEL_ID)\
  39. InlistTelId[InlistCtr]=TEL_ID;\
  40. InlistCtr++
  41. /*-----------------------___________________------------------------____________________*/
  42. /*-----------------------___________________------------------------____________________*/
  43. #define NUM_SPEC_PARAMS 15
  44. #endif