![]() |
![]() |
![]() |
GMime Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
GMimeSession; char * g_mime_session_request_passwd (GMimeSession *session, const char *prompt, gboolean secret, const char *item, GError **err); void g_mime_session_forget_passwd (GMimeSession *session, const char *item, GError **err); gboolean g_mime_session_is_online (GMimeSession *session);
A GMimeSession provides a means for lower-levels of GMime to query for user-input through the application.
char * g_mime_session_request_passwd (GMimeSession *session, const char *prompt, gboolean secret, const char *item, GError **err);
Requests the password for item item
.
void g_mime_session_forget_passwd (GMimeSession *session, const char *item, GError **err);
Forgets the password for item item
.
|
session object |
|
item name |
|
exception |
gboolean g_mime_session_is_online (GMimeSession *session);
Gets whether or not the session is 'online' or not (online meaning that we are connected to the internet).
|
session object |
Returns : |
%TRUE if the session is online or FALSE otherwise.
|