<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:doc="http://www.gtk.org/introspection/doc/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GLib" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <package name="libconsolekit-1.0"/>
  <doc:format name="unknown"/>
  <namespace name="libconsolekit"
             version="1.0"
             shared-library="libconsolekit.so.0.1"
             c:identifier-prefixes="Lib"
             c:symbol-prefixes="lib_,sd_">
    <function-macro name="CONSOLEKIT"
                    c:identifier="LIB_CONSOLEKIT"
                    introspectable="0">
      <source-position filename="libconsolekit.h" line="36"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CONSOLEKIT_CLASS"
                    c:identifier="LIB_CONSOLEKIT_CLASS"
                    introspectable="0">
      <source-position filename="libconsolekit.h" line="37"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CONSOLEKIT_GET_CLASS"
                    c:identifier="LIB_CONSOLEKIT_GET_CLASS"
                    introspectable="0">
      <source-position filename="libconsolekit.h" line="40"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <class name="ConsoleKit"
           c:symbol-prefix="consolekit"
           c:type="LibConsoleKit"
           parent="GObject.Object"
           glib:type-name="LibConsoleKit"
           glib:get-type="lib_consolekit_get_type"
           glib:type-struct="ConsoleKitClass">
      <doc xml:space="preserve"
           filename="libconsolekit.c"
           line="50">A #LibConsoleKit provides a way to easily query information from the ConsoleKit
daemon.</doc>
      <source-position filename="libconsolekit.h" line="48"/>
      <constructor name="new"
                   c:identifier="lib_consolekit_new"
                   version="1.0"
                   introspectable="0">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="116">Creates and returns a new instance of #LibConsoleKit.</doc>
        <source-position filename="libconsolekit.h" line="69"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="121">a new instance of #LibConsoleKit.</doc>
          <type name="ConsoleKit" c:type="LibConsoleKit*"/>
        </return-value>
      </constructor>
      <function name="error_quark" c:identifier="lib_consolekit_error_quark">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="77">Registers an error quark for #LibConsoleKit if necessary.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="82">the error quark used for #LibConsoleKit errors.</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
      <method name="get_sessions"
              c:identifier="lib_consolekit_get_sessions"
              throws="1">
        <source-position filename="libconsolekit.h" line="163"/>
        <return-value transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="sessions" transfer-ownership="none">
            <type name="utf8" c:type="gchar***"/>
          </parameter>
        </parameters>
      </method>
      <method name="pid_get_session"
              c:identifier="lib_consolekit_pid_get_session"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="1584">Returns the session the pid belongs to, if any.
Free the session string with g_free when finished.</doc>
        <source-position filename="libconsolekit.h" line="144"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="1594">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1586">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="pid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1587">process to query</doc>
            <type name="pid_t" c:type="pid_t"/>
          </parameter>
          <parameter name="session"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1588">The session the pid belongs to</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="pid_get_sessions"
              c:identifier="lib_consolekit_pid_get_sessions"
              throws="1">
        <source-position filename="libconsolekit.h" line="151"/>
        <return-value transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="pid" transfer-ownership="none">
            <type name="pid_t" c:type="pid_t"/>
          </parameter>
          <parameter name="sessions" transfer-ownership="none">
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="seat_can_multi_session"
              c:identifier="lib_consolekit_seat_can_multi_session"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="464">Returns whether the provided seat is capable of holding multiple sessions
at any given time.</doc>
        <source-position filename="libconsolekit.h" line="82"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="473">TRUE if capable of multiple sessions.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="466">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="seat" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="467">The seat to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="seat_get_active"
              c:identifier="lib_consolekit_seat_get_active"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="136">Returns the session and uid of the user who has the active session on
the seat, if any session is active. Free the session with g_free when
done.</doc>
        <source-position filename="libconsolekit.h" line="71"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="148">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="138">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="seat" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="139">The seat to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="session"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="140">The active session, if any</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
          <parameter name="uid"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="141">The unix user the session belongs to</doc>
            <type name="uid_t" c:type="uid_t*"/>
          </parameter>
        </parameters>
      </method>
      <method name="seat_get_sessions"
              c:identifier="lib_consolekit_seat_get_sessions"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="380">Returns the sessions on the seat. Free the sessions with g_strfreev when done.</doc>
        <source-position filename="libconsolekit.h" line="77"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="389">The number of sessions returned or -1 on failure</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="382">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="seat" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="383">The seat to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="sessions"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="384">The sessions on the seat, if any</doc>
            <array c:type="gchar***">
              <type name="utf8" c:type="gchar**"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="session_get_class"
              c:identifier="lib_consolekit_session_get_class"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="1038">Returns the class of the provided session. The following classes
may be returned:
"user"        - A normal user session, the default
"greeter"     - Display Manager pseudo session
"lock-screen" - Screensaver based session
"background"  - A long running background process that requires its own session

Note: Additional classes may be added in the future. Free the session_class
string with g_free.</doc>
        <source-position filename="libconsolekit.h" line="109"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="1055">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1040">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1041">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="session_class"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1042">The session's class</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_get_display"
              c:identifier="lib_consolekit_session_get_display"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="1221">Returns the display the session has, if any. Free the display string
with g_free when finished.</doc>
        <source-position filename="libconsolekit.h" line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="1231">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1223">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1224">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="display"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1225">The X11 display the session owns</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_get_remote_host"
              c:identifier="lib_consolekit_session_get_remote_host"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="1306">Returns the hostname of the remote session the session has, if any.
Free the remote_host string with g_free when finished.</doc>
        <source-position filename="libconsolekit.h" line="124"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="1316">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1308">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1309">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="remote_host"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1310">The remote hostname, if any</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_get_seat"
              c:identifier="lib_consolekit_session_get_seat"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="775">Returns the seat the session belongs to. Free the seat string
with g_free when finished.</doc>
        <source-position filename="libconsolekit.h" line="99"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="785">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="777">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="778">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="seat"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="779">The seat the session belongs to</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_get_service"
              c:identifier="lib_consolekit_session_get_service"
              version="1.2.4"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="860">Returns the service of the provided session. Defaults to:
"unspecified" - Unknown session service.</doc>
        <source-position filename="libconsolekit.h" line="129"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="870">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="862">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="863">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="service"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="864">The session's service</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_get_state"
              c:identifier="lib_consolekit_session_get_state"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="1130">Returns the current state of the provided session. The following states
may be returned:
"online"      - Session is logged in but not active
"active"      - Session is logged in and active
"closing"     - Session is in the process of shutting down

Note: Additional states may be added in the future. Free the state
string with g_free.</doc>
        <source-position filename="libconsolekit.h" line="114"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="1146">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1132">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1133">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="state"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1134">The session's state</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_get_tty"
              c:identifier="lib_consolekit_session_get_tty"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="1391">Returns the tty the session has, if any.
Free the tty string with g_free when finished.</doc>
        <source-position filename="libconsolekit.h" line="134"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="1401">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1393">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1394">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="tty"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1395">The tty attached to the session</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_get_type"
              c:identifier="lib_consolekit_session_get_type"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="945">Returns the display type of the provided session. The following types
may be returned:
"x11"         - An X11/Xorg based session
"wayland"     - A Wayland based session
"tty"         - A text console based session
"mir"         - A session using the Mir display server
"unspecified" - Unknown session type.

Note: Additional types may be added in the future. Free the type
string with g_free.</doc>
        <source-position filename="libconsolekit.h" line="104"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="963">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="947">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="948">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="949">The session's display type</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_get_uid"
              c:identifier="lib_consolekit_session_get_uid"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="691">Returns the unix user who owns the session.</doc>
        <source-position filename="libconsolekit.h" line="94"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="700">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="693">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="694">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="uid"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="695">unix-user who owns the session</doc>
            <type name="uid_t" c:type="uid_t*"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_get_vt"
              c:identifier="lib_consolekit_session_get_vt"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="1500">Returns the VT the session is on, if any.</doc>
        <source-position filename="libconsolekit.h" line="139"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="1509">TRUE on Success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1502">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1503">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="vt"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="1504">The VT of the session, if any</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_is_active"
              c:identifier="lib_consolekit_session_is_active"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="540">Returns whether the provided session is active.</doc>
        <source-position filename="libconsolekit.h" line="86"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="548">TRUE if the session is active.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="542">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="543">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="session_is_remote"
              c:identifier="lib_consolekit_session_is_remote"
              version="1.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libconsolekit.c"
             line="615">Returns whether the provided session is remote.</doc>
        <source-position filename="libconsolekit.h" line="90"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libconsolekit.c"
               line="623">TRUE if the session is remote, FALSE if local. Defaults to TRUE on error.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="617">A #LibConsoleKit</doc>
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="session" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libconsolekit.c"
                 line="618">The session to query</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="uid_get_sessions"
              c:identifier="lib_consolekit_uid_get_sessions"
              throws="1">
        <source-position filename="libconsolekit.h" line="157"/>
        <return-value transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="ck" transfer-ownership="none">
            <type name="ConsoleKit" c:type="LibConsoleKit*"/>
          </instance-parameter>
          <parameter name="uid" transfer-ownership="none">
            <type name="uid_t" c:type="uid_t"/>
          </parameter>
          <parameter name="sessions" transfer-ownership="none">
            <type name="utf8" c:type="gchar***"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="ConsoleKitClass"
            c:type="LibConsoleKitClass"
            glib:is-gtype-struct-for="ConsoleKit">
      <source-position filename="libconsolekit.h" line="48"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="ConsoleKitError" c:type="LibConsoleKitError">
      <doc xml:space="preserve"
           filename="libconsolekit.h"
           line="50">Describes errors that may result from operations involving a #LibConsoleKit.</doc>
      <source-position filename="libconsolekit.h" line="62"/>
      <member name="failed" value="0" c:identifier="CONSOLEKIT_ERROR_FAILED">
        <doc xml:space="preserve"
             filename="libconsolekit.h"
             line="52">unknown or unclassified error</doc>
      </member>
      <member name="invalid_input"
              value="1"
              c:identifier="CONSOLEKIT_ERROR_INVALID_INPUT">
        <doc xml:space="preserve"
             filename="libconsolekit.h"
             line="53">the variable passed into the calling function is invalid.</doc>
      </member>
    </enumeration>
    <function-macro name="IS_CONSOLEKIT"
                    c:identifier="LIB_IS_CONSOLEKIT"
                    introspectable="0">
      <source-position filename="libconsolekit.h" line="38"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_CONSOLEKIT_CLASS"
                    c:identifier="LIB_IS_CONSOLEKIT_CLASS"
                    introspectable="0">
      <source-position filename="libconsolekit.h" line="39"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function name="get_sessions" c:identifier="sd_get_sessions">
      <source-position filename="sd-login.h" line="18"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="sessions" transfer-ownership="none">
          <type name="utf8" c:type="char***"/>
        </parameter>
      </parameters>
    </function>
    <function name="pid_get_session" c:identifier="sd_pid_get_session">
      <source-position filename="sd-login.h" line="10"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="pid" transfer-ownership="none">
          <type name="pid_t" c:type="pid_t"/>
        </parameter>
        <parameter name="session" transfer-ownership="none">
          <type name="utf8" c:type="char**"/>
        </parameter>
      </parameters>
    </function>
    <function name="seat_can_graphical" c:identifier="sd_seat_can_graphical">
      <source-position filename="sd-login.h" line="14"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="seat" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
      </parameters>
    </function>
    <function name="seat_can_multi_session"
              c:identifier="sd_seat_can_multi_session">
      <source-position filename="sd-login.h" line="15"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="seat" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
      </parameters>
    </function>
    <function name="seat_get_sessions" c:identifier="sd_seat_get_sessions">
      <source-position filename="sd-login.h" line="16"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="seat" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="sessions" transfer-ownership="none">
          <type name="utf8" c:type="char***"/>
        </parameter>
        <parameter name="uid" transfer-ownership="none">
          <type name="uid_t" c:type="uid_t**"/>
        </parameter>
        <parameter name="n_uids" transfer-ownership="none">
          <type name="guint" c:type="unsigned int*"/>
        </parameter>
      </parameters>
    </function>
    <function name="session_get_class" c:identifier="sd_session_get_class">
      <source-position filename="sd-login.h" line="3"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="session" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="class" transfer-ownership="none">
          <type name="utf8" c:type="char**"/>
        </parameter>
      </parameters>
    </function>
    <function name="session_get_seat" c:identifier="sd_session_get_seat">
      <source-position filename="sd-login.h" line="4"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="session" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="seat" transfer-ownership="none">
          <type name="utf8" c:type="char**"/>
        </parameter>
      </parameters>
    </function>
    <function name="session_get_service" c:identifier="sd_session_get_service">
      <source-position filename="sd-login.h" line="8"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="session" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="service" transfer-ownership="none">
          <type name="utf8" c:type="char**"/>
        </parameter>
      </parameters>
    </function>
    <function name="session_get_state" c:identifier="sd_session_get_state">
      <source-position filename="sd-login.h" line="6"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="session" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="state" transfer-ownership="none">
          <type name="utf8" c:type="char**"/>
        </parameter>
      </parameters>
    </function>
    <function name="session_get_type" c:identifier="sd_session_get_type">
      <source-position filename="sd-login.h" line="5"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="session" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="type" transfer-ownership="none">
          <type name="utf8" c:type="char**"/>
        </parameter>
      </parameters>
    </function>
    <function name="session_get_uid" c:identifier="sd_session_get_uid">
      <source-position filename="sd-login.h" line="7"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="session" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="uid" transfer-ownership="none">
          <type name="uid_t" c:type="uid_t*"/>
        </parameter>
      </parameters>
    </function>
    <function name="session_is_remote" c:identifier="sd_session_is_remote">
      <source-position filename="sd-login.h" line="20"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="session" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
      </parameters>
    </function>
    <function name="uid_get_sessions" c:identifier="sd_uid_get_sessions">
      <source-position filename="sd-login.h" line="12"/>
      <return-value transfer-ownership="none">
        <type name="gint" c:type="int"/>
      </return-value>
      <parameters>
        <parameter name="uid" transfer-ownership="none">
          <type name="uid_t" c:type="uid_t"/>
        </parameter>
        <parameter name="require_active" transfer-ownership="none">
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="sessions" transfer-ownership="none">
          <type name="utf8" c:type="char***"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>
