Commit 34dd651f authored by Michael Quigley's avatar Michael Quigley
Browse files

added ipc_types file

parent ba541361
Subproject commit 6bbedfeab26e1faa4584d78663cba021cd9faf18
Subproject commit 3a029e34bcd2a4a3d46a53c176a2e7d03ed4882f
#ifndef THC_IPC_TYPES_H
#define THC_IPC_TYPES_H
#include <linux/list.h>
typedef enum {
msg_type_unspecified,
msg_type_request,
msg_type_response,
} msg_type_t;
struct predicate_payload
{
unsigned long expected_msg_id;
unsigned long actual_msg_id;
msg_type_t msg_type;
};
struct thc_channel_group_item
{
struct list_head list;
struct fipc_ring_channel * channel;
int (*dispatch_fn)(struct fipc_ring_channel*, struct fipc_message*);
};
struct thc_channel_group
{
struct list_head head;
int size;
};
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment