AcessNative - Reworked protocol to be simpler
[tpg/acess2.git] / AcessNative / ld-acess_src / request.h
index 8c89e6f..b33a80f 100644 (file)
@@ -8,19 +8,8 @@
 #ifndef _REQUEST_H_
 #define _REQUEST_H_
 
-typedef struct {
-       char    Type;
-        int    Length;
-       char    Data[];
-}      tOutValue;
+#include "../syscalls.h"
 
-typedef struct {
-       char    Type;
-        int    Length;
-       void    *Data;
-}      tInValue;
-
-extern int SendRequest(int RequestID, int NumOutput, tOutValue **Output,
-       int NumInput, tInValue **Input);
+extern int     SendRequest(tRequestHeader *Request, int RequestSize);
 
 #endif

UCC git Repository :: git.ucc.asn.au