forked from KolibriOS/kolibrios
4f5f25a6c2
git-svn-id: svn://kolibrios.org@1882 a494cfbc-eb01-0410-851d-a64ba20cac60
35 lines
378 B
C
Executable File
35 lines
378 B
C
Executable File
#ifndef __ITC_H
|
|
#define __ITC_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include<stdlib.h>
|
|
|
|
#define MSG_BUF_SZ 128
|
|
|
|
typedef struct __itc_msg_t
|
|
{
|
|
char msgbuf[MSG_BUF_SZ];
|
|
int sender_tid;
|
|
struct __itc_msg_t * next;
|
|
} itc_msg_t;
|
|
|
|
typedef struct
|
|
{
|
|
itc_msg_t * head;
|
|
int count;
|
|
} itc_msgq_t;
|
|
|
|
typedef struct
|
|
{
|
|
char * name;
|
|
int real_pid;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|