Go to the
documentation of this file.
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #pragma once
00012
00013 #include <WTypes.h>
00014 #include "..\strbasic.h"
00015 #include "..\maxnet_types.h"
00016 #include "MaxNetExport.h"
00017
00018
00019 class MaxNetManager;
00020 struct ConfigurationBlock;
00021 struct Job;
00022 class CJobText;
00023
00026 MAXNETEXPORT MaxNetManager* CreateManager ( );
00031 MAXNETEXPORT void DestroyManager (MaxNetManager* mgr);
00032
00051 MAXNETEXPORT bool jobReadMAXProperties (char* max_filename, Job* job, CJobText& jobText);
00052
00060 MAXNETEXPORT void jobSetJobDefaults (Job* job);
00061
00062 MAXNETEXPORT void NumberedFilename (MCHAR* infile, MCHAR* outfile, int number);
00063 MAXNETEXPORT bool IsMacNull (BYTE *addr);
00064 MAXNETEXPORT bool GetMacAddress (BYTE* addr);
00065 MAXNETEXPORT bool MatchMacAddress (BYTE* addr1, BYTE* addr2);
00066 MAXNETEXPORT void Mac2String (BYTE* addr, MCHAR* string );
00067 MAXNETEXPORT void Mac2StringCondensed (BYTE* addr, MCHAR* string );
00068 MAXNETEXPORT void StringCondensed2Mac (MCHAR* string, BYTE* addr);
00069 MAXNETEXPORT void InitConfigurationInfo (ConfigurationBlock& cb, MCHAR workdisk = 0);
00070 MAXNETEXPORT bool MatchServers (HSERVER srv1, HSERVER srv2);
00090 MAXNETEXPORT bool Maz (MCHAR* archivename, MCHAR* file_list, DWORD* filesize = 0);
00099 MAXNETEXPORT bool UnMaz (MCHAR* archivename, MCHAR* output_path);
00100
00101 MAXNETEXPORT MCHAR* ResString (int id, MCHAR* buffer = 0);
00102
00103 MAXNETEXPORT bool ConvertOldJobFile (MCHAR* oldFile, MCHAR* newFile);
00104
00105 enum MAXNET_PLATFORM {
00106 MAXNET_PLATFORM_NATIVE = 0,
00107 MAXNET_PLATFORM_32BIT = 32,
00108 MAXNET_PLATFORM_64BIT =64
00109 };
00110 #ifndef NO_MAXNET_PLATFORM_OVERRIDE
00111 MAXNETEXPORT MaxNetManager* CreateManager (int platform);
00112 MAXNETEXPORT bool ConvertOldJobFile (MCHAR* oldFile, MCHAR* newFile, int platform);
00113 #endif