X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fmanager.h;h=22730d21767cb3d79ef99e952a6e6031504bbb93;hp=4b405d61c1236cf7259be7778c9c59d019794bac;hb=31a5f880cf7a742e63a81bacef681939ee4e6616;hpb=72bc8d005654ad30838edfe9373109a49cc29448 diff --git a/src/manager.h b/src/manager.h index 4b405d61c..22730d217 100644 --- a/src/manager.h +++ b/src/manager.h @@ -102,7 +102,7 @@ struct Manager { /* To make it easy to iterate through the units of a specific * type we maintain a per type linked list */ - LIST_HEAD(Meta, units_per_type[_UNIT_TYPE_MAX]); + LIST_HEAD(Meta, units_by_type[_UNIT_TYPE_MAX]); /* Units that need to be loaded */ LIST_HEAD(Meta, load_queue); /* this is actually more a stack than a queue, but uh. */ @@ -223,7 +223,8 @@ struct Manager { ExecOutput default_std_output, default_std_error; - int n_deserializing; + /* non-zero if we are reloading or reexecuting, */ + int n_reloading; unsigned n_installed_jobs; unsigned n_failed_jobs;