From bab014f7f827c0d5306d029d08bf234b7a452282 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 11 Jun 2008 12:00:03 -0400 Subject: fix UnixUser to be uint Pointed out by Lennart Poettering --- doc/spec/ck-session.xml | 4 ++-- doc/xml/ref-ck-session.xml | 8 ++++---- src/ck-session.xml | 7 ++----- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/doc/spec/ck-session.xml b/doc/spec/ck-session.xml index f531ead..7afd564 100644 --- a/doc/spec/ck-session.xml +++ b/doc/spec/ck-session.xml @@ -53,7 +53,7 @@ - + User ID @@ -66,7 +66,7 @@ - + POSIX User ID diff --git a/doc/xml/ref-ck-session.xml b/doc/xml/ref-ck-session.xml index 2d58625..80b9041 100644 --- a/doc/xml/ref-ck-session.xml +++ b/doc/xml/ref-ck-session.xml @@ -11,8 +11,8 @@ GetId (out 'o' ssid) GetSeatId (out 'o' sid) GetSessionType (out 's' type) -GetUser (out 'i' uid) -GetUnixUser (out 'i' uid) +GetUser (out 'u' uid) +GetUnixUser (out 'u' uid) GetX11Display (out 's' display) GetX11DisplayDevice (out 's' x11_display_device) GetDisplayDevice (out 's' display_device) @@ -82,13 +82,13 @@ See also: type:Session type See also: -session-type<anchor role="function" id="Session.GetUser"/>GetUser ()GetUserSessionGetUser (out 'i' uid)Returns the user that the session belongs to. +session-type<anchor role="function" id="Session.GetUser"/>GetUser ()GetUserSessionGetUser (out 'u' uid)Returns the user that the session belongs to. uid:User IDGetUser is deprecated since version 0.1.3 and should not be used in newly-written code. Use GetUnixUser instead. See also: -user<anchor role="function" id="Session.GetUnixUser"/>GetUnixUser ()GetUnixUserSessionGetUnixUser (out 'i' uid)Returns the POSIX user ID that the session belongs to. +user<anchor role="function" id="Session.GetUnixUser"/>GetUnixUser ()GetUnixUserSessionGetUnixUser (out 'u' uid)Returns the POSIX user ID that the session belongs to. uid:POSIX User ID See also: unix-user<anchor role="function" id="Session.GetX11Display"/>GetX11Display ()GetX11DisplaySessionGetX11Display (out 's' display)Returns the value of the X11 DISPLAY for this session diff --git a/src/ck-session.xml b/src/ck-session.xml index b42f30b..28b0e52 100644 --- a/src/ck-session.xml +++ b/src/ck-session.xml @@ -7,17 +7,14 @@ - - - - + - + -- cgit