diff options
| author | Christian Rößler | 2013-06-25 14:21:58 +0200 |
|---|---|---|
| committer | Christian Rößler | 2013-06-25 14:21:58 +0200 |
| commit | a6b4ce21d53013af61d341bf91ebad032ecc33bb (patch) | |
| tree | 6c3362cc5166e38b7620e53c9e6a3f64708efaba /remote/post-patch | |
| parent | Better detection of pango-querymodules/pango-querymodules-64 in case of 64bit OS (diff) | |
| parent | [pam] Remove required files which cannot be found (diff) | |
| download | tm-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.c | 55 |
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; +} + |
