"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gc.c" between
monit-5.27.2.tar.gz and monit-5.28.0.tar.gz

About: Monit is a utility for managing and monitoring processes, files, directories and filesystems (with automatic error recovery).

gc.c  (monit-5.27.2):gc.c  (monit-5.28.0)
skipping to change at line 53 skipping to change at line 53
/* Private prototypes */ /* Private prototypes */
static void _gc_service_list(Service_T *); static void _gc_service_list(Service_T *);
static void _gc_service(Service_T *); static void _gc_service(Service_T *);
static void _gc_servicegroup(ServiceGroup_T *); static void _gc_servicegroup(ServiceGroup_T *);
static void _gc_mail_server(MailServer_T *); static void _gc_mail_server(MailServer_T *);
static void _gcportlist(Port_T *); static void _gcportlist(Port_T *);
static void _gcfilesystem(FileSystem_T *); static void _gcfilesystem(FileSystem_T *);
static void _gcicmp(Icmp_T *); static void _gcicmp(Icmp_T *);
static void _gcpql(Resource_T *); static void _gcpql(Resource_T *);
static void _gcptl(Timestamp_T *); static void _gcptl(Timestamp_T *);
static void _gcuptimelist(Uptime_T *);
static void _gcparl(ActionRate_T *); static void _gcparl(ActionRate_T *);
static void _gc_action(Action_T *); static void _gc_action(Action_T *);
static void _gc_eventaction(EventAction_T *); static void _gc_eventaction(EventAction_T *);
static void _gcpdl(Dependant_T *); static void _gcpdl(Dependant_T *);
static void _gcso(Size_T *); static void _gcso(Size_T *);
static void _gclinkstatus(LinkStatus_T *); static void _gclinkstatus(LinkStatus_T *);
static void _gclinkspeed(LinkSpeed_T *); static void _gclinkspeed(LinkSpeed_T *);
static void _gclinksaturation(LinkSaturation_T *); static void _gclinksaturation(LinkSaturation_T *);
static void _gcbandwidth(Bandwidth_T *); static void _gcbandwidth(Bandwidth_T *);
static void _gcmatch(Match_T *); static void _gcmatch(Match_T *);
skipping to change at line 200 skipping to change at line 201
if ((*s)->filesystemlist) if ((*s)->filesystemlist)
_gcfilesystem(&(*s)->filesystemlist); _gcfilesystem(&(*s)->filesystemlist);
if ((*s)->icmplist) if ((*s)->icmplist)
_gcicmp(&(*s)->icmplist); _gcicmp(&(*s)->icmplist);
if ((*s)->maillist) if ((*s)->maillist)
gc_mail_list(&(*s)->maillist); gc_mail_list(&(*s)->maillist);
if ((*s)->resourcelist) if ((*s)->resourcelist)
_gcpql(&(*s)->resourcelist); _gcpql(&(*s)->resourcelist);
if ((*s)->timestamplist) if ((*s)->timestamplist)
_gcptl(&(*s)->timestamplist); _gcptl(&(*s)->timestamplist);
if ((*s)->uptimelist)
_gcuptimelist(&(*s)->uptimelist);
if ((*s)->actionratelist) if ((*s)->actionratelist)
_gcparl(&(*s)->actionratelist); _gcparl(&(*s)->actionratelist);
if ((*s)->sizelist) if ((*s)->sizelist)
_gcso(&(*s)->sizelist); _gcso(&(*s)->sizelist);
if ((*s)->linkstatuslist) if ((*s)->linkstatuslist)
_gclinkstatus(&(*s)->linkstatuslist); _gclinkstatus(&(*s)->linkstatuslist);
if ((*s)->linkspeedlist) if ((*s)->linkspeedlist)
_gclinkspeed(&(*s)->linkspeedlist); _gclinkspeed(&(*s)->linkspeedlist);
if ((*s)->linksaturationlist) if ((*s)->linksaturationlist)
_gclinksaturation(&(*s)->linksaturationlist); _gclinksaturation(&(*s)->linksaturationlist);
skipping to change at line 453 skipping to change at line 456
static void _gcptl(Timestamp_T *p) { static void _gcptl(Timestamp_T *p) {
ASSERT(p); ASSERT(p);
if ((*p)->next) if ((*p)->next)
_gcptl(&(*p)->next); _gcptl(&(*p)->next);
if ((*p)->action) if ((*p)->action)
_gc_eventaction(&(*p)->action); _gc_eventaction(&(*p)->action);
FREE(*p); FREE(*p);
} }
static void _gcuptimelist(Uptime_T *u) {
ASSERT(u);
if ((*u)->next)
_gcuptimelist(&(*u)->next);
if ((*u)->action)
_gc_eventaction(&(*u)->action);
FREE(*u);
}
static void _gcparl(ActionRate_T *ar) { static void _gcparl(ActionRate_T *ar) {
ASSERT(ar); ASSERT(ar);
if ((*ar)->next) if ((*ar)->next)
_gcparl(&(*ar)->next); _gcparl(&(*ar)->next);
if ((*ar)->action) if ((*ar)->action)
_gc_eventaction(&(*ar)->action); _gc_eventaction(&(*ar)->action);
FREE(*ar); FREE(*ar);
} }
static void _gcso(Size_T *s) { static void _gcso(Size_T *s) {
 End of changes. 3 change blocks. 
0 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)