From 63afa1c6ca473abd17ce8eb0c546f051d6132616 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 4 Sep 2014 03:24:16 +0200 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libgamma-error.cc | 15 +++++++++++++++ src/libgamma-error.hh | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/libgamma-error.cc b/src/libgamma-error.cc index 7233584..1d5caaa 100644 --- a/src/libgamma-error.cc +++ b/src/libgamma-error.cc @@ -131,5 +131,20 @@ namespace libgamma return LibgammaException(error_code); } + + /** + * Group that the user needs to be a member of if + * `LIBGAMMA_DEVICE_REQUIRE_GROUP` is returned. + */ + GroupGid group_gid; + + /** + * Group that the user needs to be a member of if + * `LIBGAMMA_DEVICE_REQUIRE_GROUP` is returned, + * `nullptr` if the name of the group + * `libgamma::group_gid` cannot be determined. + */ + GroupName group_name; + } diff --git a/src/libgamma-error.hh b/src/libgamma-error.hh index b8e32c1..feb3e04 100644 --- a/src/libgamma-error.hh +++ b/src/libgamma-error.hh @@ -132,7 +132,7 @@ namespace libgamma } }; - /** + /** * Group that the user needs to be a member of if * `LIBGAMMA_DEVICE_REQUIRE_GROUP` is returned, * `nullptr` if the name of the group -- cgit v1.2.3-70-g09d2