Mir
Functions
mir_prompt_session.h File Reference
#include "mir_toolkit/mir_client_library.h"
#include <sys/types.h>
#include <stdbool.h>
Include dependency graph for mir_prompt_session.h:

Go to the source code of this file.

Functions

MirPromptSessionmir_connection_create_prompt_session_sync (MirConnection *connection, pid_t application_pid, MirPromptSessionStateChangeCallback state_change_callback, void *context)
 Create and start a new prompt session. More...
 
MirWaitHandlemir_prompt_session_new_fds_for_prompt_providers (MirPromptSession *prompt_session, unsigned int no_of_fds, MirClientFdCallback callback, void *context)
 Allocate some FDs for prompt providers to connect on. More...
 
size_t mir_prompt_session_new_fds_for_prompt_providers_sync (MirPromptSession *prompt_session, unsigned int no_of_fds, int *fds)
 Allocate some FDs for prompt providers to connect on. More...
 
void mir_prompt_session_release_sync (MirPromptSession *prompt_session)
 Stop and release the specified prompt session. More...
 
bool mir_prompt_session_is_valid (MirPromptSession *prompt_session)
 Test for a valid prompt session. More...
 
const char * mir_prompt_session_error_message (MirPromptSession *prompt_session)
 Retrieve a text description of the last error. More...
 

Copyright © 2012-2020 Canonical Ltd.
Generated on Mon Jun 29 21:51:46 UTC 2020
This documentation is licensed under the GPL version 2 or 3.