summaryrefslogtreecommitdiffstats
path: root/Bachelor/Verteilte Systeme/Praktikum2/loesung_neu/addiere.h
blob: 7e77cb27332cb56399d2871bf8b026cd94073131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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 */