aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-error.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgamma-error.cc')
-rw-r--r--src/libgamma-error.cc15
1 files changed, 15 insertions, 0 deletions
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;
+
}