Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #ifndef __ITC_H
  2. #define __ITC_H
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. #include<stdlib.h>
  9.  
  10. #define MSG_BUF_SZ      128
  11.  
  12. typedef struct __itc_msg_t
  13. {
  14.  char msgbuf[MSG_BUF_SZ];
  15.  int sender_tid;
  16.  struct __itc_msg_t * next;
  17. } itc_msg_t;
  18.  
  19. typedef struct
  20. {
  21.  itc_msg_t * head;
  22.  int count;
  23. } itc_msgq_t;
  24.  
  25. typedef struct
  26. {
  27.  char * name;
  28.  int real_pid;
  29.  
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33.  
  34. #endif
  35.