diff options
author | Cody Russell <crussell@canonical.com> | 2009-09-22 14:52:45 -0500 |
---|---|---|
committer | Cody Russell <crussell@canonical.com> | 2009-09-22 14:52:45 -0500 |
commit | 91c2993398771ca1ff5a65003c681724291d9e2f (patch) | |
tree | be53541fe414dd54cf004797adb0f98acc31ff09 /src/users-service-dbus.h | |
parent | 51bdf6d04ac6b98019c760c7f12f4315c09cdcb8 (diff) | |
download | ayatana-indicator-session-91c2993398771ca1ff5a65003c681724291d9e2f.tar.gz ayatana-indicator-session-91c2993398771ca1ff5a65003c681724291d9e2f.tar.bz2 ayatana-indicator-session-91c2993398771ca1ff5a65003c681724291d9e2f.zip |
dbus fu updates
Diffstat (limited to 'src/users-service-dbus.h')
-rw-r--r-- | src/users-service-dbus.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/users-service-dbus.h b/src/users-service-dbus.h index 5889aba..370df2e 100644 --- a/src/users-service-dbus.h +++ b/src/users-service-dbus.h @@ -38,10 +38,11 @@ typedef struct _UserData UserData; struct _UserData { - guint64 uid; + uid_t uid; gchar *user_name; gchar *real_name; gchar *shell; + gint login_count; gchar *icon_url; }; @@ -58,15 +59,16 @@ struct _UsersServiceDbusClass { void (* users_loaded) (UsersServiceDbus *self, gpointer user_data); - void (* user_added) (UsersServiceDbus *self, UserData *user, gpointer user_data); - void (* user_removed) (UsersServiceDbus *self, UserData *user, gpointer user_data); + void (* user_added) (UsersServiceDbus *self, gint64 uid, gpointer user_data); + void (* user_removed) (UsersServiceDbus *self, gint64 uid, gpointer user_data); void (* user_updated) (UsersServiceDbus *self, gint64 uid, gpointer user_data); }; GType users_service_dbus_get_type (void) G_GNUC_CONST; gint users_service_dbus_get_user_count (UsersServiceDbus *self); -GList *users_service_dbus_get_user_list (UsersServiceDbus *self); +GList *users_service_dbus_get_user_list (UsersServiceDbus *self); +gchar *users_service_dbus_get_error (UsersServiceDbus *self); G_END_DECLS |