summaryrefslogtreecommitdiffstats
path: root/remote/post-patch
diff options
context:
space:
mode:
authorChristian Rößler2013-06-25 14:21:58 +0200
committerChristian Rößler2013-06-25 14:21:58 +0200
commita6b4ce21d53013af61d341bf91ebad032ecc33bb (patch)
tree6c3362cc5166e38b7620e53c9e6a3f64708efaba /remote/post-patch
parentBetter detection of pango-querymodules/pango-querymodules-64 in case of 64bit OS (diff)
parent[pam] Remove required files which cannot be found (diff)
downloadtm-scripts-a6b4ce21d53013af61d341bf91ebad032ecc33bb.tar.gz
tm-scripts-a6b4ce21d53013af61d341bf91ebad032ecc33bb.tar.xz
tm-scripts-a6b4ce21d53013af61d341bf91ebad032ecc33bb.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/post-patch')
-rw-r--r--remote/post-patch/ck-connector/fake-ck-connector.c55
1 files changed, 55 insertions, 0 deletions
diff --git a/remote/post-patch/ck-connector/fake-ck-connector.c b/remote/post-patch/ck-connector/fake-ck-connector.c
new file mode 100644
index 00000000..42fa1546
--- /dev/null
+++ b/remote/post-patch/ck-connector/fake-ck-connector.c
@@ -0,0 +1,55 @@
+#include <dbus/dbus.h>
+#include <sys/types.h>
+
+struct _CkConnector;
+typedef struct _CkConnector CkConnector;
+
+
+struct _CkConnector
+{
+ int refcount;
+ char *cookie;
+ dbus_bool_t session_created;
+ DBusConnection *connection;
+};
+
+void ck_connector_unref (CkConnector *connector)
+{
+ return;
+}
+
+CkConnector * ck_connector_ref (CkConnector *connector)
+{
+ return connector;
+}
+
+CkConnector * ck_connector_new (void)
+{
+ return (CkConnector*)1;
+}
+
+dbus_bool_t ck_connector_open_session (CkConnector *connector, DBusError *error)
+{
+ return 1;
+}
+
+dbus_bool_t ck_connector_open_session_with_parameters (CkConnector *connector, DBusError *error, const char *first_parameter_name, ...)
+{
+ return 1;
+}
+
+dbus_bool_t ck_connector_open_session_for_user (CkConnector *connector, uid_t user, const char *display_device, const char *x11_display, DBusError *error)
+{
+ return 1;
+}
+
+const char * ck_connector_get_cookie (CkConnector *connector)
+{
+ return NULL;
+}
+
+dbus_bool_t ck_connector_close_session (CkConnector *connector, DBusError *error)
+{
+ return 1;
+}
+