MOOD, Monitor Of Of-line Data             __        
    & Detector Debugger                  /\ \       
     __           __           __        \#\ \      
    /\ \         /\ \         /\ \        \#\ \     
   /##\ \       /##\ \       /##\ \       /##\ \    
  /#/\#\ \     /#/\#\ \     /#/\#\ \     /#/\#\ \   
 /##\-\#\ \   /#/ /\#\ \   /#/ /\#\ \   /#/ /\#\ \  
/#/\#\ \#\_\ /#/_/  \#\_\ /#/_/  \#\_\ /#/_/  \#\_\ 
\#\-\#\ \/_/ \#\ \  /#/ / \#\ \  /#/ / \#\ \  /#/ / 
 \#\ \#\_\    \#\ \/#/ /   \#\ \/#/ /   \#\ \/#/ /  
  \#\ \/_/     \#\/#/ /     \#\/#/ /     \#\/#/ /   
   \#\_\        \##/ /       \##/ /       \##/ /    
    \/_/         \/_/         \/_/         \/_/ Remote

Taken from DATE Users Guide V4

monitorSetDataSource

C Synopsis

#include "monitor.h"

int monitorSetDataSource( char* )

Description

The source of events to monitor is declared. The syntax of the monitor source parameter is the
following:

------------------------------------------------------------------------------------
Table 7.1 Monitor source parameter syntax
------------------------------------------------------------------------------------
":"                 local online (default)
"file"              local file (both full and relative paths are accepted, full path recommended)
"@host:"            remote online on node host
"file@host"         remote file on node "host" (the full path to the file should be given)
"@host1@host2:"     remote online on node "host1" via the relay host "host2"
"file@host1@host2"  remote file on node "host1" via the relay host "host2" (the full path to the
                    file should be given) 
------------------------------------------------------------------------------------

If a remote monitoring is specified and the remote hostname points to the local host, then local
monitoring is assumed and no transfer take place over TCP/IP. The monitoring library is able to
resolve host aliasing and multi-interface hosts.

Returns

Zero in case of success, else a error code (see 7.2.3 for more details). 
