Ignore:
Timestamp:
08/22/11 10:30:36 (22 months ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2
Children:
bd18eb2
Parents:
fe75eff
Message:

Initial version of the NSCP protocol (very crude) also might not build on *nix as I haven't verified that yet...
Will improve this this week and hopefully have something better in a bit... But this works so thought Id commit it anyways if I break something :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/NRPEClient/NRPEClient.cpp

    rfe75eff r438998b  
    110110 
    111111    settings.alias().add_path_to_settings() 
    112 //      (_T("EXTERNAL SCRIPT SECTION"), _T("Section for external scripts configuration options (CheckExternalScripts).")) 
    113112 
    114113      (_T("handlers"), sh::fun_values_path(boost::bind(&NRPEClient::add_command, this, _1, _2)),  
     
    238237 
    239238int NRPEClient::commandLineExec(const std::wstring &command, std::list<std::wstring> &arguments, std::wstring &result) { 
    240   if (command != _T("query") && command != _T("help")) 
     239  if (command != _T("query_nrpe") && command != _T("help")) 
    241240    return NSCAPI::returnIgnored; 
    242241  try { 
Note: See TracChangeset for help on using the changeset viewer.