diff options
Diffstat (limited to 'src/rhgb-client/ply-boot-client.h')
-rw-r--r-- | src/rhgb-client/ply-boot-client.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rhgb-client/ply-boot-client.h b/src/rhgb-client/ply-boot-client.h index 0a24a08..4c72db2 100644 --- a/src/rhgb-client/ply-boot-client.h +++ b/src/rhgb-client/ply-boot-client.h @@ -32,6 +32,9 @@ typedef struct _ply_boot_client ply_boot_client_t; typedef void (* ply_boot_client_response_handler_t) (void *user_data, ply_boot_client_t *client); +typedef void (* ply_boot_client_answer_handler_t) (void *user_data, + const char *answer, + ply_boot_client_t *client); typedef void (* ply_boot_client_disconnect_handler_t) (void *user_data, ply_boot_client_t *client); @@ -51,6 +54,10 @@ void ply_boot_client_update_daemon (ply_boot_client_t *client, ply_boot_client_response_handler_t handler, ply_boot_client_response_handler_t failed_handler, void *user_data); +void ply_boot_client_ask_daemon_for_password (ply_boot_client_t *client, + ply_boot_client_answer_handler_t handler, + ply_boot_client_response_handler_t failed_handler, + void *user_data); void ply_boot_client_tell_daemon_system_is_initialized (ply_boot_client_t *client, ply_boot_client_response_handler_t handler, ply_boot_client_response_handler_t failed_handler, |