예제 #1
0
파일: list.c 프로젝트: pablodav/burp
static void list_item(enum action act, struct sbuf *sb)
{
	if(act==ACTION_LIST_LONG)
	{
		ls_long_output(sb);
	}
	else
	{
		ls_short_output(sb);
	}
}
예제 #2
0
파일: list.c 프로젝트: Kalimeiro/burp
static void list_item(int json, enum action act, struct sbuf *sb)
{
	if(act==ACTION_LONG_LIST)
	{
		if(json) ls_long_output_json(sb);
		else ls_long_output(sb);
	}
	else
	{
		if(json) ls_short_output_json(sb);
		else ls_short_output(sb);
	}
}