Revision 6d2e23f0

View differences:

include/mon.h
157 157
#define RXREM		256
158 158
/** Defines if this is the local (0) or remote (1) part of a measurement (internal use only)*/
159 159
#define REMOTE		512
160
/** Defines if the measure should provide also remote measurements locally (does not work with all)*/
161
#define REMOTE_RESULTS	1024
162

  
160 163

  
161 164
/** Used to advertise a TX based measurement (mutually exclusive with RXONLY, TXRXUNI and TXRXBI) */
162 165
#define TXONLY 	TXLOC
......
419 422
/**
420 423
  Retrieve results
421 424

  
422
   Used to retreive a result shortcuting the repository.
425
   As above but used to retreive a result usig measurement description instead of handler
423 426

  
424
   @param[in] mh handler of the measurement instance
427
   @param[in] src socketId: it is always the address of the other peer involved
428
   @param[in] mt the message type
429
   @param[in] flags measurmente falgs used while creating the measure
430
   @param[in] mid measurmente type id
425 431
   @param[in] st statistal type to be retrieved (i.e. average value) enum defined in monl/ids.h
426 432
   @return the value on success, NAN on failure
427 433
*/
428 434

  
435
result monRetrieveResultById(SocketId src, MsgType mt, MeasurementCapabilities flags, MeasurementId mid, enum stat_types st);
429 436

  
430 437
/**
431 438
  Save arbitrary samples

Also available in: Unified diff