From f975e971accc4d50c73ae53167db3df7a7099cf2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 1 Aug 2011 00:43:05 +0200 Subject: load-fragment: speed up parsing by using a perfect hash table with configuration settings built by gperf --- src/unit.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/unit.h') diff --git a/src/unit.h b/src/unit.h index 6893b689a9..3c99817390 100644 --- a/src/unit.h +++ b/src/unit.h @@ -263,6 +263,10 @@ union Unit { struct UnitVTable { const char *suffix; + /* Config file sections this unit type understands, separated + * by NUL chars */ + const char *sections; + /* This should reset all type-specific variables. This should * not allocate memory, and is called with zero-initialized * data. It should hence only initialize variables that need -- cgit v1.2.3-54-g00ecf