string clean
This commit is contained in:
@@ -213,9 +213,9 @@ class PlcLicence
|
||||
|
||||
private:
|
||||
string cidString = "";
|
||||
char *cid; // CID
|
||||
char cid[32] = {};
|
||||
string csdString = "";
|
||||
char *csd; // CSD
|
||||
char csd[32] = {}; // CSD
|
||||
string stationName; // name of station
|
||||
string distributor; // name of switch
|
||||
const char *dataFileName; // name of xml containing data (if not taken from commandline)
|
||||
@@ -236,17 +236,19 @@ private:
|
||||
string getLicenceName(BYTE licPostfix); // get proper licencename
|
||||
void initCrypto();
|
||||
bool CreateEosEovLicence(); // create licence for EOV_OSV
|
||||
bool ReadEosEovLicence(const char *dataFileName);
|
||||
bool ReadEosEovLicence(string dataFileName);
|
||||
|
||||
|
||||
public:
|
||||
string operationErrors = "";
|
||||
|
||||
PlcLicence();
|
||||
PlcLicence(map<string, string> & arguments);
|
||||
PlcLicence(char *cid, char *csd, string binaryType, string dataFileName);
|
||||
PlcLicence(string cid, string csd, string binaryType, string dataFileName);
|
||||
|
||||
bool CreateLicence(); // creates licence
|
||||
bool ReadLicence(const char *dataFileName, WORD licType, BYTE licPostfix, char *cid, char *csd); // reads licence file to readable structures
|
||||
bool ReadLicence(const char *dataFileName, string licenceType, string licenceVersion, char *cid, char *csd);
|
||||
bool ReadLicence(string dataFileName, string licenceType, string licenceVersion, string cidArg, string csdArg);
|
||||
|
||||
|
||||
// bool CreateEosEovLicence();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user