added the setclientmac function

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@82 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-01-10 13:41:53 +00:00
parent 1a85d9f691
commit ef65cc8b54
2 changed files with 17 additions and 3 deletions

View File

@ -448,8 +448,8 @@ typedef struct sharedSlsDetector {
char* getClientMAC() {return thisDetector->clientMAC;};
/** validates and sets the client IP address for gotthard \sa sharedSlsDetector */
char* setClientIP(string clientIP);
/** sets the client MAC address for gotthard \sa sharedSlsDetector */
char* setClientMAC(string clientMAC) {sprintf(thisDetector->clientMAC,clientMAC.c_str());return thisDetector->clientMAC;};
/** validates the format of client MAC address and sets it for gotthard \sa sharedSlsDetector */
char* setClientMAC(string clientMAC);
/* I/O */