Sha256: b0cb27668b288328ed0cfbf37138ac6408d199972bc11f7714a15edbd43ddc3b

Contents?: true

Size: 277 Bytes

Versions: 12

Compression:

Stored size: 277 Bytes

Contents

#include <stdio.h>
#include "watchdog.h"

extern int wd_is_upper_ok(char * server_list);

int
main(int argc,char * argv[])
{
	int rtn;
	rtn = wd_is_upper_ok(argv[1]);
	if (rtn == WD_OK)
	{
		printf("%s is ok",argv[1]);
	}
	else
	{
		printf("%s is ng",argv[1]);
	}
	return 0;
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
prestogres-0.4.8 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.4.7 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.4.6 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.4.5 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.4.4 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.4.3 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.4.2 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.4.1 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.4.0 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.3.0 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.2.0 pgpool2/watchdog/test/wd_ping_t.c
prestogres-0.1.0 pgpool2/watchdog/test/wd_ping_t.c