/[monit]/monit/p.y
ViewVC logotype

Diff of /monit/p.y

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

revision 1.214 by martinp, Mon Sep 12 22:08:40 2005 UTC revision 1.215 by martinp, Tue Nov 1 14:32:38 2005 UTC
# Line 254  Line 254 
254  %token ALERT MAILFORMAT UNIXSOCKET SIGNATURE  %token ALERT MAILFORMAT UNIXSOCKET SIGNATURE
255  %token TIMEOUT RESTART CHECKSUM EXPECT EVERY  %token TIMEOUT RESTART CHECKSUM EXPECT EVERY
256  %token DEFAULT HTTP APACHESTATUS FTP SMTP POP IMAP NNTP NTP3 MYSQL DNS  %token DEFAULT HTTP APACHESTATUS FTP SMTP POP IMAP NNTP NTP3 MYSQL DNS
257  %token SSH DWP LDAP2 LDAP3 RDATE RSYNC POSTFIXPOLICY  %token SSH DWP LDAP2 LDAP3 RDATE RSYNC TNS POSTFIXPOLICY
258  %token <string> STRING PATH MAILADDR MAILFROM MAILSUBJECT  %token <string> STRING PATH MAILADDR MAILFROM MAILSUBJECT
259  %token <string> MAILBODY SERVICENAME  %token <string> MAILBODY SERVICENAME
260  %token <number> NUMBER PERCENT LOGLIMIT CLOSELIMIT DNSLIMIT KEEPALIVELIMIT  %token <number> NUMBER PERCENT LOGLIMIT CLOSELIMIT DNSLIMIT KEEPALIVELIMIT
# Line 852  protocol        : /* EMPTY */  { Line 852  protocol        : /* EMPTY */  {
852                  | PROTOCOL RSYNC {                  | PROTOCOL RSYNC {
853                      portset.protocol= addprotocol(P_RSYNC);                      portset.protocol= addprotocol(P_RSYNC);
854                    }                    }
855                    | PROTOCOL TNS {
856                        portset.protocol= addprotocol(P_TNS);
857                      }
858                  | sendexpectlist {                  | sendexpectlist {
859                      portset.protocol= addprotocol(P_GENERIC);                      portset.protocol= addprotocol(P_GENERIC);
860                    }                    }
# Line 2303  static void *addprotocol(int protocol) { Line 2306  static void *addprotocol(int protocol) {
2306    case P_SSH:           return create_ssh();    case P_SSH:           return create_ssh();
2307    case P_RDATE:         return create_rdate();    case P_RDATE:         return create_rdate();
2308    case P_RSYNC:         return create_rsync();    case P_RSYNC:         return create_rsync();
2309      case P_TNS:           return create_tns();
2310    }    }
2311    
2312    return create_default();    return create_default();

Legend:
Removed from v.1.214  
changed lines
  Added in v.1.215

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