Commit 4b9092b9 authored by Jakub Janků's avatar Jakub Janků Committed by Frediano Ziglio
Browse files

session: make spice_session_get_webdav_server() public



It will be necessary to access the webdav server from spice-gtk-session.c
which isn't compiled with spice-session-priv.h, so make
spice_session_get_webdav_server() public.
Signed-off-by: Jakub Janků's avatarJakub Janků <jjanku@redhat.com>
Acked-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
parent f524f875
......@@ -144,6 +144,7 @@ spice_session_new;
spice_session_open_fd;
spice_session_verify_get_type;
spice_set_session_option;
spice_session_get_webdav_server;
spice_smartcard_channel_get_type;
spice_smartcard_manager_get;
spice_smartcard_manager_get_readers;
......
......@@ -123,6 +123,7 @@ spice_session_new
spice_session_open_fd
spice_session_verify_get_type
spice_set_session_option
spice_session_get_webdav_server
spice_smartcard_channel_get_type
spice_smartcard_manager_get
spice_smartcard_manager_get_readers
......
......@@ -87,7 +87,6 @@ gboolean spice_session_get_smartcard_enabled(SpiceSession *session);
gboolean spice_session_get_usbredir_enabled(SpiceSession *session);
gboolean spice_session_get_gl_scanout_enabled(SpiceSession *session);
PhodavServer *spice_session_get_webdav_server(SpiceSession *session);
guint spice_session_get_n_display_channels(SpiceSession *session);
gboolean spice_session_set_migration_session(SpiceSession *session, SpiceSession *mig_session);
SpiceAudio *spice_audio_get(SpiceSession *session, GMainContext *context);
......
......@@ -2796,7 +2796,6 @@ gboolean spice_session_get_smartcard_enabled(SpiceSession *session)
return session->priv->smartcard;
}
G_GNUC_INTERNAL
PhodavServer* spice_session_get_webdav_server(SpiceSession *session)
{
SpiceSessionPrivate *priv;
......
......@@ -36,6 +36,8 @@ G_BEGIN_DECLS
#define SPICE_IS_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_SESSION))
#define SPICE_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_SESSION, SpiceSessionClass))
typedef struct _PhodavServer PhodavServer;
/**
* SpiceSessionVerify:
* @SPICE_SESSION_VERIFY_PUBKEY: verify certificate public key matching
......@@ -113,6 +115,7 @@ gboolean spice_session_has_channel_type(SpiceSession *session, gint type);
gboolean spice_session_get_read_only(SpiceSession *session);
SpiceURI *spice_session_get_proxy_uri(SpiceSession *session);
gboolean spice_session_is_for_migration(SpiceSession *session);
PhodavServer *spice_session_get_webdav_server(SpiceSession *session);
G_END_DECLS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment