From 62469445101babdff53d238e602d7e988dbaa0cb Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 9 Dec 2011 17:58:20 +0100 Subject: cli: allow option groups to force async/sync operations Some operations are clearly asynchronous (e.g. monitoring modem state), while others are clearly synchronous (e.g. printing modem info). So just allow option groups to force the operation to be async or sync based on the detected action. --- cli/mmcli.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cli/mmcli.h') diff --git a/cli/mmcli.h b/cli/mmcli.h index 37647141..04f45813 100644 --- a/cli/mmcli.h +++ b/cli/mmcli.h @@ -24,7 +24,9 @@ #define __MMCLI_H__ /* Common */ -void mmcli_async_operation_done (void); +void mmcli_async_operation_done (void); +void mmcli_force_async_operation (void); +void mmcli_force_sync_operation (void); /* Manager group */ GOptionGroup *mmcli_manager_get_option_group (void); -- cgit v1.2.3-70-g09d2