コード例 #1
0
ファイル: load-git.c プロジェクト: JianchunMei/subsurface
static void parse_settings_autogroup(char *line, struct membuffer *str, void *_unused)
{
	(void) line;
	(void) str;
	(void) _unused;
	set_autogroup(1);
}
コード例 #2
0
ファイル: parse-xml.c プロジェクト: syuxue/subsurface
static void try_to_match_autogroup(const char *name, char *buf)
{
	int len = strlen(name);
	int autogroupvalue;

	start_match("autogroup", name, buf);
	if (MATCH(".autogroup.state", get_index, &autogroupvalue)) {
		set_autogroup(autogroupvalue);
		return;
	}
	nonmatch("autogroup", name, buf);
}