diff options
Diffstat (limited to 'Bachelor/Verteilte Systeme/Praktikum2/loesung_neu/addiere.h')
| -rw-r--r-- | Bachelor/Verteilte Systeme/Praktikum2/loesung_neu/addiere.h | 53 |
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 */ |
