/[monit]/monit/monitor.h
ViewVC logotype

Diff of /monit/monitor.h

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

revision 1.88 by martinp, Wed Aug 27 01:42:40 2003 UTC revision 1.89 by hauk, Fri Aug 29 16:58:07 2003 UTC
# Line 247  typedef struct mycommand { Line 247  typedef struct mycommand {
247  } *Command_T;  } *Command_T;
248    
249    
250    /** Defines a protocol object with protocol functions */
251    typedef struct myprotocol {
252      const char *name;                                     /**< Protocol name */
253      int(*check)(Socket_T);                /**< Service verification function */
254    } *Protocol_T;
255    
256    
257  /** Defines a port object */  /** Defines a port object */
258  typedef struct myport {  typedef struct myport {
259    volatile int socket;                       /**< Socket used for connection */    volatile int socket;                       /**< Socket used for connection */
# Line 269  typedef struct myport { Line 276  typedef struct myport {
276    } SSL;    } SSL;
277    
278    /**< Object used for testing a port's service */    /**< Object used for testing a port's service */
279    struct myprotocol {    Protocol_T protocol;
     const char *name;                                     /**< Protocol name */  
     int(*check)(Socket_T);                /**< Service verification function */  
   } *protocol;  
280        
281    /** For internal use */    /** For internal use */
282    struct myport *next;                               /**< next port in chain */    struct myport *next;                               /**< next port in chain */
283  } *Port_T;  } *Port_T;
284    
285    
 /** Defines a protocol object with protocol functions */  
 typedef struct myprotocol *Protocol_T;  
   
   
286  typedef struct mydependant {  typedef struct mydependant {
287    char *dependant;                           /**< name of dependant service  */    char *dependant;                           /**< name of dependant service  */
288    

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

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