Muster SDK  8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MClientLib.h
Go to the documentation of this file.
1 /*****************************************************************************
2 **
3 ** Header file for Muster API Client lib
4 **
5 ** Name : MClientLib.h
6 ** Author : Leonardo Bernardini
7 ** Version : 1.0, Sat Mar 2nd 2013
8 **
9 ** Copyright 2000-2014, Virtual Vertex
10 ** All Rights Reserved.
11 **
12 ** This file contains UNPUBLISHED PROPRIETARY SOURCE CODE.
13 ** The contents of this file may not be disclosed to third parties, copied
14 ** or duplicated in any form, in whole or in part, without the prior written
15 ** permission of the author.
16 **
17 *****************************************************************************/
24 #ifndef MCLIENTLIB_H
25 #define MCLIENTLIB_H
26 
27 #include <vector>
28 #include <string>
29 
30 #include "MClientLib/MError.h"
31 #include "MClientLib/MSession.h"
32 #include "MClientLib/MAuth.h"
35 #include "MClientLib/MLog.h"
36 #include "MClientLib/MChunk.h"
37 #include "MClientLib/MNode.h"
38 #include "MClientLib/MJob.h"
39 #include "MClientLib/MPools.h"
40 #include "MClientLib/MMaillist.h"
41 #include "MClientLib/MRepository.h"
42 #include "MClientLib/MUser.h"
43 #include "MClientLib/MGroup.h"
48 #include "MClientLib/MStringRef.h"
50 
51 #ifdef WIN32
52 // Windows definitions
53 #ifdef MCLIENTLIB_EXPORTS
54 #define MCLIENTLIB_API __declspec(dllexport)
55 #else
56 #define MCLIENTLIB_API __declspec(dllimport)
57 #endif
58 #else
59 
60 #ifndef MCLIENTLIB_EXPORTS
61 #ifdef LINUX
62 #define MCLIENTLIB_API
63 #else
64 #define MCLIENTLIB_API
65 #endif
66 #else
67 #define MCLIENTLIB_API
68 #endif
69 
70 #endif
71 
72 namespace MClientLib {
73 
76  enum kPlatforms {
78  kPlatformLinux = 0x02,
79  kPlatformOSX = 0x04
80  } ;
81 
347  kC2HConfigure = 1200,
383  kCustomMessage = 10000
384  };
385 
389  kLoginAdmin = 0x00,
394  };
395 
403  };
404 
409  MCLIENTLIB_API MUSTERERR InitializeLibrary(const char* module);
410 
413 
415  MCLIENTLIB_API std::string GetLibraryPath();
416 
419 
423  MCLIENTLIB_API void LoadTemplates(const char* templatesPath);
424 
429 
434 
440 
448  MCLIENTLIB_API MUSTERERR Connect(MUSTERCLIENT* m,const char* clientAddress, int clientPort,long maxSocketReadBytes = 65000000,
449  long maxSocketWriteBytes = 65000000);
450 
455  MCLIENTLIB_API MUSTERERR Disconnect(MUSTERCLIENT* m);
456 
461  MCLIENTLIB_API MUSTERERR MNetTask(MUSTERCLIENT* m);
462 
471  MCLIENTLIB_API MUSTERERR MNetSendMessage(MUSTERCLIENT* m,int message, int actionId,const char* parameters = 0, bool waitForCompletion = true);
472 
479  MCLIENTLIB_API MUSTERERR MNetWaitForMessage(MUSTERCLIENT* m,int message, int actionId = 0);
480 
488  MCLIENTLIB_API MUSTERERR MNetWaitForMessages(MUSTERCLIENT* m,int messages[], int messagesCount, int actionId = 0);
489 
495  MCLIENTLIB_API MUSTERERR MNetWaitForActionCompletation(MUSTERCLIENT* m, int actionId);
496 
502 
508 
514 
519  MCLIENTLIB_API std::vector<std::string> MNetGetCurrentMessageParameters(MUSTERCLIENT* m);
520 
526 
532  MCLIENTLIB_API MUSTERERR Authenticate(MUSTERCLIENT*m, const char* password);
533 
539  MCLIENTLIB_API MUSTERERR GetNodeConfiguration(MUSTERCLIENT* m, MNodeConfiguration& configurationObject);
540 
546  MCLIENTLIB_API MUSTERERR SendNodeConfiguration(MUSTERCLIENT* m, MNodeConfiguration& configurationObject);
547 
553  MCLIENTLIB_API MUSTERERR GetActivityLogs(MUSTERCLIENT*m, std::vector<std::string>& logs);
554 
561  MCLIENTLIB_API MUSTERERR GetActivityLogContent(MUSTERCLIENT*m, const char* filename,MStringRef& out);
562 
568  MCLIENTLIB_API MUSTERERR RemoveActivityLog(MUSTERCLIENT*m, const char* filename);
569 
575  MCLIENTLIB_API MUSTERERR GetProcessesLogs(MUSTERCLIENT*m, std::vector<std::string>& logs);
576 
583  MCLIENTLIB_API MUSTERERR GetProcessesLogContent(MUSTERCLIENT* m, const char* filename,MStringRef& out);
584 
590  MCLIENTLIB_API MUSTERERR RemoveProcessesLog(MUSTERCLIENT* m, const char* filename);
591 
596 
601 
606  MCLIENTLIB_API void SetSessionAsync(MUSTER* m, bool state);
607 
615  MCLIENTLIB_API MUSTERERR Connect(MUSTER* m,const char* dispatcherAddress, int dispatcherPort,long maxSocketReadBytes = 65000000,
616  long maxSocketWriteBytes = 65000000);
617 
622  MCLIENTLIB_API MUSTERERR Disconnect(MUSTER* m);
623 
628  MCLIENTLIB_API MUSTERERR MNetTask(MUSTER* m);
629 
638  MCLIENTLIB_API MUSTERERR MNetSendMessage(MUSTER* m,int message, int actionId,const char* parameters = 0, bool waitForCompletion = true);
639 
646  MCLIENTLIB_API MUSTERERR MNetWaitForMessage(MUSTER* m,int message, int actionId = 0);
647 
655  MCLIENTLIB_API MUSTERERR MNetWaitForMessages(MUSTER* m,int messages[], int messagesCount, int actionId = 0);
656 
662  MCLIENTLIB_API MUSTERERR MNetWaitForActionCompletation(MUSTER* m, int actionId);
663 
669 
675 
681 
686  MCLIENTLIB_API std::vector<std::string> MNetGetCurrentMessageParameters(MUSTER* m);
687 
693 
698  MCLIENTLIB_API MServerStatus GetServerStatus(MUSTER* m);
699 
705 
713  MCLIENTLIB_API MUSTERERR GetJobs(MUSTER*m, int filterMask, std::vector<MJob>& jobs, bool queryArchivied);
714 
721  MCLIENTLIB_API MUSTERERR GetNodes(MUSTER*m, int filterMask, std::vector<MNode>& nodes);
722 
729  MCLIENTLIB_API MUSTERERR GetLogs(MUSTER*m, int filterMask, std::vector<MLog>& logs);
730 
738  MCLIENTLIB_API MUSTERERR GetChunks(MUSTER*m, long jobId, int filterMask, std::vector<MChunk>& chunks);
739 
746  MCLIENTLIB_API MUSTERERR GetJob(MUSTER*m, MJob& job, long jobId);
747 
754  MCLIENTLIB_API MUSTERERR GetNode(MUSTER*m,MNode& node, long nodeId);
755 
763  MCLIENTLIB_API MUSTERERR GetChunk(MUSTER*m, MChunk& chunk, long jobId, long chunkId);
764 
771  MCLIENTLIB_API MUSTERERR Authenticate(MUSTER* m, const char* username, const char* password, bool skipDirectoryServer = false);
772 
778 
784 
790  MCLIENTLIB_API MUSTERERR GetDispatcherConfiguration(MUSTER* m, MDispatcherConfiguration& configurationObject);
791 
797  MCLIENTLIB_API MUSTERERR SendDispatcherConfiguration(MUSTER* m, MDispatcherConfiguration& configurationObject);
798 
804  MCLIENTLIB_API MUSTERERR GetDispatcherLDAPConfiguration(MUSTER* m, MDispatcherConfigurationLDAP& configurationObject);
805 
811  MCLIENTLIB_API MUSTERERR SendDispatcherLDAPConfiguration(MUSTER* m, MDispatcherConfigurationLDAP& configurationObject);
812 
818  MCLIENTLIB_API MUSTERERR GetPools(MUSTER*m, MPools& pools);
819 
825  MCLIENTLIB_API MUSTERERR SetPools(MUSTER*m, MPools& pools);
826 
833  MCLIENTLIB_API MUSTERERR GetAccounts(MUSTER* m , std::vector<MUser>& users, std::vector<MGroup>& groups);
834 
841  MCLIENTLIB_API MUSTERERR SendAccounts(MUSTER* m, std::vector<MUser>& users, std::vector<MGroup>& groups);
842 
848  MCLIENTLIB_API MUSTERERR AddUser(MUSTER* m, MUser& user);
849 
856  MCLIENTLIB_API MUSTERERR GetUser(MUSTER* m , const char* userName,MUser& user );
857 
863  MCLIENTLIB_API MUSTERERR ConfigureUser(MUSTER* m, MUser& user);
864 
870  MCLIENTLIB_API MUSTERERR RemoveUser(MUSTER* m, const char* userName);
871 
877  MCLIENTLIB_API MUSTERERR AddGroup(MUSTER* m, MGroup& group);
878 
885  MCLIENTLIB_API MUSTERERR GetGroup(MUSTER* m , const char* groupName,MGroup& group );
886 
892  MCLIENTLIB_API MUSTERERR ConfigureGroup(MUSTER* m, MGroup& group);
893 
899  MCLIENTLIB_API MUSTERERR RemoveGroup(MUSTER* m, const char* groupName);
900 
906  MCLIENTLIB_API MUSTERERR GetMails(MUSTER* m, std::vector<MMailList>& mails);
907 
913  MCLIENTLIB_API MUSTERERR SetMails(MUSTER* m, std::vector<MMailList>& mails);
914 
920  MCLIENTLIB_API MUSTERERR GetRepositories(MUSTER*m, std::vector<MRepository>& repositories);
921 
927  MCLIENTLIB_API MUSTERERR SetRepositories(MUSTER*m, std::vector<MRepository>& repositories);
928 
934  MCLIENTLIB_API MUSTERERR GetActivityLogs(MUSTER*m, std::vector<std::string>& logs);
935 
942  MCLIENTLIB_API MUSTERERR GetActivityLogContent(MUSTER*m, const char* filename,MStringRef& out);
943 
949  MCLIENTLIB_API MUSTERERR RemoveActivityLog(MUSTER*m, const char* filename);
950 
956  MCLIENTLIB_API MUSTERERR GetActionLogs(MUSTER*m, std::vector<std::string>& logs);
957 
964  MCLIENTLIB_API MUSTERERR GetActionLogContent(MUSTER*m, const char* filename,MStringRef& out);
965 
971  MCLIENTLIB_API MUSTERERR RemoveActionLog(MUSTER*m, const char* filename);
972 
978  MCLIENTLIB_API MUSTERERR GetHistoryBounds(MUSTER*m, MSamplesBoundaries& boundaries);
979 
987  MCLIENTLIB_API MUSTERERR GetStatisticsHistory(MUSTER*m, long startingTime, long endingTime, std::vector<MStatisticsSample>& samples);
988 
995  MCLIENTLIB_API MUSTERERR ClearStatisticsHistory(MUSTER*m, long startingTime, long endingTime);
996 
1006  MCLIENTLIB_API MUSTERERR GetJobsHistory(MUSTER*m, long startingTime, long endingTime, const char* filterField, const char* filter, std::vector<MHistoryChunk>& samples);
1007 
1014  MCLIENTLIB_API MUSTERERR ClearJobsHistory(MUSTER*m, long startingTime, long endingTime);
1015 
1022  MCLIENTLIB_API MUSTERERR GetJobHistory(MUSTER*m, long jobId, std::vector<MHistoryChunk>& samples);
1023 
1029  MCLIENTLIB_API MUSTERERR GetStatistics(MUSTER*m, MDispatcherStatistics& statistics);
1030 
1036 
1042  MCLIENTLIB_API MUSTERERR ActionImportQueue(MUSTER* m, MStringRef& in);
1043 
1049  MCLIENTLIB_API MUSTERERR ActionExportQueue(MUSTER* m, MStringRef& out);
1050 
1055  MCLIENTLIB_API MUSTERERR ActionSoftRestart(MUSTER* m);
1056 
1062 
1068 
1075  MCLIENTLIB_API MUSTERERR ActionChangePassword(MUSTER* m,const char* oldPassword, const char* newPassword);
1076 
1082  MCLIENTLIB_API MUSTERERR ActionSendJob(MUSTER* m, MJob& job);
1083 
1089  MCLIENTLIB_API MUSTERERR ActionEditJob(MUSTER* m, MJob& job);
1090 
1096  MCLIENTLIB_API MUSTERERR ActionCreateFolder(MUSTER* m, MJob& job);
1097 
1103  MCLIENTLIB_API MUSTERERR NodeActionSoftRestart(MUSTER* m, long nodeId);
1104 
1110  MCLIENTLIB_API MUSTERERR NodeActionPause(MUSTER* m, long nodeId);
1111 
1117  MCLIENTLIB_API MUSTERERR NodeActionResume(MUSTER* m, long nodeId);
1118 
1124  MCLIENTLIB_API MUSTERERR NodeActionKillAndGo(MUSTER* m, long nodeId);
1125 
1131  MCLIENTLIB_API MUSTERERR NodeActionKillAndRedo(MUSTER* m, long nodeId);
1132 
1138  MCLIENTLIB_API MUSTERERR NodeActionKillAndPause(MUSTER* m, long nodeId);
1139 
1146  MCLIENTLIB_API MUSTERERR NodeActionChangeNotes(MUSTER* m, long nodeId, const char* notes);
1147 
1153  MCLIENTLIB_API MUSTERERR NodeActionSoftRestart(MUSTER* m, std::vector<long> id);
1154 
1160  MCLIENTLIB_API MUSTERERR NodeActionPause(MUSTER* m, std::vector<long> id);
1161 
1167  MCLIENTLIB_API MUSTERERR NodeActionResume(MUSTER* m, std::vector<long> id);
1168 
1174  MCLIENTLIB_API MUSTERERR NodeActionKillAndGo(MUSTER* m, std::vector<long> id);
1175 
1181  MCLIENTLIB_API MUSTERERR NodeActionKillAndRedo(MUSTER* m, std::vector<long> id);
1182 
1188  MCLIENTLIB_API MUSTERERR NodeActionKillAndPause(MUSTER* m, std::vector<long> id);
1189 
1196  MCLIENTLIB_API MUSTERERR NodeActionChangeNotes(MUSTER* m, std::vector<long> id, const char* notes);
1197 
1203  MCLIENTLIB_API MUSTERERR JobActionKillAndPause(MUSTER* m, long jobId);
1204 
1210  MCLIENTLIB_API MUSTERERR JobActionKillAndRedo(MUSTER* m, long jobId);
1211 
1217  MCLIENTLIB_API MUSTERERR JobActionKillAndGoOn(MUSTER* m, long jobId);
1218 
1224  MCLIENTLIB_API MUSTERERR JobActionUnlock(MUSTER* m, long jobId);
1225 
1231  MCLIENTLIB_API MUSTERERR JobActionLock(MUSTER* m, long jobId);
1232 
1238  MCLIENTLIB_API MUSTERERR JobActionArchive(MUSTER* m, long jobId);
1239 
1245  MCLIENTLIB_API MUSTERERR JobActionUnarchive(MUSTER* m, long jobId);
1246 
1252  MCLIENTLIB_API MUSTERERR JobActionPause(MUSTER* m, long jobId);
1253 
1259  MCLIENTLIB_API MUSTERERR JobActionResume(MUSTER* m, long jobId);
1260 
1266  MCLIENTLIB_API MUSTERERR JobActionReinit(MUSTER* m, long jobId);
1267 
1274  MCLIENTLIB_API MUSTERERR JobActionRename(MUSTER* m, long jobId,const char* name);
1275 
1282  MCLIENTLIB_API MUSTERERR JobActionSetProject(MUSTER* m, long jobId,const char* groupName);
1283 
1290  MCLIENTLIB_API MUSTERERR JobActionSetDepartment(MUSTER* m, long jobId,const char* departmentName);
1291 
1298  MCLIENTLIB_API MUSTERERR JobActionSetOwner(MUSTER* m, long jobId,const char* ownerName);
1299 
1306  MCLIENTLIB_API MUSTERERR JobActionSetPriority(MUSTER* m, long jobId,int priority);
1307 
1314  MCLIENTLIB_API MUSTERERR JobActionSetPools(MUSTER* m, long jobId,const char* pools);
1315 
1322  MCLIENTLIB_API MUSTERERR JobActionSetExcludedPools(MUSTER* m, long jobId,const char* pools);
1323 
1330  MCLIENTLIB_API MUSTERERR JobActionSetMaximumNodes(MUSTER* m, long jobId,int maximumNodes);
1331 
1338  MCLIENTLIB_API MUSTERERR JobActionSetParent(MUSTER* m, long jobId,long parentId);
1339 
1346  MCLIENTLIB_API MUSTERERR JobActionSetTemplate(MUSTER* m, long jobId,int templateId);
1347 
1354  MCLIENTLIB_API MUSTERERR JobActionSetDepends(MUSTER* m, long jobId,const char* depends);
1355 
1362  MCLIENTLIB_API MUSTERERR JobActionSetDependMode(MUSTER* m, long jobId,int dependMode);
1363 
1370  MCLIENTLIB_API MUSTERERR JobActionSetStartsOn(MUSTER* m, long jobId,long long int time);
1371 
1378  MCLIENTLIB_API MUSTERERR JobActionSetResumeOn(MUSTER* m, long jobId,long long int time);
1379 
1386  MCLIENTLIB_API MUSTERERR JobActionSetPauseOn(MUSTER* m, long jobId,long long int time);
1387 
1394  MCLIENTLIB_API MUSTERERR JobActionSetNotes(MUSTER* m, long jobId,const char* notes);
1395 
1401  MCLIENTLIB_API MUSTERERR JobActionDelete(MUSTER* m, long jobId);
1402 
1410  MCLIENTLIB_API MUSTERERR JobActionSetMinimumLogicalUnits(MUSTER* m, long jobId,bool enable,int minimumLogicalUnits);
1411 
1419  MCLIENTLIB_API MUSTERERR JobActionSetMinimumCores(MUSTER* m, long jobId,bool enable,int minimumCores);
1420 
1428  MCLIENTLIB_API MUSTERERR JobActionSetMinimumPhysicalUnits(MUSTER* m, long jobId,bool enable,int minimumPhysicalUnits);
1429 
1437  MCLIENTLIB_API MUSTERERR JobActionSetMinimumCoresSpeed(MUSTER* m, long jobId,bool enable,double minimumCoreSpeed);
1438 
1446  MCLIENTLIB_API MUSTERERR JobActionSetMinimumRamAmount(MUSTER* m, long jobId,bool enable,double minimumRamAmount);
1447 
1455  MCLIENTLIB_API MUSTERERR JobActionSetMinimumDiskSpaceAmount(MUSTER* m, long jobId,bool enable,double minimumDiskSpace);
1456 
1464  MCLIENTLIB_API MUSTERERR JobActionSetProcessValidExitCodes(MUSTER* m, long jobId,bool enable,const char* validExitCodes);
1465 
1473  MCLIENTLIB_API MUSTERERR JobActionSetProcessWarningExitCodes(MUSTER* m, long jobId,bool enable,const char* warningExitCodes);
1474 
1482  MCLIENTLIB_API MUSTERERR JobActionSetProcessErrorExitCodes(MUSTER* m, long jobId,bool enable,const char* errorExitCodes);
1483 
1491  MCLIENTLIB_API MUSTERERR JobActionSetProcessValidLogTexts(MUSTER* m, long jobId,bool enable,const char* validLogTexts);
1492 
1500  MCLIENTLIB_API MUSTERERR JobActionSetProcessWarningLogTexts(MUSTER* m, long jobId,bool enable,const char* warningLogTexts);
1501 
1509  MCLIENTLIB_API MUSTERERR JobActionSetProcessErrorLogTexts(MUSTER* m, long jobId,bool enable,const char* errorLogTexts);
1510 
1516  MCLIENTLIB_API MUSTERERR JobActionKillAndPause(MUSTER* m, std::vector<long> id);
1517 
1523  MCLIENTLIB_API MUSTERERR JobActionKillAndRedo(MUSTER* m, std::vector<long> id);
1524 
1530  MCLIENTLIB_API MUSTERERR JobActionKillAndGoOn(MUSTER* m, std::vector<long> id);
1531 
1537  MCLIENTLIB_API MUSTERERR JobActionUnlock(MUSTER* m, std::vector<long> id);
1538 
1544  MCLIENTLIB_API MUSTERERR JobActionLock(MUSTER* m, std::vector<long> id);
1545 
1551  MCLIENTLIB_API MUSTERERR JobActionArchive(MUSTER* m, std::vector<long> id);
1552 
1558  MCLIENTLIB_API MUSTERERR JobActionUnarchive(MUSTER* m, std::vector<long> id);
1559 
1565  MCLIENTLIB_API MUSTERERR JobActionPause(MUSTER* m, std::vector<long> id);
1566 
1572  MCLIENTLIB_API MUSTERERR JobActionResume(MUSTER* m, std::vector<long> id);
1573 
1579  MCLIENTLIB_API MUSTERERR JobActionReinit(MUSTER* m, std::vector<long> id);
1580 
1587  MCLIENTLIB_API MUSTERERR JobActionSetProject(MUSTER* m, std::vector<long> id,const char* groupName);
1588 
1595  MCLIENTLIB_API MUSTERERR JobActionSetDepartment(MUSTER* m, std::vector<long> id,const char* departmentName);
1596 
1603  MCLIENTLIB_API MUSTERERR JobActionSetOwner(MUSTER* m, std::vector<long> id,const char* ownerName);
1604 
1611  MCLIENTLIB_API MUSTERERR JobActionSetPriority(MUSTER* m, std::vector<long> id,int priority);
1612 
1619  MCLIENTLIB_API MUSTERERR JobActionSetPools(MUSTER* m,std::vector<long> id,const char* pools);
1620 
1627  MCLIENTLIB_API MUSTERERR JobActionSetExcludedPools(MUSTER* m, std::vector<long> id,const char* pools);
1628 
1635  MCLIENTLIB_API MUSTERERR JobActionSetMaximumNodes(MUSTER* m,std::vector<long> id,int maximumNodes);
1636 
1643  MCLIENTLIB_API MUSTERERR JobActionSetParent(MUSTER* m, std::vector<long> id,long parentId);
1644 
1651  MCLIENTLIB_API MUSTERERR JobActionSetTemplate(MUSTER* m, std::vector<long> id,int templateId);
1652 
1659  MCLIENTLIB_API MUSTERERR JobActionSetDepends(MUSTER* m, std::vector<long> id,const char* depends);
1660 
1667  MCLIENTLIB_API MUSTERERR JobActionSetDependMode(MUSTER* m, std::vector<long> id,int dependMode);
1668 
1675  MCLIENTLIB_API MUSTERERR JobActionSetStartsOn(MUSTER* m, std::vector<long> id,long long int time);
1676 
1683  MCLIENTLIB_API MUSTERERR JobActionSetResumeOn(MUSTER* m,std::vector<long> id,long long int time);
1684 
1691  MCLIENTLIB_API MUSTERERR JobActionSetPauseOn(MUSTER* m,std::vector<long> id,long long int time);
1692 
1699  MCLIENTLIB_API MUSTERERR JobActionSetNotes(MUSTER* m, std::vector<long> id,const char* notes);
1700 
1706  MCLIENTLIB_API MUSTERERR JobActionDelete(MUSTER* m, std::vector<long> id);
1707 
1715  MCLIENTLIB_API MUSTERERR JobActionSetMinimumLogicalUnits(MUSTER* m, std::vector<long> id,bool enable,int minimumLogicalUnits);
1716 
1724  MCLIENTLIB_API MUSTERERR JobActionSetMinimumCores(MUSTER* m, std::vector<long> id,bool enable,int minimumCores);
1725 
1733  MCLIENTLIB_API MUSTERERR JobActionSetMinimumPhysicalUnits(MUSTER* m, std::vector<long> id,bool enable,int minimumPhysicalUnits);
1734 
1742  MCLIENTLIB_API MUSTERERR JobActionSetMinimumCoresSpeed(MUSTER* m, std::vector<long> id,bool enable,double minimumCoreSpeed);
1743 
1751  MCLIENTLIB_API MUSTERERR JobActionSetMinimumRamAmount(MUSTER* m, std::vector<long> id,bool enable,double minimumRamAmount);
1752 
1760  MCLIENTLIB_API MUSTERERR JobActionSetMinimumDiskSpaceAmount(MUSTER* m, std::vector<long> id,bool enable,double minimumDiskSpace);
1761 
1769  MCLIENTLIB_API MUSTERERR JobActionSetProcessValidExitCodes(MUSTER* m, std::vector<long> id,bool enable,const char* validExitCodes);
1770 
1778  MCLIENTLIB_API MUSTERERR JobActionSetProcessWarningExitCodes(MUSTER* m, std::vector<long> id,bool enable,const char* warningExitCodes);
1779 
1787  MCLIENTLIB_API MUSTERERR JobActionSetProcessErrorExitCodes(MUSTER* m, std::vector<long> id,bool enable,const char* errorExitCodes);
1788 
1796  MCLIENTLIB_API MUSTERERR JobActionSetProcessValidLogTexts(MUSTER* m, std::vector<long> id,bool enable,const char* validLogTexts);
1797 
1805  MCLIENTLIB_API MUSTERERR JobActionSetProcessWarningLogTexts(MUSTER* m, std::vector<long> id,bool enable,const char* warningLogTexts);
1806 
1814  MCLIENTLIB_API MUSTERERR JobActionSetProcessErrorLogTexts(MUSTER* m, std::vector<long> id,bool enable,const char* errorLogTexts);
1815 
1822  MCLIENTLIB_API MUSTERERR ChunkActionSetOnHold(MUSTER* m,long jobId,long chunkId);
1823 
1830  MCLIENTLIB_API MUSTERERR ChunkActionSetCompleted(MUSTER* m,long jobId,long chunkId);
1831 
1838  MCLIENTLIB_API MUSTERERR ChunkActionSetOnHold(MUSTER* m,long jobId,std::vector<long> id);
1839 
1846  MCLIENTLIB_API MUSTERERR ChunkActionSetCompleted(MUSTER* m,long jobId,std::vector<long> id);
1847 
1848 }
1849 
1850 #endif