MClientLib.h
659 MCLIENTLIB_API MUSTERERR Connect(MUSTERCLIENT* m,const char* clientAddress, int clientPort,long maxSocketReadBytes = 65000000,
682 MCLIENTLIB_API MUSTERERR MNetSendMessage(MUSTERCLIENT* m,int message, int actionId,const char* parameters = 0, bool waitForCompletion = true);
699 MCLIENTLIB_API MUSTERERR MNetWaitForMessages(MUSTERCLIENT* m,int messages[], int messagesCount, int actionId = 0);
750 MCLIENTLIB_API MUSTERERR GetNodeConfiguration(MUSTERCLIENT* m, MNodeConfiguration& configurationObject);
757 MCLIENTLIB_API MUSTERERR SendNodeConfiguration(MUSTERCLIENT* m, MNodeConfiguration& configurationObject);
772 MCLIENTLIB_API MUSTERERR GetActivityLogContent(MUSTERCLIENT*m, const char* filename,MStringRef& out);
794 MCLIENTLIB_API MUSTERERR GetProcessesLogContent(MUSTERCLIENT* m, const char* filename,MStringRef& out);
827 MCLIENTLIB_API MUSTERERR Connect(MUSTER* m,const char* dispatcherAddress, int dispatcherPort,long maxSocketReadBytes = 65000000,
850 MCLIENTLIB_API MUSTERERR MNetSendMessage(MUSTER* m,int message, int actionId,const char* parameters = 0, bool waitForCompletion = true);
867 MCLIENTLIB_API MUSTERERR MNetWaitForMessages(MUSTER* m,int messages[], int messagesCount, int actionId = 0);
925 MCLIENTLIB_API MUSTERERR GetJobs(MUSTER*m, int filterMask, std::vector<MJob>& jobs, bool queryArchived);
950 MCLIENTLIB_API MUSTERERR GetChunks(MUSTER*m, long jobId, int filterMask, std::vector<MChunk>& chunks);
984 MCLIENTLIB_API MUSTERERR Authenticate(MUSTER* m, const char* username, const char* password, bool skipDirectoryServer = false);
1003 MCLIENTLIB_API MUSTERERR GetDispatcherConfiguration(MUSTER* m, MDispatcherConfiguration& configurationObject);
1010 MCLIENTLIB_API MUSTERERR SendDispatcherConfiguration(MUSTER* m, MDispatcherConfiguration& configurationObject);
1017 MCLIENTLIB_API MUSTERERR GetDispatcherLDAPConfiguration(MUSTER* m, MDispatcherConfigurationLDAP& configurationObject);
1024 MCLIENTLIB_API MUSTERERR SendDispatcherLDAPConfiguration(MUSTER* m, MDispatcherConfigurationLDAP& configurationObject);
1046 MCLIENTLIB_API MUSTERERR GetAccounts(MUSTER* m , std::vector<MUser>& users, std::vector<MGroup>& groups);
1054 MCLIENTLIB_API MUSTERERR SendAccounts(MUSTER* m, std::vector<MUser>& users, std::vector<MGroup>& groups);
1141 MCLIENTLIB_API MUSTERERR GetActivityLogContent(MUSTER*m, const char* filename,MStringRef& out);
1186 MCLIENTLIB_API MUSTERERR GetBackupJobs(MUSTER*m, MBackupQuery& query, std::vector<MBackupJob>& jobs);
1202 MCLIENTLIB_API MUSTERERR GetStatisticsHistory(MUSTER*m, long startingTime, long endingTime, std::vector<MStatisticsSample>& samples);
1221 MCLIENTLIB_API MUSTERERR GetJobsHistory(MUSTER*m, long startingTime, long endingTime, const char* filterField, const char* filter, std::vector<MHistoryChunk>& samples);
1237 MCLIENTLIB_API MUSTERERR GetJobHistory(MUSTER*m, long jobId, std::vector<MHistoryChunk>& samples);
1311 MCLIENTLIB_API MUSTERERR ActionChangePassword(MUSTER* m,const char* oldPassword, const char* newPassword);
1361 MCLIENTLIB_API MUSTERERR NodeActionTimedPause(MUSTER* m, long nodeId, unsigned long long time);
1369 MCLIENTLIB_API MUSTERERR NodeActionTimedResume(MUSTER* m, long nodeId, unsigned long long time);
1422 MCLIENTLIB_API MUSTERERR NodeActionRunPythonFile(MUSTER* m, long nodeId, const char* pythonFilePath);
1431 MCLIENTLIB_API MUSTERERR NodeActionStartReserv(MUSTER* m, long nodeId, long reservId, const std::string& reservVersion);
1440 MCLIENTLIB_API MUSTERERR NodeActionTerminateReserv(MUSTER* m, long nodeId, long reservId, const std::string& reservVersion);
1469 MCLIENTLIB_API MUSTERERR NodeActionTimedPause(MUSTER* m, std::vector<long> id, unsigned long long time);
1477 MCLIENTLIB_API MUSTERERR NodeActionTimedResume(MUSTER* m, std::vector<long> id, unsigned long long time);
1513 MCLIENTLIB_API MUSTERERR NodeActionChangeNotes(MUSTER* m, std::vector<long> id, const char* notes);
1521 MCLIENTLIB_API MUSTERERR NodeActionRunPython(MUSTER* m, std::vector<long> id, const char* pythonCode);
1529 MCLIENTLIB_API MUSTERERR NodeActionRunPythonFile(MUSTER* m, std::vector<long> id, const char* pythonFilePath);
1538 MCLIENTLIB_API MUSTERERR NodeActionStartReserv(MUSTER* m, std::vector<long> id, long reservId, const std::string& reservVersion);
1547 MCLIENTLIB_API MUSTERERR NodeActionTerminateReserv(MUSTER* m, std::vector<long> id, long reservId, const std::string& reservVersion);
1648 MCLIENTLIB_API MUSTERERR JobActionSetDepartment(MUSTER* m, long jobId,const char* departmentName);
1738 MCLIENTLIB_API MUSTERERR JobActionSetTemplate(MUSTER* m, long jobId,int templateId,const std::string& version);
1762 MCLIENTLIB_API MUSTERERR JobActionSetDependLinkMode(MUSTER* m, long jobId, int dependLinkMode);
1812 MCLIENTLIB_API MUSTERERR JobActionSetAttribute(MUSTER* m, long jobId,const char* attributeName, bool enable, const char* attributeValue);
1821 MCLIENTLIB_API MUSTERERR JobActionRemoveAttribute(MUSTER* m, long jobId, const char* attributeName);
1831 MCLIENTLIB_API MUSTERERR JobActionSetChunkTimeoutOverride(MUSTER* m, long jobId,bool enable,int timeout);
1841 MCLIENTLIB_API MUSTERERR JobActionSetChunkMaximumRequeueOverride(MUSTER* m, long jobId,bool enable,int maximumRequeue);
1851 MCLIENTLIB_API MUSTERERR JobActionSetOverrideMailNotificationsAtJobLevel(MUSTER* m, long jobId,bool enable,int notificationType);
1861 MCLIENTLIB_API MUSTERERR JobActionSetOverrideMailNotificationsAtChunkLevel(MUSTER* m, long jobId,bool enable,int notificationType);
1871 MCLIENTLIB_API MUSTERERR JobActionSetOverrideNotificatorNotificationsAtJobLevel(MUSTER* m, long jobId, bool enable, int notificationType);
1881 MCLIENTLIB_API MUSTERERR JobActionSetOverrideNotificatorNotificationsAtChunkLevel(MUSTER* m, long jobId, bool enable, int notificationType);
1891 MCLIENTLIB_API MUSTERERR JobActionSetOverrideMobileNotificationsAtJobLevel(MUSTER* m, long jobId, bool enable, int notificationType);
1901 MCLIENTLIB_API MUSTERERR JobActionSetOverrideMobileNotificationsAtChunkLevel(MUSTER* m, long jobId, bool enable, int notificationType);
1911 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMailNotificationsAtJobLevel(MUSTER* m, long jobId, bool enable, int notificationType);
1921 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMailNotificationsAtChunkLevel(MUSTER* m, long jobId, bool enable, int notificationType);
1931 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartNotificatorNotificationsAtJobLevel(MUSTER* m, long jobId, bool enable, int notificationType);
1941 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartNotificatorNotificationsAtChunkLevel(MUSTER* m, long jobId, bool enable, int notificationType);
1951 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMobileNotificationsAtJobLevel(MUSTER* m, long jobId, bool enable, int notificationType);
1961 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMobileNotificationsAtChunkLevel(MUSTER* m, long jobId, bool enable, int notificationType);
1971 MCLIENTLIB_API MUSTERERR JobActionSetMinimumLogicalUnits(MUSTER* m, long jobId,bool enable,int minimumLogicalUnits);
1980 MCLIENTLIB_API MUSTERERR JobActionSetMinimumCores(MUSTER* m, long jobId,bool enable,int minimumCores);
1989 MCLIENTLIB_API MUSTERERR JobActionSetMinimumPhysicalUnits(MUSTER* m, long jobId,bool enable,int minimumPhysicalUnits);
1998 MCLIENTLIB_API MUSTERERR JobActionSetBorrowInstances(MUSTER* m, long jobId, bool enable, int borrowInstances);
2007 MCLIENTLIB_API MUSTERERR JobActionSetMinimumPhysicalGPUsUnits(MUSTER* m, long jobId, bool enable, int minimumPhysicalGPUsUnits);
2016 MCLIENTLIB_API MUSTERERR JobActionSetMinimumCoresSpeed(MUSTER* m, long jobId,bool enable,double minimumCoreSpeed);
2025 MCLIENTLIB_API MUSTERERR JobActionSetMinimumRamAmount(MUSTER* m, long jobId,bool enable,double minimumRamAmount);
2034 MCLIENTLIB_API MUSTERERR JobActionSetMinimumDiskSpaceAmount(MUSTER* m, long jobId,bool enable,double minimumDiskSpace);
2043 MCLIENTLIB_API MUSTERERR JobActionSetProcessValidExitCodes(MUSTER* m, long jobId,bool enable,const char* validExitCodes);
2051 MCLIENTLIB_API MUSTERERR JobActionSetExitCodesErrorCheckType(MUSTER* m, long jobId, MJob::kErrorChecksType type);
2059 MCLIENTLIB_API MUSTERERR JobActionSetLogsErrorCheckType(MUSTER* m, long jobId, MJob::kErrorChecksType type);
2067 MCLIENTLIB_API MUSTERERR JobActionSetLogsParsingRules(MUSTER* m, long jobId,const std::vector<MClientLib::MTextFileRule>& rules);
2076 MCLIENTLIB_API MUSTERERR JobActionSetProcessWarningExitCodes(MUSTER* m, long jobId,bool enable,const char* warningExitCodes);
2085 MCLIENTLIB_API MUSTERERR JobActionSetProcessErrorExitCodes(MUSTER* m, long jobId,bool enable,const char* errorExitCodes);
2094 MCLIENTLIB_API MUSTERERR JobActionRestore(MUSTER* m, long jobId, int jobRestoreActionMode, int jobRestoreReparentId);
2110 MCLIENTLIB_API MUSTERERR JobActionBackupAndDelete(MUSTER* m, long jobId, int jobBackupOverwriteMode);
2211 MCLIENTLIB_API MUSTERERR JobActionSetProject(MUSTER* m, std::vector<long> id,const char* groupName);
2219 MCLIENTLIB_API MUSTERERR JobActionSetDepartment(MUSTER* m, std::vector<long> id,const char* departmentName);
2228 MCLIENTLIB_API MUSTERERR JobActionSetCamera(MUSTER* m, std::vector<long> id,const char* cameraName);
2236 MCLIENTLIB_API MUSTERERR JobActionSetSequence(MUSTER* m, std::vector<long> id,const char* sequenceName);
2244 MCLIENTLIB_API MUSTERERR JobActionSetShot(MUSTER* m, std::vector<long> id,const char* shotName);
2252 MCLIENTLIB_API MUSTERERR JobActionSetOwner(MUSTER* m, std::vector<long> id,const char* ownerName);
2268 MCLIENTLIB_API MUSTERERR JobActionSetEmergencyQueue(MUSTER* m, std::vector<long> id, bool enabled);
2284 MCLIENTLIB_API MUSTERERR JobActionSetExcludedPools(MUSTER* m, std::vector<long> id,const char* pools);
2292 MCLIENTLIB_API MUSTERERR JobActionSetMaximumNodes(MUSTER* m,std::vector<long> id,int maximumNodes);
2309 MCLIENTLIB_API MUSTERERR JobActionSetTemplate(MUSTER* m, std::vector<long> id,int templateId, const std::string& version);
2317 MCLIENTLIB_API MUSTERERR JobActionSetDepends(MUSTER* m, std::vector<long> id,const char* depends);
2325 MCLIENTLIB_API MUSTERERR JobActionSetDependMode(MUSTER* m, std::vector<long> id,int dependMode);
2333 MCLIENTLIB_API MUSTERERR JobActionSetDependLinkMode(MUSTER* m, std::vector<long> id, int dependLinkMode);
2341 MCLIENTLIB_API MUSTERERR JobActionSetStartsOn(MUSTER* m, std::vector<long> id,long long int time);
2349 MCLIENTLIB_API MUSTERERR JobActionSetResumeOn(MUSTER* m,std::vector<long> id,long long int time);
2357 MCLIENTLIB_API MUSTERERR JobActionSetPauseOn(MUSTER* m,std::vector<long> id,long long int time);
2383 MCLIENTLIB_API MUSTERERR JobActionSetAttribute(MUSTER* m, std::vector<long> id,const char* attributeName, bool enable, const char* attributeValue);
2392 MCLIENTLIB_API MUSTERERR JobActionRemoveAttribute(MUSTER* m, std::vector<long> id, const char* attributeName);
2402 MCLIENTLIB_API MUSTERERR JobActionSetChunkTimeoutOverride(MUSTER* m, std::vector<long> id,bool enable,int timeout);
2412 MCLIENTLIB_API MUSTERERR JobActionSetChunkMaximumRequeueOverride(MUSTER* m,std::vector<long> id,bool enable,int maximumRequeue);
2422 MCLIENTLIB_API MUSTERERR JobActionSetOverrideMailNotificationsAtJobLevel(MUSTER* m,std::vector<long> id,bool enable,int notificationType);
2432 MCLIENTLIB_API MUSTERERR JobActionSetOverrideMailNotificationsAtChunkLevel(MUSTER* m, std::vector<long> id,bool enable,int notificationType);
2442 MCLIENTLIB_API MUSTERERR JobActionSetOverrideNotificatorNotificationsAtJobLevel(MUSTER* m, std::vector<long> id, bool enable, int notificationType);
2452 MCLIENTLIB_API MUSTERERR JobActionSetOverrideNotificatorNotificationsAtChunkLevel(MUSTER* m, std::vector<long> id, bool enable, int notificationType);
2462 MCLIENTLIB_API MUSTERERR JobActionSetOverrideMobileNotificationsAtJobLevel(MUSTER* m, std::vector<long> id, bool enable, int notificationType);
2472 MCLIENTLIB_API MUSTERERR JobActionSetOverrideMobileNotificationsAtChunkLevel(MUSTER* m, std::vector<long> id, bool enable, int notificationType);
2482 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMailNotificationsAtJobLevel(MUSTER* m, std::vector<long> id, bool enable, int notificationType);
2492 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMailNotificationsAtChunkLevel(MUSTER* m, std::vector<long> id, bool enable, int notificationType);
2502 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartNotificatorNotificationsAtJobLevel(MUSTER* m, std::vector<long> id, bool enable, int notificationType);
2512 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartNotificatorNotificationsAtChunkLevel(MUSTER* m, std::vector<long> id, bool enable, int notificationType);
2522 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMobileNotificationsAtJobLevel(MUSTER* m, std::vector<long> id, bool enable, int notificationType);
2532 MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMobileNotificationsAtChunkLevel(MUSTER* m, std::vector<long> id, bool enable, int notificationType);
2542 MCLIENTLIB_API MUSTERERR JobActionSetMinimumLogicalUnits(MUSTER* m, std::vector<long> id,bool enable,int minimumLogicalUnits);
2552 MCLIENTLIB_API MUSTERERR JobActionSetMinimumCores(MUSTER* m, std::vector<long> id,bool enable,int minimumCores);
2562 MCLIENTLIB_API MUSTERERR JobActionSetMinimumPhysicalUnits(MUSTER* m, std::vector<long> id,bool enable,int minimumPhysicalUnits);
2572 MCLIENTLIB_API MUSTERERR JobActionSetBorrowInstances(MUSTER* m, std::vector<long> id, bool enable, int borrowInstances);
2582 MCLIENTLIB_API MUSTERERR JobActionSetMinimumPhysicalGPUsUnits(MUSTER* m, std::vector<long> id, bool enable, int minimumPhysicalGPUsUnits);
2592 MCLIENTLIB_API MUSTERERR JobActionSetMinimumCoresSpeed(MUSTER* m, std::vector<long> id,bool enable,double minimumCoreSpeed);
2602 MCLIENTLIB_API MUSTERERR JobActionSetMinimumRamAmount(MUSTER* m, std::vector<long> id,bool enable,double minimumRamAmount);
2612 MCLIENTLIB_API MUSTERERR JobActionSetMinimumDiskSpaceAmount(MUSTER* m, std::vector<long> id,bool enable,double minimumDiskSpace);
2621 MCLIENTLIB_API MUSTERERR JobActionSetExitCodesErrorCheckType(MUSTER* m, std::vector<long> id, MJob::kErrorChecksType type);
2630 MCLIENTLIB_API MUSTERERR JobActionSetLogsErrorCheckType(MUSTER* m, std::vector<long> id, MJob::kErrorChecksType type);
2639 MCLIENTLIB_API MUSTERERR JobActionSetLogsParsingRules(MUSTER* m, std::vector<long> id, const std::vector<MClientLib::MTextFileRule>& rules);
2649 MCLIENTLIB_API MUSTERERR JobActionSetProcessValidExitCodes(MUSTER* m, std::vector<long> id,bool enable,const char* validExitCodes);
2659 MCLIENTLIB_API MUSTERERR JobActionSetProcessWarningExitCodes(MUSTER* m, std::vector<long> id,bool enable,const char* warningExitCodes);
2669 MCLIENTLIB_API MUSTERERR JobActionSetProcessErrorExitCodes(MUSTER* m, std::vector<long> id,bool enable,const char* errorExitCodes);
2679 MCLIENTLIB_API MUSTERERR JobActionRestore(MUSTER* m, std::vector<long> ids, int jobRestoreActionMode, int jobRestoreReparentId);
2688 MCLIENTLIB_API MUSTERERR JobActionBackup(MUSTER* m, std::vector<long> ids, int jobBackupOverwriteMode);
2697 MCLIENTLIB_API MUSTERERR JobActionBackupAndDelete(MUSTER* m, std::vector<long> ids, int jobBackupOverwriteMode);
MCLIENTLIB_API MUSTERERR SendAccounts(MUSTER *m, std::vector< MUser > &users, std::vector< MGroup > &groups)
MCLIENTLIB_API MUSTERERR JobActionSetBorrowInstances(MUSTER *m, std::vector< long > id, bool enable, int borrowInstances)
Definition: MClientLib.h:172
Definition: MClientLib.h:349
MCLIENTLIB_API MUSTERERR RemoveActivityLog(MUSTER *m, const char *filename)
MCLIENTLIB_API MUSTERERR GetActivityLogContent(MUSTER *m, const char *filename, MStringRef &out)
Definition: MClientLib.h:133
MCLIENTLIB_API MUSTERERR NodeActionKillAndRedo(MUSTER *m, std::vector< long > id)
Definition: MClientLib.h:431
Definition: MClientLib.h:510
Definition: MClientLib.h:168
MCLIENTLIB_API MUSTERERR AddGroup(MUSTER *m, MGroup &group)
Definition: MClientLib.h:388
Definition: MClientLib.h:572
Definition: MClientLib.h:552
Definition: MClientLib.h:250
MCLIENTLIB_API MUSTERERR JobActionSetNotes(MUSTER *m, std::vector< long > id, const char *notes)
Definition: MClientLib.h:315
Definition: MClientLib.h:444
Definition: MClientLib.h:469
Definition: MClientLib.h:484
Definition: MClientLib.h:397
Definition: MClientLib.h:460
Definition: MClientLib.h:170
Definition: MClientLib.h:186
Definition: MClientLib.h:585
Definition: MClientLib.h:179
MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMailNotificationsAtChunkLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
Definition: MClientLib.h:561
MCLIENTLIB_API MUSTERERR GetNodes(MUSTER *m, int filterMask, std::vector< MNode > &nodes)
Definition: MClientLib.h:529
Definition: MClientLib.h:212
MCLIENTLIB_API MUSTERERR JobActionSetOverrideNotificatorNotificationsAtChunkLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
MCLIENTLIB_API MUSTERERR SetPools(MUSTER *m, MPools &pools)
MCLIENTLIB_API MUSTERERR ChunkActionResetRequeue(MUSTER *m, long jobId, std::vector< long > id)
MCLIENTLIB_API MUSTERERR JobActionSetTemplate(MUSTER *m, std::vector< long > id, int templateId, const std::string &version)
MCLIENTLIB_API MUSTERERR ChunkActionSetCompleted(MUSTER *m, long jobId, std::vector< long > id)
Definition: MClientLib.h:320
Definition: MClientLib.h:330
MCLIENTLIB_API MUSTERERR MNetGetNextMessage(MUSTER *m)
MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMobileNotificationsAtJobLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
Definition: MClientLib.h:217
MCLIENTLIB_API MUSTERERR NodeActionStartReserv(MUSTER *m, std::vector< long > id, long reservId, const std::string &reservVersion)
Definition: MClientLib.h:283
MCLIENTLIB_API MUSTERERR GetLogs(MUSTER *m, int filterMask, std::vector< MLog > &logs)
Definition: MClientLib.h:271
Definition: MClientLib.h:118
Definition: MClientLib.h:293
Definition: MClientLib.h:533
MCLIENTLIB_API MUSTERERR JobActionSetCamera(MUSTER *m, std::vector< long > id, const char *cameraName)
Definition: MClientLib.h:547
Definition: MClientLib.h:537
Definition: MClientLib.h:541
Definition: MClientLib.h:183
MCLIENTLIB_API MUSTERERR NodeActionSoftRestart(MUSTER *m, std::vector< long > id)
MCLIENTLIB_API MUSTERCLIENT * InitializeClientSession(void)
Definition: MClientLib.h:142
Definition: MClientLib.h:253
MCLIENTLIB_API MUSTERERR MNetWaitForMessages(MUSTER *m, int messages[], int messagesCount, int actionId=0)
Definition: MClientLib.h:365
Definition: MClientLib.h:193
Definition: MClientLib.h:100
Definition: MClientLib.h:297
MCLIENTLIB_API MUSTERERR JobActionSetDependLinkMode(MUSTER *m, std::vector< long > id, int dependLinkMode)
Definition: MClientLib.h:241
Definition: MClientLib.h:163
Definition: MClientLib.h:412
Definition: MClientLib.h:159
Definition: MClientLib.h:279
MCLIENTLIB_API MUSTERERR RemoveUser(MUSTER *m, const char *userName)
Definition: MClientLib.h:231
MCLIENTLIB_API MUSTERERR JobActionLock(MUSTER *m, std::vector< long > id)
MCLIENTLIB_API MUSTERERR NodeActionTimedPause(MUSTER *m, std::vector< long > id, unsigned long long time)
Definition: MClientLib.h:439
MCLIENTLIB_API MUSTERERR JobActionSetProcessWarningExitCodes(MUSTER *m, std::vector< long > id, bool enable, const char *warningExitCodes)
Definition: MClientLib.h:551
Definition: MClientLib.h:196
MCLIENTLIB_API MUSTERERR JobActionSetParent(MUSTER *m, std::vector< long > id, long parentId)
Definition: MClientLib.h:527
Definition: MClientLib.h:515
MCLIENTLIB_API MUSTERERR JobActionSetProject(MUSTER *m, std::vector< long > id, const char *groupName)
MCLIENTLIB_API MUSTERERR JobActionSetPools(MUSTER *m, std::vector< long > id, const char *pools)
Definition: MClientLib.h:249
Definition: MClientLib.h:558
MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartNotificatorNotificationsAtJobLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
Definition: MClientLib.h:595
Definition: MClientLib.h:326
Definition: MClientLib.h:166
MCLIENTLIB_API MUSTERERR ActionRunPython(MUSTER *m, const char *pythonCode)
MCLIENTLIB_API MUSTERERR SendDispatcherLDAPConfiguration(MUSTER *m, MDispatcherConfigurationLDAP &configurationObject)
MCLIENTLIB_API MUSTERERR GetDispatcherLDAPConfiguration(MUSTER *m, MDispatcherConfigurationLDAP &configurationObject)
MCLIENTLIB_API MUSTERERR NodeActionRunPythonFile(MUSTER *m, std::vector< long > id, const char *pythonFilePath)
Definition: MClientLib.h:368
Definition: MClientLib.h:494
Definition: MClientLib.h:482
MCLIENTLIB_API MUSTERERR ClearJobsHistory(MUSTER *m, long startingTime, long endingTime)
MCLIENTLIB_API MUSTERERR ActionCreateFolder(MUSTER *m, MJob &job)
MCLIENTLIB_API MUSTERERR MNetWaitForActionCompletation(MUSTER *m, int actionId)
Definition: MClientLib.h:545
Definition: MClientLib.h:321
Definition: MClientLib.h:276
MCLIENTLIB_API MServerStatus GetServerStatus(MUSTER *m)
MCLIENTLIB_API MUSTERERR GetStatistics(MUSTER *m, MDispatcherStatistics &statistics)
Definition: MClientLib.h:530
MCLIENTLIB_API MUSTERERR GetJobHistory(MUSTER *m, long jobId, std::vector< MHistoryChunk > &samples)
MCLIENTLIB_API void ShutdownSession(MUSTER *m)
MCLIENTLIB_API MUSTERERR JobActionSetSequence(MUSTER *m, std::vector< long > id, const char *sequenceName)
Definition: MClientLib.h:366
Definition: MClientLib.h:384
MCLIENTLIB_API int MNetGetCurrentMessage(MUSTER *m)
Definition: MClientLib.h:169
MCLIENTLIB_API MUSTERERR JobActionSetMinimumPhysicalGPUsUnits(MUSTER *m, std::vector< long > id, bool enable, int minimumPhysicalGPUsUnits)
Definition: MClientLib.h:122
MCLIENTLIB_API MUSTERERR JobActionSetOverrideMailNotificationsAtJobLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
Definition: MClientLib.h:198
Definition: MClientLib.h:594
MCLIENTLIB_API MUSTERERR NodeActionTimedResume(MUSTER *m, std::vector< long > id, unsigned long long time)
Definition: MClientLib.h:596
Definition: MClientLib.h:549
MCLIENTLIB_API MUSTERERR ActionSendJob(MUSTER *m, MJob &job)
MCLIENTLIB_API MUSTERERR JobActionSetMinimumLogicalUnits(MUSTER *m, std::vector< long > id, bool enable, int minimumLogicalUnits)
Definition: MClientLib.h:181
MCLIENTLIB_API MUSTERERR JobActionSetStartsOn(MUSTER *m, std::vector< long > id, long long int time)
Definition: MClientLib.h:259
Definition: MClientLib.h:424
Definition: MClientLib.h:505
MCLIENTLIB_API MUSTERERR JobActionSetOverrideMobileNotificationsAtJobLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
MCLIENTLIB_API MUSTERERR JobActionArchive(MUSTER *m, std::vector< long > id)
MCLIENTLIB_API MUSTERERR GetNode(MUSTER *m, MNode &node, long nodeId)
Definition: MClientLib.h:546
MCLIENTLIB_API MUSTERERR Disconnect(MUSTER *m)
MCLIENTLIB_API MUSTERERR SetRepositories(MUSTER *m, std::vector< MRepository > &repositories)
MCLIENTLIB_API std::vector< std::string > MNetGetCurrentMessageParameters(MUSTER *m)
MCLIENTLIB_API MUSTERERR GetNodeConfiguration(MUSTERCLIENT *m, MNodeConfiguration &configurationObject)
MCLIENTLIB_API MUSTERERR GetJobs(MUSTER *m, int filterMask, std::vector< MJob > &jobs, bool queryArchived)
Definition: MClientLib.h:587
MCLIENTLIB_API MUSTERERR JobActionSetDepartment(MUSTER *m, std::vector< long > id, const char *departmentName)
Definition: MClientLib.h:402
MCLIENTLIB_API MUSTERERR RemoveActionLog(MUSTER *m, const char *filename)
MCLIENTLIB_API MUSTERERR MNetSendMessage(MUSTER *m, int message, int actionId, const char *parameters=0, bool waitForCompletion=true)
MCLIENTLIB_API MUSTERERR JobBackupRemove(MUSTER *m, std::vector< long > ids)
Definition: MClientLib.h:550
MCLIENTLIB_API MUSTERERR GetJob(MUSTER *m, MJob &job, long jobId)
MCLIENTLIB_API MUSTERERR JobActionSetAttribute(MUSTER *m, std::vector< long > id, const char *attributeName, bool enable, const char *attributeValue)
MCLIENTLIB_API MUSTERERR SendDispatcherConfiguration(MUSTER *m, MDispatcherConfiguration &configurationObject)
MCLIENTLIB_API MUSTERERR GetHistoryBounds(MUSTER *m, MSamplesBoundaries &boundaries)
Definition: MClientLib.h:264
MCLIENTLIB_API MUSTERERR GetRepositories(MUSTER *m, std::vector< MRepository > &repositories)
Definition: MClientLib.h:403
Definition: MClientLib.h:247
Definition: MClientLib.h:487
MCLIENTLIB_API MUSTERERR ActionImportQueue(MUSTER *m, MStringRef &queueInput)
Definition: MClientLib.h:94
Definition: MClientLib.h:492
MCLIENTLIB_API MUSTERERR JobActionKillAndGoOn(MUSTER *m, std::vector< long > id)
MCLIENTLIB_API MUSTERERR JobActionSetOverrideMobileNotificationsAtChunkLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
Definition: MClientLib.h:573
MCLIENTLIB_API MUSTERERR ActionSoftRestart(MUSTER *m)
MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMailNotificationsAtJobLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
Definition: MClientLib.h:381
Definition: MClientLib.h:274
MCLIENTLIB_API MUSTERERR JobActionSetOverrideMailNotificationsAtChunkLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
Definition: MClientLib.h:255
Definition: MClientLib.h:542
MCLIENTLIB_API MUSTERERR JobActionSetOverrideNotificatorNotificationsAtJobLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
Definition: MClientLib.h:234
Definition: MClientLib.h:126
MCLIENTLIB_API MUSTERERR MNetTask(MUSTER *m)
MCLIENTLIB_API MUSTERERR ActionEditJob(MUSTER *m, MJob &job)
MCLIENTLIB_API MUSTER * InitializeSession(void)
MCLIENTLIB_API int GetPlatform()
MCLIENTLIB_API MUSTERERR JobActionRename(MUSTER *m, std::vector< long > id, const char *name)
Definition: MClientLib.h:485
Definition: MClientLib.h:483
Definition: MClientLib.h:240
Definition: MClientLib.h:277
MCLIENTLIB_API MUSTERERR AddUser(MUSTER *m, MUser &user)
Definition: MClientLib.h:434
Definition: MClientLib.h:119
MCLIENTLIB_API MUSTERERR NodeActionPause(MUSTER *m, std::vector< long > id)
Definition: MClientLib.h:224
MCLIENTLIB_API MUSTERERR NodeActionChangeNotes(MUSTER *m, std::vector< long > id, const char *notes)
Definition: MClientLib.h:323
Definition: MClientLib.h:93
Definition: MClientLib.h:194
Definition: MClientLib.h:256
Definition: MClientLib.h:433
MCLIENTLIB_API MUSTERERR JobActionSetMinimumPhysicalUnits(MUSTER *m, std::vector< long > id, bool enable, int minimumPhysicalUnits)
Definition: MClientLib.h:556
MCLIENTLIB_API MUSTERERR JobActionSetResumeOn(MUSTER *m, std::vector< long > id, long long int time)
MCLIENTLIB_API MUSTERERR ChunkActionSetOnHold(MUSTER *m, long jobId, std::vector< long > id)
Definition: MClientLib.h:325
Definition: MClientLib.h:387
Definition: MClientLib.h:284
Definition: MClientLib.h:376
Definition: MClientLib.h:254
MCLIENTLIB_API char * MNetGetCurrentMessageData(MUSTER *m)
Definition: MClientLib.h:399
MCLIENTLIB_API MUSTERERR JobActionRemoveAttribute(MUSTER *m, std::vector< long > id, const char *attributeName)
MCLIENTLIB_API MUSTERERR ConfigureGroup(MUSTER *m, MGroup &group)
MCLIENTLIB_API int MNetGetCurrentMessageActionId(MUSTER *m)
MCLIENTLIB_API MUSTERERR SendNodeConfiguration(MUSTERCLIENT *m, MNodeConfiguration &configurationObject)
MCLIENTLIB_API MUSTERERR JobActionBackup(MUSTER *m, std::vector< long > ids, int jobBackupOverwriteMode)
MCLIENTLIB_API MUSTERERR NodeActionRunPython(MUSTER *m, std::vector< long > id, const char *pythonCode)
MCLIENTLIB_API MUSTERERR NodeActionTerminateReserv(MUSTER *m, std::vector< long > id, long reservId, const std::string &reservVersion)
Definition: MClientLib.h:162
Definition: MClientLib.h:438
MCLIENTLIB_API MUSTERERR JobActionSetDependMode(MUSTER *m, std::vector< long > id, int dependMode)
Definition: MClientLib.h:404
MCLIENTLIB_API MUSTERERR ActionWaitDbFlush(MUSTER *m)
MCLIENTLIB_API MUSTERERR JobActionSetMinimumCoresSpeed(MUSTER *m, std::vector< long > id, bool enable, double minimumCoreSpeed)
MCLIENTLIB_API MUSTERERR JobActionPause(MUSTER *m, std::vector< long > id)
MCLIENTLIB_API MUSTERERR JobActionUnarchive(MUSTER *m, std::vector< long > id)
MCLIENTLIB_API MUSTERERR ConfigureUser(MUSTER *m, MUser &user)
MCLIENTLIB_API void ShutdownLibrary()
MCLIENTLIB_API MUSTERAUTH GetAuthenticationStatus(MUSTER *m)
MCLIENTLIB_API MUSTERERR GetBackupBounds(MUSTER *m, MBackupQueryBoundaries &boundaries)
Definition: MClientLib.h:160
Definition: MClientLib.h:409
MCLIENTLIB_API MUSTERERR Connect(MUSTER *m, const char *dispatcherAddress, int dispatcherPort, long maxSocketReadBytes=65000000, long maxSocketWriteBytes=65000000)
MCLIENTLIB_API MUSTERERR GetUser(MUSTER *m, const char *userName, MUser &user)
Definition: MClientLib.h:282
MCLIENTLIB_API MUSTERERR JobActionSetExcludedPools(MUSTER *m, std::vector< long > id, const char *pools)
MCLIENTLIB_API MUSTERERR GetPools(MUSTER *m, MPools &pools)
Definition: MClientLib.h:571
MCLIENTLIB_API MUSTERERR ActionForceLDAPUpdate(MUSTER *m)
Definition: MClientLib.h:149
Definition: MClientLib.h:316
MCLIENTLIB_API MUSTERERR SynchronizeTemplates(MUSTER *m)
MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartNotificatorNotificationsAtChunkLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
MCLIENTLIB_API MUSTERERR NodeActionKillAndPause(MUSTER *m, std::vector< long > id)
Definition: MClientLib.h:406
MCLIENTLIB_API MUSTERERR ActionRunPythonFile(MUSTER *m, const char *pythonFilePath)
Definition: MClientLib.h:128
Definition: MClientLib.h:295
Definition: MClientLib.h:314
Definition: MClientLib.h:528
Definition: MClientLib.h:570
Definition: MClientLib.h:543
MCLIENTLIB_API MUSTERERR GetStatisticsHistory(MUSTER *m, long startingTime, long endingTime, std::vector< MStatisticsSample > &samples)
Definition: MClientLib.h:102
MCLIENTLIB_API MUSTERERR JobActionSetProcessValidExitCodes(MUSTER *m, std::vector< long > id, bool enable, const char *validExitCodes)
Definition: MClientLib.h:95
Definition: MClientLib.h:317
Definition: MClientLib.h:176
Definition: MClientLib.h:190
Definition: MClientLib.h:477
Definition: MClientLib.h:383
MCLIENTLIB_API MUSTERERR JobActionSetChunkMaximumRequeueOverride(MUSTER *m, std::vector< long > id, bool enable, int maximumRequeue)
MCLIENTLIB_API MUSTERERR GetAccounts(MUSTER *m, std::vector< MUser > &users, std::vector< MGroup > &groups)
MCLIENTLIB_API void ShutdownClientSession(MUSTERCLIENT *m)
MCLIENTLIB_API MUSTERERR JobActionKillAndRedo(MUSTER *m, std::vector< long > id)
Definition: MClientLib.h:145
MCLIENTLIB_API std::string GetLibraryPath()
struct MClientLib::MUSTERAUTH MUSTERAUTH
Structure holding a Muster login authorization result.
Definition: MClientLib.h:350
Definition: MClientLib.h:131
Definition: MClientLib.h:539
Definition: MClientLib.h:137
Definition: MClientLib.h:185
MCLIENTLIB_API MUSTERERR NodeActionResume(MUSTER *m, std::vector< long > id)
Definition: MClientLib.h:544
Definition: MClientLib.h:372
MCLIENTLIB_API MUSTERERR ActionChangeStatus(MUSTER *m)
Definition: MClientLib.h:171
Definition: MClientLib.h:238
MCLIENTLIB_API MUSTERERR MNetWaitForMessage(MUSTER *m, int message, int actionId=0)
Definition: MClientLib.h:459
MCLIENTLIB_API MUSTERERR JobActionSetLogsParsingRules(MUSTER *m, std::vector< long > id, const std::vector< MClientLib::MTextFileRule > &rules)
Definition: MClientLib.h:292
Definition: MClientLib.h:130
Definition: MClientLib.h:187
MCLIENTLIB_API MUSTERERR ClearStatisticsHistory(MUSTER *m, long startingTime, long endingTime)
MCLIENTLIB_API MUSTERERR GetDispatcherConfiguration(MUSTER *m, MDispatcherConfiguration &configurationObject)
Definition: MClientLib.h:178
Definition: MAlarm.h:48
MCLIENTLIB_API MUSTERERR JobActionRestore(MUSTER *m, std::vector< long > ids, int jobRestoreActionMode, int jobRestoreReparentId)
Definition: MClientLib.h:215
Definition: MClientLib.h:195
Definition: MClientLib.h:173
Definition: MClientLib.h:422
Definition: MClientLib.h:230
Definition: MClientLib.h:211
Definition: MClientLib.h:589
Definition: MClientLib.h:242
Definition: MClientLib.h:257
MCLIENTLIB_API MUSTERERR ActionExportQueue(MUSTER *m, MStringRef &queueOutput)
MCLIENTLIB_API MUSTERERR JobActionSetMaximumNodes(MUSTER *m, std::vector< long > id, int maximumNodes)
Definition: MClientLib.h:146
Definition: MClientLib.h:313
Definition: MClientLib.h:214
Definition: MClientLib.h:392
MCLIENTLIB_API MUSTERERR JobActionSetPriority(MUSTER *m, std::vector< long > id, int priority)
MCLIENTLIB_API MUSTERERR JobActionSetMinimumDiskSpaceAmount(MUSTER *m, std::vector< long > id, bool enable, double minimumDiskSpace)
MCLIENTLIB_API MUSTERERR JobActionSetLogsErrorCheckType(MUSTER *m, std::vector< long > id, MJob::kErrorChecksType type)
MCLIENTLIB_API MUSTERERR InitializeLibrary(const char *module)
Definition: MClientLib.h:440
MCLIENTLIB_API MUSTERERR JobActionSetDepends(MUSTER *m, std::vector< long > id, const char *depends)
Definition: MClientLib.h:123
Definition: MClientLib.h:318
MCLIENTLIB_API void SetSessionAsync(MUSTER *m, bool state)
Definition: MClientLib.h:400
Definition: MClientLib.h:116
Definition: MClientLib.h:236
Definition: MClientLib.h:531
Definition: MClientLib.h:364
Definition: MClientLib.h:394
Definition: MClientLib.h:258
MCLIENTLIB_API MUSTERERR JobActionSetExitCodesErrorCheckType(MUSTER *m, std::vector< long > id, MJob::kErrorChecksType type)
MCLIENTLIB_API MUSTERERR JobActionSetChunkTimeoutOverride(MUSTER *m, std::vector< long > id, bool enable, int timeout)
Definition: MClientLib.h:393
MCLIENTLIB_API MUSTERERR GetProcessesLogContent(MUSTERCLIENT *m, const char *filename, MStringRef &out)
Definition: MClientLib.h:377
Definition: MClientLib.h:243
Definition: MClientLib.h:124
Definition: MClientLib.h:565
MCLIENTLIB_API MUSTERERR JobActionReinit(MUSTER *m, std::vector< long > id)
Definition: MClientLib.h:579
Definition: MClientLib.h:432
Definition: MClientLib.h:147
MCLIENTLIB_API MUSTERERR JobActionDelete(MUSTER *m, std::vector< long > id)
MCLIENTLIB_API MUSTERERR JobActionKillAndPause(MUSTER *m, std::vector< long > id)
MCLIENTLIB_API MUSTERERR JobActionSetProcessErrorExitCodes(MUSTER *m, std::vector< long > id, bool enable, const char *errorExitCodes)
Definition: MClientLib.h:143
Definition: MClientLib.h:503
MCLIENTLIB_API MUSTERERR ActionChangePassword(MUSTER *m, const char *oldPassword, const char *newPassword)
MCLIENTLIB_API MUSTERERR Authenticate(MUSTER *m, const char *username, const char *password, bool skipDirectoryServer=false)
Definition: MClientLib.h:563
Definition: MClientLib.h:129
MCLIENTLIB_API MUSTERERR GetActionLogContent(MUSTER *m, const char *filename, MStringRef &out)
MCLIENTLIB_API MUSTERERR GetBackupJobs(MUSTER *m, MBackupQuery &query, std::vector< MBackupJob > &jobs)
Definition: MClientLib.h:237
Definition: MClientLib.h:141
Definition: MClientLib.h:177
Definition: MClientLib.h:144
MCLIENTLIB_API MUSTERERR JobActionSetPauseOn(MUSTER *m, std::vector< long > id, long long int time)
Definition: MClientLib.h:382
Definition: MClientLib.h:251
MCLIENTLIB_API MUSTERERR RemoveGroup(MUSTER *m, const char *groupName)
Definition: MClientLib.h:517
MCLIENTLIB_API MUSTERERR JobActionSetShot(MUSTER *m, std::vector< long > id, const char *shotName)
MCLIENTLIB_API MUSTERERR JobActionSetOwner(MUSTER *m, std::vector< long > id, const char *ownerName)
Definition: MClientLib.h:373
Definition: MClientLib.h:425
Definition: MClientLib.h:488
Definition: MClientLib.h:165
struct MClientLib::MUSTERCLIENT MUSTERCLIENT
Client lib MUSTERCLIENT session structure.
MCLIENTLIB_API void SetClientSessionAsync(MUSTERCLIENT *m, bool state)
MCLIENTLIB_API MUSTERERR AcquireServerStatus(MUSTER *m)
MCLIENTLIB_API MUSTERERR JobActionUnlock(MUSTER *m, std::vector< long > id)
Definition: MClientLib.h:322
MCLIENTLIB_API MUSTERERR JobActionBackupAndDelete(MUSTER *m, std::vector< long > ids, int jobBackupOverwriteMode)
MCLIENTLIB_API MUSTERERR GetJobsHistory(MUSTER *m, long startingTime, long endingTime, const char *filterField, const char *filter, std::vector< MHistoryChunk > &samples)
Definition: MClientLib.h:309
MCLIENTLIB_API MUSTERERR ActionResetCounters(MUSTER *m)
Definition: MClientLib.h:319
MCLIENTLIB_API MUSTERERR NodeActionKillAndGo(MUSTER *m, std::vector< long > id)
Definition: MClientLib.h:486
MCLIENTLIB_API void LoadTemplates(const char *templatesPath)
Definition: MClientLib.h:588
MCLIENTLIB_API MUSTERERR GetProcessesLogs(MUSTERCLIENT *m, std::vector< std::string > &logs)
MCLIENTLIB_API MUSTERERR GetActionLogs(MUSTER *m, std::vector< std::string > &logs)
Definition: MClientLib.h:398
MCLIENTLIB_API MUSTERERR JobActionSetMinimumCores(MUSTER *m, std::vector< long > id, bool enable, int minimumCores)
Definition: MClientLib.h:252
Definition: MClientLib.h:101
Definition: MClientLib.h:586
MCLIENTLIB_API MUSTERERR NodeActionRemove(MUSTER *m, std::vector< long > id)
MCLIENTLIB_API MUSTERERR RemoveProcessesLog(MUSTERCLIENT *m, const char *filename)
MCLIENTLIB_API MUSTERERR JobActionResume(MUSTER *m, std::vector< long > id)
Definition: MClientLib.h:509
Definition: MClientLib.h:210
MCLIENTLIB_API MUSTERERR JobActionSetEmergencyQueue(MUSTER *m, std::vector< long > id, bool enabled)
Definition: MClientLib.h:192
Definition: MClientLib.h:423
Definition: MClientLib.h:188
MCLIENTLIB_API MUSTERERR GetActivityLogs(MUSTER *m, std::vector< std::string > &logs)
MCLIENTLIB_API MUSTERERR JobActionSetOverrideStartMobileNotificationsAtChunkLevel(MUSTER *m, std::vector< long > id, bool enable, int notificationType)
Definition: MClientLib.h:468
Definition: MClientLib.h:167
Definition: MClientLib.h:307
Definition: MClientLib.h:127
Definition: MClientLib.h:312
MCLIENTLIB_API MUSTERERR JobActionRestartFrameCheck(MUSTER *m, std::vector< long > id)
Definition: MClientLib.h:290
MCLIENTLIB_API MUSTERERR JobActionSetMinimumRamAmount(MUSTER *m, std::vector< long > id, bool enable, double minimumRamAmount)
MCLIENTLIB_API MUSTERERR GetGroup(MUSTER *m, const char *groupName, MGroup &group)
Definition: MClientLib.h:161
MCLIENTLIB_API MUSTERERR GetChunks(MUSTER *m, long jobId, int filterMask, std::vector< MChunk > &chunks)
MCLIENTLIB_API MUSTERERR GetChunk(MUSTER *m, MChunk &chunk, long jobId, long chunkId)