path: root/pseudo_ipc.h
diff options
authorPeter Seebach <peter.seebach@windriver.com>2011-03-25 12:38:43 -0500
committerPeter Seebach <peter.seebach@windriver.com>2011-03-25 12:38:43 -0500
commit29e8b8a4cd8f7383c3d851b6255272f1c2a5d286 (patch)
treec9619032a670d06124ef45c392484f4a04f7d0f0 /pseudo_ipc.h
parent96d8e7ce8b483e5cafd0449b9735e4714f41f20b (diff)
Merge in ports work
This is a spiffied-up rebase of a bunch of intermediate changes, presented as a whole because it is, surprisingly, less confusing that way. The basic idea is to separate the guts code into categories ranging from generic stuff that can be the same everywhere and specific variants. The big scary one is the Darwin support, which actually seems to run okay on 64-bit OS X 10.6. (No other variants were tested.) The other example given is support for the old clone() syscall on RHEL 4, which affects some wrlinux use cases. There's a few minor cleanup bits here, such as a function with inconsistent calling conventions, but nothing really exciting.
Diffstat (limited to 'pseudo_ipc.h')
1 files changed, 9 insertions, 2 deletions
diff --git a/pseudo_ipc.h b/pseudo_ipc.h
index b65c7fb..48aaa38 100644
--- a/pseudo_ipc.h
+++ b/pseudo_ipc.h
@@ -64,5 +64,12 @@ extern pseudo_msg_t *pseudo_msg_dupheader(pseudo_msg_t *);
extern pseudo_msg_t *pseudo_msg_new(size_t, const char *);
extern int pseudo_msg_send(int fd, pseudo_msg_t *, size_t, const char *);
-void pseudo_msg_stat(pseudo_msg_t *msg, const struct stat64 *buf);
-void pseudo_stat_msg(struct stat64 *buf, const pseudo_msg_t *msg);
+void pseudo_msg_stat(pseudo_msg_t *msg, const PSEUDO_STATBUF *buf);
+void pseudo_stat_msg(PSEUDO_STATBUF *buf, const pseudo_msg_t *msg);
+void pseudo_stat_msg_plain(struct stat *buf, const pseudo_msg_t *msg);
+void pseudo_msg_stat_plain(pseudo_msg_t *msg, const struct stat *buf);
+#define pseudo_stat_msg_plain pseudo_stat_msg
+#define pseudo_msg_stat_plain pseudo_msg_stat