summaryrefslogtreecommitdiffstats
path: root/Bachelor/Verteilte Systeme/Praktikum2/loesung_neu/addiere.h
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Bachelor/Verteilte Systeme/Praktikum2/loesung_neu/addiere.h
downloadStudium-master.tar.gz
Studium-master.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Bachelor/Verteilte Systeme/Praktikum2/loesung_neu/addiere.h')
-rw-r--r--Bachelor/Verteilte Systeme/Praktikum2/loesung_neu/addiere.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/Bachelor/Verteilte Systeme/Praktikum2/loesung_neu/addiere.h b/Bachelor/Verteilte Systeme/Praktikum2/loesung_neu/addiere.h
new file mode 100644
index 0000000..7e77cb2
--- /dev/null
+++ b/Bachelor/Verteilte Systeme/Praktikum2/loesung_neu/addiere.h
@@ -0,0 +1,53 @@
+/*
+ * Please do not edit this file.
+ * It was generated using rpcgen.
+ */
+
+#ifndef _ADDIERE_H_RPCGEN
+#define _ADDIERE_H_RPCGEN
+
+#include <rpc/rpc.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+struct add_struct {
+ int p1;
+ int p2;
+};
+typedef struct add_struct add_struct;
+
+#define ADDIERE_TEST 1234567
+#define ONE 1
+
+#if defined(__STDC__) || defined(__cplusplus)
+#define addiere 1
+extern int * addiere_1(add_struct *, CLIENT *);
+extern int * addiere_1_svc(add_struct *, struct svc_req *);
+extern int addiere_test_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
+
+#else /* K&R C */
+#define addiere 1
+extern int * addiere_1();
+extern int * addiere_1_svc();
+extern int addiere_test_1_freeresult ();
+#endif /* K&R C */
+
+/* the xdr functions */
+
+#if defined(__STDC__) || defined(__cplusplus)
+extern bool_t xdr_add_struct (XDR *, add_struct*);
+
+#else /* K&R C */
+extern bool_t xdr_add_struct ();
+
+#endif /* K&R C */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* !_ADDIERE_H_RPCGEN */