[Nagiosplug-checkins] CVS: nagiosplug/contrib check_dhcp.c,1.2,1.3 check_fping_in.c,1.1.1.1,1.2 check_rbl.c,1.1,1.2
Karl DeBisschop
kdebisschop at users.sourceforge.net
Mon Jan 13 04:22:02 CET 2003
- Previous message: [Nagiosplug-checkins] CVS: nagiosplug/plugins check_by_ssh.c,1.6,1.7 check_dig.c,1.7,1.8 check_disk.c,1.6,1.7 check_dns.c,1.5,1.6 check_dummy.c,1.1.1.1,1.2 check_fping.c,1.3,1.4 check_hpjd.c,1.5,1.6 check_http.c,1.13,1.14 check_ldap.c,1.2,1.3 check_load.c,1.4,1.5 check_mrtg.c,1.3,1.4 check_mrtgtraf.c,1.2,1.3 check_mysql.c,1.2,1.3 check_nagios.c,1.3,1.4 check_nwstat.c,1.3,1.4 check_overcr.c,1.1.1.1,1.2 check_pgsql.c,1.3,1.4 check_ping.c,1.10,1.11 check_procs.c,1.5,1.6 check_radius.c,1.2,1.3 check_real.c,1.2,1.3 check_smtp.c,1.8,1.9 check_snmp.c,1.20,1.21 check_ssh.c,1.3,1.4 check_swap.c,1.6,1.7 check_tcp.c,1.10,1.11 check_time.c,1.3,1.4 check_udp.c,1.2,1.3 check_ups.c,1.5,1.6 check_users.c,1.2,1.3 check_vsz.c,1.4,1.5 negate.c,1.3,1.4 urlize.c,1.4,1.5 utils.c,1.14,1.15 utils.h.in,1.7,1.8
- Next message: [Nagiosplug-checkins] CVS: nagiosplug/plugins check_by_ssh.c,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/nagiosplug/nagiosplug/contrib
In directory sc8-pr-cvs1:/tmp/cvs-serv19827
Modified Files:
check_dhcp.c check_fping_in.c check_rbl.c
Log Message:
convert PROGANE from a define to a const char
Index: check_dhcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/contrib/check_dhcp.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** check_dhcp.c 1 Mar 2002 02:42:56 -0000 1.2
--- check_dhcp.c 13 Jan 2003 12:21:51 -0000 1.3
***************
*** 43,47 ****
#include <netdb.h>
! #define PROGNAME "check_dhcp"
/*#define DEBUG*/
--- 43,47 ----
#include <netdb.h>
! const char *progname = "check_dhcp";
/*#define DEBUG*/
***************
*** 811,815 ****
void print_help(void){
! /*print_revision(PROGNAME,"$Revision$");*/
printf("Copyright (c) 2001-2002 Ethan Galstad (nagios at nagios.org)\n\n");
--- 811,815 ----
void print_help(void){
! /*print_revision(progname,"$Revision$");*/
printf("Copyright (c) 2001-2002 Ethan Galstad (nagios at nagios.org)\n\n");
***************
*** 845,851 ****
void print_usage(void){
! printf("Usage: %s [-s serverip] [-r requestedip] [-t timeout] [-i interface]\n",PROGNAME);
! printf(" %s --help\n",PROGNAME);
! printf(" %s --version\n",PROGNAME);
return;
--- 845,851 ----
void print_usage(void){
! printf("Usage: %s [-s serverip] [-r requestedip] [-t timeout] [-i interface]\n",progname);
! printf(" %s --help\n",progname);
! printf(" %s --version\n",progname);
return;
***************
*** 963,967 ****
case 'V': /* version */
! /*print_revision(PROGNAME,"$Revision$");*/
exit(STATE_OK);
--- 963,967 ----
case 'V': /* version */
! /*print_revision(progname,"$Revision$");*/
exit(STATE_OK);
Index: check_fping_in.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/contrib/check_fping_in.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** check_fping_in.c 28 Feb 2002 06:42:53 -0000 1.1.1.1
--- check_fping_in.c 13 Jan 2003 12:21:51 -0000 1.2
***************
*** 36,40 ****
#include "utils.h"
! #define PROGNAME "check_fping"
#define PACKET_COUNT 15
#define PACKET_SIZE 56
--- 36,40 ----
#include "utils.h"
! const char *progname = "check_fping_in";
#define PACKET_COUNT 15
#define PACKET_SIZE 56
***************
*** 380,384 ****
void print_usage(void)
{
! printf("Usage: %s <host_address> <host_address> [<host_address>] ...\n",PROGNAME);
}
--- 380,384 ----
void print_usage(void)
{
! printf("Usage: %s <host_address> <host_address> [<host_address>] ...\n",progname);
}
***************
*** 390,394 ****
{
! print_revision(PROGNAME,"$Revision$");
printf
--- 390,394 ----
{
! print_revision(progname,"$Revision$");
printf
Index: check_rbl.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/contrib/check_rbl.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** check_rbl.c 25 Jun 2002 21:32:54 -0000 1.1
--- check_rbl.c 13 Jan 2003 12:21:51 -0000 1.2
***************
*** 22,26 ****
#include "string.h"
! #define PROGNAME "check_rbl"
int process_arguments(int, char **);
--- 22,26 ----
#include "string.h"
! const char progname = "check_rbl";
int process_arguments(int, char **);
***************
*** 261,265 ****
break;
case 'V': /* version */
! print_revision(PROGNAME,"$Revision$");
exit(STATE_OK);
case 'h': /* help */
--- 261,265 ----
break;
case 'V': /* version */
! print_revision(progname,"$Revision$");
exit(STATE_OK);
case 'h': /* help */
***************
*** 291,295 ****
void print_help(void)
{
! print_revision(PROGNAME,"$Revision$");
printf
("Copyright (c) 2000 Karl DeBisschop\n\n"
--- 291,295 ----
void print_help(void)
{
! print_revision(progname,"$Revision$");
printf
("Copyright (c) 2000 Karl DeBisschop\n\n"
***************
*** 326,329 ****
" %s --help\n"
" %s --version\n",
! PROGNAME,PROGNAME,PROGNAME);
}
--- 326,329 ----
" %s --help\n"
" %s --version\n",
! progname, progname, progname);
}
- Previous message: [Nagiosplug-checkins] CVS: nagiosplug/plugins check_by_ssh.c,1.6,1.7 check_dig.c,1.7,1.8 check_disk.c,1.6,1.7 check_dns.c,1.5,1.6 check_dummy.c,1.1.1.1,1.2 check_fping.c,1.3,1.4 check_hpjd.c,1.5,1.6 check_http.c,1.13,1.14 check_ldap.c,1.2,1.3 check_load.c,1.4,1.5 check_mrtg.c,1.3,1.4 check_mrtgtraf.c,1.2,1.3 check_mysql.c,1.2,1.3 check_nagios.c,1.3,1.4 check_nwstat.c,1.3,1.4 check_overcr.c,1.1.1.1,1.2 check_pgsql.c,1.3,1.4 check_ping.c,1.10,1.11 check_procs.c,1.5,1.6 check_radius.c,1.2,1.3 check_real.c,1.2,1.3 check_smtp.c,1.8,1.9 check_snmp.c,1.20,1.21 check_ssh.c,1.3,1.4 check_swap.c,1.6,1.7 check_tcp.c,1.10,1.11 check_time.c,1.3,1.4 check_udp.c,1.2,1.3 check_ups.c,1.5,1.6 check_users.c,1.2,1.3 check_vsz.c,1.4,1.5 negate.c,1.3,1.4 urlize.c,1.4,1.5 utils.c,1.14,1.15 utils.h.in,1.7,1.8
- Next message: [Nagiosplug-checkins] CVS: nagiosplug/plugins check_by_ssh.c,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list