diff options
Diffstat (limited to 'src/include/gc')
-rw-r--r-- | src/include/gc/server.h | 1 | ||||
-rw-r--r-- | src/include/gc/syscall.h | 1 |
2 files changed, 2 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 { |