diff options
author | William Jon McCann <jmccann@redhat.com> | 2008-06-11 12:00:03 -0400 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2008-06-11 12:00:03 -0400 |
commit | bab014f7f827c0d5306d029d08bf234b7a452282 (patch) | |
tree | 17f4001d6713335c09177849a24ec7bf2289efed /doc | |
parent | 25663a88377d76f9e722635bec96627ed0db4e43 (diff) | |
download | ConsoleKit2-bab014f7f827c0d5306d029d08bf234b7a452282.tar.gz |
fix UnixUser to be uint
Pointed out by Lennart Poettering
Diffstat (limited to 'doc')
-rw-r--r-- | doc/spec/ck-session.xml | 4 | ||||
-rw-r--r-- | doc/xml/ref-ck-session.xml | 8 |
2 files changed, 6 insertions, 6 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 @@ </doc:doc> </method> <method name="GetUser"> - <arg name="uid" direction="out" type="i"> + <arg name="uid" direction="out" type="u"> <doc:doc> <doc:summary>User ID</doc:summary> </doc:doc> @@ -66,7 +66,7 @@ </doc:doc> </method> <method name="GetUnixUser"> - <arg name="uid" direction="out" type="i"> + <arg name="uid" direction="out" type="u"> <doc:doc> <doc:summary>POSIX User ID</doc:summary> </doc:doc> 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 @@ <synopsis><link linkend="Session.GetId">GetId</link> (out 'o' ssid) <link linkend="Session.GetSeatId">GetSeatId</link> (out 'o' sid) <link linkend="Session.GetSessionType">GetSessionType</link> (out 's' type) -<link linkend="Session.GetUser">GetUser</link> (out 'i' uid) -<link linkend="Session.GetUnixUser">GetUnixUser</link> (out 'i' uid) +<link linkend="Session.GetUser">GetUser</link> (out 'u' uid) +<link linkend="Session.GetUnixUser">GetUnixUser</link> (out 'u' uid) <link linkend="Session.GetX11Display">GetX11Display</link> (out 's' display) <link linkend="Session.GetX11DisplayDevice">GetX11DisplayDevice</link> (out 's' x11_display_device) <link linkend="Session.GetDisplayDevice">GetDisplayDevice</link> (out 's' display_device) @@ -82,13 +82,13 @@ See also: </para> <variablelist role="params"><varlistentry><term><parameter>type</parameter>:</term><listitem><simpara>Session type</simpara></listitem></varlistentry></variablelist><para> See also: -<link linkend="Session:session-type"><literal>session-type</literal></link></para><refsect2><title><anchor role="function" id="Session.GetUser"/>GetUser ()</title><indexterm><primary>GetUser</primary><secondary>Session</secondary></indexterm><programlisting>GetUser (out 'i' uid)</programlisting></refsect2><para>Returns the user that the session belongs to.</para> +<link linkend="Session:session-type"><literal>session-type</literal></link></para><refsect2><title><anchor role="function" id="Session.GetUser"/>GetUser ()</title><indexterm><primary>GetUser</primary><secondary>Session</secondary></indexterm><programlisting>GetUser (out 'u' uid)</programlisting></refsect2><para>Returns the user that the session belongs to.</para> <variablelist role="params"><varlistentry><term><parameter>uid</parameter>:</term><listitem><simpara>User ID</simpara></listitem></varlistentry></variablelist><para role="deprecated"><warning><para><literal>GetUser</literal> is deprecated since version 0.1.3 and should not be used in newly-written code. Use <link linkend="Session.GetUnixUser"><function>GetUnixUser</function></link> instead.</para></warning></para><para> See also: -<link linkend="Session:user"><literal>user</literal></link></para><refsect2><title><anchor role="function" id="Session.GetUnixUser"/>GetUnixUser ()</title><indexterm><primary>GetUnixUser</primary><secondary>Session</secondary></indexterm><programlisting>GetUnixUser (out 'i' uid)</programlisting></refsect2><para>Returns the POSIX user ID that the session belongs to.</para> +<link linkend="Session:user"><literal>user</literal></link></para><refsect2><title><anchor role="function" id="Session.GetUnixUser"/>GetUnixUser ()</title><indexterm><primary>GetUnixUser</primary><secondary>Session</secondary></indexterm><programlisting>GetUnixUser (out 'u' uid)</programlisting></refsect2><para>Returns the POSIX user ID that the session belongs to.</para> <variablelist role="params"><varlistentry><term><parameter>uid</parameter>:</term><listitem><simpara>POSIX User ID</simpara></listitem></varlistentry></variablelist><para> See also: <link linkend="Session:unix-user"><literal>unix-user</literal></link></para><refsect2><title><anchor role="function" id="Session.GetX11Display"/>GetX11Display ()</title><indexterm><primary>GetX11Display</primary><secondary>Session</secondary></indexterm><programlisting>GetX11Display (out 's' display)</programlisting></refsect2><para>Returns the value of the X11 DISPLAY for this session |