![]() |
![]() |
![]() |
Spice-GTK Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <spice-client.h> const gchar * spice_uri_get_scheme (SpiceURI *uri
); void spice_uri_set_scheme (SpiceURI *uri
,const gchar *scheme
); const gchar * spice_uri_get_hostname (SpiceURI *uri
); void spice_uri_set_hostname (SpiceURI *uri
,const gchar *hostname
); guint spice_uri_get_port (SpiceURI *uri
); void spice_uri_set_port (SpiceURI *uri
,guint port
); const gchar * spice_uri_get_user (SpiceURI *uri
); void spice_uri_set_user (SpiceURI *uri
,const gchar *user
); const gchar * spice_uri_get_password (SpiceURI *uri
); void spice_uri_set_password (SpiceURI *uri
,const gchar *password
); gchar * spice_uri_to_string (SpiceURI *uri
); SpiceURIClass; SpiceURI;
const gchar * spice_uri_get_scheme (SpiceURI *uri
);
Gets uri
's scheme.
|
a SpiceURI |
Returns : |
uri 's scheme. |
Since 0.24
void spice_uri_set_scheme (SpiceURI *uri
,const gchar *scheme
);
Sets uri
's scheme to scheme
.
|
a SpiceURI |
|
the scheme |
Since 0.24
const gchar * spice_uri_get_hostname (SpiceURI *uri
);
Gets uri
's hostname.
|
a SpiceURI |
Returns : |
uri 's hostname. |
Since 0.24
void spice_uri_set_hostname (SpiceURI *uri
,const gchar *hostname
);
Sets uri
's hostname to hostname
.
|
a SpiceURI |
|
the hostname |
Since 0.24
guint spice_uri_get_port (SpiceURI *uri
);
Gets uri
's port.
|
a SpiceURI |
Returns : |
uri 's port. |
Since 0.24
void spice_uri_set_port (SpiceURI *uri
,guint port
);
Sets uri
's port to port
.
|
a SpiceURI |
|
the port |
Since 0.24
const gchar * spice_uri_get_user (SpiceURI *uri
);
Gets uri
's user.
|
a SpiceURI |
Returns : |
uri 's user. |
Since 0.24
void spice_uri_set_user (SpiceURI *uri
,const gchar *user
);
Sets uri
's user to user
.
|
a SpiceURI |
|
the user, or NULL . |
Since 0.24
const gchar * spice_uri_get_password (SpiceURI *uri
);
Gets uri
's password.
|
a SpiceURI |
Returns : |
uri 's password. |
Since 0.24
void spice_uri_set_password (SpiceURI *uri
,const gchar *password
);
Sets uri
's password to password
.
|
a SpiceURI |
|
the password, or NULL . |
Since 0.24
gchar * spice_uri_to_string (SpiceURI *uri
);
Returns a string representing uri
.
|
a SpiceURI |
Returns : |
a string representing uri , which the caller must free. |
Since 0.24
typedef struct _SpiceURIClass SpiceURIClass;
The SpiceURIClass struct is opaque and cannot be accessed directly. It is class structure for SpiceURI.
typedef struct _SpiceURI SpiceURI;
The SpiceURI struct is opaque and cannot be accessed directly.