Changeset cab471b in nscp for trunk/include/NSCHelper.h


Ignore:
Timestamp:
03/01/05 22:42:27 (8 years ago)
Author:
Michael Medin <michael@…>
Children:
4f2e807
Parents:
f7f536b
Message:
  • Improved thread safety in Core + Added exception handling and logging in PDH code
  • Various fixes all over the place + New module for check size of files/directories
  • Changed build to Dynamic link
  • Added regular expression support for EventLog? checker
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/NSCHelper.h

    rf7f536b rcab471b  
    88{ 
    99  int wrapReturnString(char *buffer, unsigned int bufLen, std::string str, int defaultReturnCode = NSCAPI::success); 
    10   std::list<std::string> makelist(const unsigned int argLen, char **argument); 
     10 
     11  std::list<std::string> arrayBuffer2list(const unsigned int argLen, char **argument); 
     12  char ** list2arrayBuffer(const std::list<std::string> lst, unsigned int &argLen); 
     13  void destroyArrayBuffer(char **argument, const unsigned int argLen); 
     14 
    1115  std::string translateMessageType(NSCAPI::messageTypes msgType); 
    1216  std::string translateReturn(NSCAPI::returnCodes returnCode); 
     
    6670namespace NSCModuleHelper 
    6771{ 
     72  class NSCMHExcpetion { 
     73  public: 
     74    std::string msg_; 
     75    NSCMHExcpetion(std::string msg) : msg_(msg) {} 
     76  }; 
    6877  // Types for the Callbacks into the main program 
    6978  typedef int (*lpNSAPIGetBasePath)(char*,unsigned int); 
Note: See TracChangeset for help on using the changeset viewer.