mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-18 04:43:06 +03:00
35 lines
378 B
C
35 lines
378 B
C
|
#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
|