Revision a1a78de4

View differences:

include/mon.h
445 445
   @param[in] name the name
446 446
   @return 0 on success, != 0 on failure
447 447
*/
448
int monSetPeerName(char *name);
448
int monSetPeerName(const char *name);
449 449

  
450 450
/**
451 451
   Deactivate measure
monl/measure_manager.cpp
57 57
	return EOK;
58 58
};
59 59

  
60
int MeasureManager::monSetPeerName(char *pn) {
60
int MeasureManager::monSetPeerName(const char *pn) {
61 61
	int s;	
62 62
	if(pn == NULL)
63 63
		return -EINVAL;
monl/measure_manager.h
329 329

  
330 330
	void monParseConfig(void *);
331 331

  
332
	int monSetPeerName(char *pn);
332
	int monSetPeerName(const char *pn);
333 333
};
334 334

  
335 335
#endif /* _MEASURE_MANAGER_H */
monl/monl.cpp
255 255
	return man->monNewSample(mh,r);
256 256
}
257 257

  
258
int monSetPeerName(char *name){
258
int monSetPeerName(const char *name){
259 259
	return man->monSetPeerName(name);
260 260
}

Also available in: Unified diff