]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Make compile work with the "new" linux rpcgen
authormuench <muench>
Tue, 15 Feb 2000 12:40:20 +0000 (12:40 +0000)
committermuench <muench>
Tue, 15 Feb 2000 12:40:20 +0000 (12:40 +0000)
hadaq/agent.c
hadaq/online.c

index accc5197d785ba9192549f7699f144bbde128db7..780565adee8fad1ecbff8b204675e189072cf0a8 100644 (file)
@@ -51,6 +51,11 @@ int *rpcworker_start_1(RpcWorker_startArgs * args, CLIENT * cl)
        return &retVal;
 }
 
+int * rpcworker_start_1_svc(RpcWorker_startArgs *dummy, struct svc_req *x)
+{
+       return rpcworker_start_1(dummy, NULL);
+}
+
 char **rpcworker_status_1(int *id, CLIENT * cl)
 {
        static char *retVal;
@@ -59,6 +64,11 @@ char **rpcworker_status_1(int *id, CLIENT * cl)
        return &retVal;
 }
 
+char ** rpcworker_status_1_svc(int *dummy, struct svc_req *x)
+{
+       return rpcworker_status_1(dummy, NULL);
+}
+
 int *rpcworker_stop_1(int *id, CLIENT * cl)
 {
        static int retVal;
@@ -69,3 +79,8 @@ int *rpcworker_stop_1(int *id, CLIENT * cl)
 
        return &retVal;
 }
+
+int * rpcworker_stop_1_svc(int *dummy, struct svc_req *x)
+{
+       return rpcworker_stop_1(dummy, NULL);
+}
index 9d3131807b805ddedd2e4f417b337b8d230857cb..ef986b4351c074e8aff5a0ba02079ccc1419624a 100644 (file)
@@ -71,3 +71,8 @@ rpcevt *onlineevt_1(void *dummy, CLIENT * cl)
 
        return &result;
 }
+
+rpcevt * onlineevt_1_svc(void *dummy, struct svc_req *x)
+{
+       return onlineevt_1(dummy, NULL);
+}