summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
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