mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-gtk
synced 2025-12-26 14:18:38 +00:00
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ů <jjanku@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
f524f87552
commit
4b9092b96b
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user