summaryrefslogtreecommitdiff
path: root/src/daemon.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-04-11 14:33:57 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-04-11 14:33:57 -0400
commit7d93d097d8a3a6a6fd5bfd0aa362665befaacdf2 (patch)
treee3beb6165b531dce88af7392b350e44d56509074 /src/daemon.h
parent5025a7b0650408432f157f64dc1144267c3c5111 (diff)
Add a 'system-account' property to users
Even though ListCachedUsers filters out these users, they can still show up on the client-side, e.g. via UserAdded signals. Adding a boolean property to mark them as system accounts lets us filter them them out without regetting the entire list all the time.
Diffstat (limited to 'src/daemon.h')
-rw-r--r--src/daemon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon.h b/src/daemon.h
index ff90de3..79d9021 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -75,6 +75,9 @@ User *daemon_local_find_user_by_id (Daemon *daemon,
uid_t uid);
User *daemon_local_find_user_by_name (Daemon *daemon,
const gchar *name);
+gboolean daemon_local_user_is_excluded (Daemon *daemon,
+ const gchar *name,
+ uid_t uid);
typedef void (*AuthorizedCallback) (Daemon *daemon,
User *user,