summaryrefslogtreecommitdiff
path: root/ACE/performance-tests/RPC/server.c
blob: 0c33eaf0f72f58381b8066beb92e43a6f62cf68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12

#include "ping.h"
#include <rpc/rpc.h>
#include <stdio.h>

static int return_value = 0;

int* ping_1_svc (int* value, struct svc_req* r)
{
  return_value = *value;
  return &return_value;
}