summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2008-07-22 17:23:59 -0400
committerWilliam Jon McCann <jmccann@redhat.com>2008-07-22 17:23:59 -0400
commit25546d381557f5da8dd8db54c857442193c5340b (patch)
tree127107bb3a9fc57caa27c8b4facc6c6c9ecec15d
parentf0dbc3ee0c8fb53f2b9eed000d72fb923a83a474 (diff)
regenerate the docs and xml from the spec
-rw-r--r--doc/xml/ref-ck-session.xml6
-rw-r--r--src/ck-session.xml3
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/xml/ref-ck-session.xml b/doc/xml/ref-ck-session.xml
index 80b9041..2b50ed2 100644
--- a/doc/xml/ref-ck-session.xml
+++ b/doc/xml/ref-ck-session.xml
@@ -17,6 +17,7 @@
<link linkend="Session.GetX11DisplayDevice">GetX11DisplayDevice</link> (out 's' x11_display_device)
<link linkend="Session.GetDisplayDevice">GetDisplayDevice</link> (out 's' display_device)
<link linkend="Session.GetRemoteHostName">GetRemoteHostName</link> (out 's' remote_host_name)
+<link linkend="Session.GetLoginSessionId">GetLoginSessionId</link> (out 's' login_session_id)
<link linkend="Session.IsActive">IsActive</link> (out 'b' active)
<link linkend="Session.IsLocal">IsLocal</link> (out 'b' local)
<link linkend="Session.GetCreationTime">GetCreationTime</link> (out 's' iso8601_datetime)
@@ -108,7 +109,10 @@ See also:
</para>
<variablelist role="params"><varlistentry><term><parameter>remote_host_name</parameter>:</term><listitem><simpara>The remote host name</simpara></listitem></varlistentry></variablelist><para>
See also:
-<link linkend="Session:remote-host-name"><literal>remote-host-name</literal></link></para><refsect2><title><anchor role="function" id="Session.IsActive"/>IsActive ()</title><indexterm><primary>IsActive</primary><secondary>Session</secondary></indexterm><programlisting>IsActive (out 'b' active)</programlisting></refsect2><para>Returns whether the session is active on the Seat that
+<link linkend="Session:remote-host-name"><literal>remote-host-name</literal></link></para><refsect2><title><anchor role="function" id="Session.GetLoginSessionId"/>GetLoginSessionId ()</title><indexterm><primary>GetLoginSessionId</primary><secondary>Session</secondary></indexterm><programlisting>GetLoginSessionId (out 's' login_session_id)</programlisting></refsect2><para>Returns the value of the login session ID that the
+ underlying system uses to enforce session boundaries. If there is no login session ID
+ set then this value is an empty string.</para>
+ <variablelist role="params"><varlistentry><term><parameter>login_session_id</parameter>:</term><listitem><simpara>The value of the native system login session ID</simpara></listitem></varlistentry></variablelist><refsect2><title><anchor role="function" id="Session.IsActive"/>IsActive ()</title><indexterm><primary>IsActive</primary><secondary>Session</secondary></indexterm><programlisting>IsActive (out 'b' active)</programlisting></refsect2><para>Returns whether the session is active on the Seat that
it is attached to.</para>
<para>If the session is not attached to a seat this value is undefined.
</para>
diff --git a/src/ck-session.xml b/src/ck-session.xml
index 28b0e52..f2c1ef2 100644
--- a/src/ck-session.xml
+++ b/src/ck-session.xml
@@ -28,6 +28,9 @@
<method name="GetRemoteHostName">
<arg name="remote_host_name" direction="out" type="s"/>
</method>
+ <method name="GetLoginSessionId">
+ <arg name="login_session_id" direction="out" type="s"/>
+ </method>
<method name="IsActive">
<arg name="active" direction="out" type="b"/>
</method>