Exemple #1
0
/*
  display any protocol tower
 */
static void display_tower(TALLOC_CTX *mem_ctx, struct epm_tower *twr)
{
	int i;

	for (i=0;i<twr->num_floors;i++) {
		printf(" %s", epm_floor_string(mem_ctx, &twr->floors[i]));
	}
	printf("\n");
}
Exemple #2
0
/*
  display any protocol tower
 */
static void display_tower(struct torture_context *tctx, struct epm_tower *twr)
{
	int i;

	for (i = 0; i < twr->num_floors; i++) {
		torture_comment(tctx,
				" %s",
				epm_floor_string(tctx, &twr->floors[i]));
	}
	torture_comment(tctx, "\n");
}