Beispiel #1
0
int
main(int argc, char *argv[])
{
	list_init (&msg_log_head);
	list_init (&config_chg_log_head);

	if (NSS_NoDB_Init(".") != SECSuccess) {
		qb_log(LOG_ERR, "Couldn't initialize nss");
		exit (0);
	}

	if ((sha1_context = PK11_CreateDigestContext(SEC_OID_SHA1)) == NULL) {
		qb_log(LOG_ERR, "Couldn't initialize nss");
		exit (0);
	}

	return test_agent_run ("cpg_test_agent", 9034, do_command, my_pre_exit);
}
int
main (int argc, char *argv[])
{
	return test_agent_run ("sam_test_agent", 9036, do_command, NULL);
}
int
main(int argc, char *argv[])
{
	return test_agent_run ("quorum_test_agent", 9037, do_command, my_pre_exit);
}