Revision 1.1 |
Revision 1.4 |
#ifndef _PMSG_H_ #define _PMSG_H_ 
|
#ifndef _PMSG_H_ #define _PMSG_H_ 
|
|
#include "cow.h"
|
typedef struct pth_pass_msg {
|
typedef struct pth_pass_msg {
|
pth_message_t head;
pth_msgport_t mp;
pth_t id;
int act;
int fd;
|
pth_message_t head;
pth_msgport_t mp;
pth_t id;
int act;
#ifdef USE_TCPCORK
|
|
int fd;
#else
BUFF* buf;
#endif
|
} pmsg;
|
} pmsg;
|
# define DEPOT "depot"
# define PUSH 0
# define POP 1
|
/* Node of a linked list of pmsg's */
typedef struct reqnode {
pmsg m;
|
|
struct reqnode* next;
} reqnode;
#define DEPOT "depot"
#define NONE 0
#define PUSH 1
#define POP 2
|
#endif /* _PMSG_H_ */
|
#endif /* _PMSG_H_ */
|