aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_ipc.h
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2010-11-30 15:36:42 -0600
committerPeter Seebach <peter.seebach@windriver.com>2010-11-30 16:29:48 -0600
commit00d0ce665b4b25ba60f67317c4840b357f84ed15 (patch)
tree06ecf64b51fb5e8eb3423b14bf8236555b89b73f /pseudo_ipc.h
parentca54fdb785b17fb251c28b28f51d0e666b1f2e22 (diff)
downloadpseudo-00d0ce665b4b25ba60f67317c4840b357f84ed15.tar.gz
pseudo-00d0ce665b4b25ba60f67317c4840b357f84ed15.tar.bz2
pseudo-00d0ce665b4b25ba60f67317c4840b357f84ed15.zip
Major shift: All the id_t types have been reworked so that they
are generated from text files and templates, making it now (we hope) impossible for the list of strings to get out of sync with the enum.
Diffstat (limited to 'pseudo_ipc.h')
-rw-r--r--pseudo_ipc.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/pseudo_ipc.h b/pseudo_ipc.h
index 40953a8..b65c7fb 100644
--- a/pseudo_ipc.h
+++ b/pseudo_ipc.h
@@ -17,26 +17,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
-typedef enum {
- PSEUDO_MSG_UNKNOWN = -1,
- PSEUDO_MSG_NONE,
- PSEUDO_MSG_PING,
- PSEUDO_MSG_SHUTDOWN,
- PSEUDO_MSG_OP,
- PSEUDO_MSG_ACK,
- PSEUDO_MSG_NAK,
- PSEUDO_MSG_MAX
-} pseudo_msg_type_t;
-extern char *pseudo_msg_type_name(pseudo_msg_type_t id);
-extern pseudo_msg_type_t pseudo_msg_type_id(char *name);
/* The [] item at the end of the struct is a C99 feature, replacing the
* old (and unportable) "struct hack".
*/
typedef struct {
pseudo_msg_type_t type;
- op_id_t op;
- res_id_t result;
+ pseudo_op_t op;
+ pseudo_res_t result;
int access;
int client;
int fd;