summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-04-05 16:56:17 +0200
committerAlexis211 <alexis211@gmail.com>2010-04-05 16:56:17 +0200
commit8d94ae49601e0e4023bcdc35191669b2c24f6c96 (patch)
tree64d625ee6aa5a897666be2768d009b2353ba97d9 /src/include
parentb945eafa126d6a17aa8826a405df7d5d4d999008 (diff)
downloadTCE-8d94ae49601e0e4023bcdc35191669b2c24f6c96.tar.gz
TCE-8d94ae49601e0e4023bcdc35191669b2c24f6c96.zip
More work on IPC.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gc/server.h1
-rw-r--r--src/include/gc/syscall.h1
-rw-r--r--src/include/gm/method.h3
3 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gc/server.h b/src/include/gc/server.h
index b98b4fb..36597c7 100644
--- a/src/include/gc/server.h
+++ b/src/include/gc/server.h
@@ -74,6 +74,7 @@ void srv_handle(Server* o, int act);
Server *srv_create();
void srv_delete(Server *o);
+Server *srv_get(int descriptor);
void srv_addHandler(Server* o, uint32_t method, method_handler h);
#endif
diff --git a/src/include/gc/syscall.h b/src/include/gc/syscall.h
index c93a523..9ac6748 100644
--- a/src/include/gc/syscall.h
+++ b/src/include/gc/syscall.h
@@ -15,6 +15,7 @@ typedef unsigned size_t;
struct user_request {
uint32_t func, params[3], shmsize[3];
int isBlocking; // 1 : blocking request, 0 : nonblocking request (message)
+ int pid; //pid of caller process
};
struct user_sendrequest {
diff --git a/src/include/gm/method.h b/src/include/gm/method.h
index ac6ab0e..6206f07 100644
--- a/src/include/gm/method.h
+++ b/src/include/gm/method.h
@@ -19,4 +19,7 @@
/* Checks if object handles that method. In case BIVV, only one method is checked for.
* In case BMIV, the [b] methods in shared memory [a] are checked, first one not found returns false. */
+#define M_NOTHING_VVVV (2)
+/* This method does nothing, it just checks message transmission to an object. */
+
#endif