Ignore:
Timestamp:
01/03/15 18:26:23 (10 years ago)
Author:
tbretz
Message:
Updated to v20r11
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/dim/src/examples/rpc_server.cxx

    r15282 r18058  
    33#include <iostream>
    44using namespace std;
     5#include <stdio.h>
    56
    67class RpcInt : public DimRpc
     
    2021        }
    2122public:
    22         RpcInt(char *name): DimRpc(name,"I","I") {val = 0;};
     23        RpcInt(const char *name): DimRpc(name,"I","I") {val = 0;};
    2324};
    2425
     
    5657        }
    5758public:
    58         RpcStruct(char *name): DimRpc(name,"C:16;I:5;C:18;F:4;I:1;F:16",
     59        RpcStruct(const char *name): DimRpc(name,"C:16;I:5;C:18;F:4;I:1;F:16",
    5960                "C:16;I:5;C:18;F:4;I:1;F:16") {val = 0;};
    6061};
     
    7576        }
    7677public:
    77         JeffRpcStruct(char *name): DimRpc(name,"C:1;C:1;C:1;C",
     78        JeffRpcStruct(const char *name): DimRpc(name,"C:1;C:1;C:1;C",
    7879                "I:1;C:1;C") {counter = 0;};
    7980};
Note: See TracChangeset for help on using the changeset viewer.