/[monit]/monit/protocols/protocol.c
ViewVC logotype

Diff of /monit/protocols/protocol.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by martinp, Thu Aug 4 10:38:43 2005 UTC revision 1.25 by martinp, Tue Nov 1 14:32:39 2005 UTC
# Line 53  static Protocol_T mysmtp= NULL; Line 53  static Protocol_T mysmtp= NULL;
53  static Protocol_T myssh= NULL;  static Protocol_T myssh= NULL;
54  static Protocol_T myrdate= NULL;  static Protocol_T myrdate= NULL;
55  static Protocol_T myrsync= NULL;  static Protocol_T myrsync= NULL;
56    static Protocol_T mytns= NULL;
57    
58    
59  /**  /**
# Line 91  void gc_protocols() { Line 92  void gc_protocols() {
92    FREE(myssh);    FREE(myssh);
93    FREE(myrdate);    FREE(myrdate);
94    FREE(myrsync);    FREE(myrsync);
95      FREE(mytns);
96    
97  }  }
98    
# Line 284  void *create_rsync() { Line 286  void *create_rsync() {
286    return myrsync;    return myrsync;
287  }  }
288    
289    
290    void *create_tns() {
291      if(mytns == NULL) {
292        NEW(mytns);
293        mytns->name= "TNS";
294        mytns->check= check_tns;
295      }
296      return mytns;
297    }
298    

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26