~ubuntu-branches/ubuntu/dapper/monit/dapper

« back to all changes in this revision

Viewing changes to util.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Alfredsson
  • Date: 2005-11-11 21:04:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051111210432-uqstfeqxun0vvn1j
Tags: 1:4.6-1
New upstream release (Closes: #306259, #308369, #315638)

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 *  @author Christian Hopp <chopp@iei.tu-clausthal.de>
31
31
 *  @author Michael Amster, <mamster@webeasy.com> 
32
32
 *
33
 
 *  @version \$Id: util.h,v 1.7 2005/03/14 22:30:14 martinp Exp $
 
33
 *  @version \$Id: util.h,v 1.11 2005/09/05 09:51:38 martinp Exp $
34
34
 *  @file
35
35
 */
36
36
 
366
366
 
367
367
 
368
368
/*
 
369
 * This will enable service monitoring in the case that it was disabled.
 
370
 * @param s A Service_T object
 
371
 */
 
372
void Util_monitorSet(Service_T s);
 
373
 
 
374
 
 
375
/*
369
376
 * This will disable service monitoring in the case that it is enabled
370
377
 * @param s A Service_T object
371
378
 */
372
379
void Util_monitorUnset(Service_T s);
373
380
 
374
381
 
 
382
/*
 
383
 * Retun appropriate action id for string
 
384
 * @param action A action string
 
385
 * @return the action id
 
386
 */
 
387
int Util_getAction(const char *action);
 
388
 
 
389
 
 
390
/**
 
391
 * Print event ratio needed to trigger the action to the buffer
 
392
 * @param action A action string
 
393
 * @return the action id
 
394
 */
 
395
char *Util_getEventratio(Action_T action, char *buf);
 
396
 
 
397
 
375
398
#endif