modified all the receive module, chip to be non struct and with an extra parameter for type

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@612 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-06-19 09:30:45 +00:00
parent 3d4748e918
commit cb326e1f63
3 changed files with 108 additions and 70 deletions

View File

@ -37,10 +37,6 @@ void closeConnection(int file_Des);
void exitServer(int socketDescriptor);
void swapData(void* val,int length,intType itype);
void swap16(int16_t* val,int length);
void swap32(int32_t* val,int length);
void swap64(int64_t* val,int length);
int sendData(int file_des, void* buf,int length, intType itype);
int receiveData(int file_des, void* buf,int length, intType itype);
int sendDataOnly(int file_des, void* buf,int length);