dfuxreflib.hpp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*##############################################################################
  2. HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. ############################################################################## */
  13. #ifndef DFUXREF_HPP
  14. #define DFUXREF_HPP
  15. #ifdef DFUXREFLIB_EXPORTS
  16. #define DFUXREFLIB_API DECL_EXPORT
  17. #else
  18. #define DFUXREFLIB_API DECL_IMPORT
  19. #endif
  20. #include "XRefNodeManager.hpp"
  21. #define PMtextoutput 0x01
  22. #define PMtreeoutput 0x02
  23. #define PMcsvoutput 0x04
  24. #define PMbackupoutput 0x08
  25. #define PMupdateeclwatch 0x10
  26. extern DFUXREFLIB_API IPropertyTree * runXRef(unsigned numclusters,const char **clusternames,IXRefProgressCallback *callback,unsigned numthreads);
  27. extern DFUXREFLIB_API IPropertyTree * RunProcess(unsigned nclusters,const char **clusters,unsigned numdirs,const char **dirbaselist,unsigned flags,IXRefProgressCallback *_msgcallback,unsigned numthreads);
  28. extern DFUXREFLIB_API IPropertyTree * runXRefCluster(const char *cluster,IXRefNode *nodeToUpdate);
  29. // this will use sasha if enabled
  30. extern DFUXREFLIB_API void testGetDir();
  31. #endif