X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fcgroup-attr.h;h=0f5b85489846c60c4403b1edd248027abd7683fa;hp=2b754eac405a45cdc8842cb230c50db35769dc57;hb=246aa6dd9dcea84bb945d16ec86e69f869dbb9b4;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/src/core/cgroup-attr.h b/src/core/cgroup-attr.h index 2b754eac4..0f5b85489 100644 --- a/src/core/cgroup-attr.h +++ b/src/core/cgroup-attr.h @@ -33,6 +33,8 @@ struct CGroupAttribute { char *name; char *value; + Unit *unit; + CGroupAttributeMapCallback map_callback; LIST_FIELDS(CGroupAttribute, by_unit); @@ -43,4 +45,5 @@ int cgroup_attribute_apply_list(CGroupAttribute *first, CGroupBonding *b); CGroupAttribute *cgroup_attribute_find_list(CGroupAttribute *first, const char *controller, const char *name); +void cgroup_attribute_free(CGroupAttribute *a); void cgroup_attribute_free_list(CGroupAttribute *first);