16 #ifndef _RL_PPI_CLIENT_H_ 17 #define _RL_PPI_CLIENT_H_ 46 int write(
int slave,
int area,
int dbnum,
int start,
int len,
const unsigned char *data);
47 int writeFloat(
int slave,
int area,
int dbnum,
int start,
int len,
const float *val);
48 int writeDword(
int slave,
int area,
int dbnum,
int start,
int len,
const int *val);
49 int writeShort(
int slave,
int area,
int dbnum,
int start,
int len,
const short *val);
50 int writeUDword(
int slave,
int area,
int dbnum,
int start,
int len,
const unsigned int *val);
51 int writeUShort(
int slave,
int area,
int dbnum,
int start,
int len,
const unsigned short *val);
52 int read(
int offset,
int len);
53 float Float(
int index);
56 unsigned int UDword(
int index);
57 unsigned int UShort(
int index);
58 unsigned char buf[512];
int writeUShort(int slave, int area, int dbnum, int start, int len, const unsigned short *val)
rlPPIClient(const char *mbxname, const char *shmname, int shmsize, int have_to_swap=1)
int writeShort(int slave, int area, int dbnum, int start, int len, const short *val)
int writeFloat(int slave, int area, int dbnum, int start, int len, const float *val)
int writeUDword(int slave, int area, int dbnum, int start, int len, const unsigned int *val)
int read(int offset, int len)
unsigned int UShort(int index)
int write(int slave, int area, int dbnum, int start, int len, const unsigned char *data)
unsigned int UDword(int index)
int writeDword(int slave, int area, int dbnum, int start, int len, const int *val)