diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-12-09 17:58:20 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:33 +0100 |
commit | 62469445101babdff53d238e602d7e988dbaa0cb (patch) | |
tree | a829194c8618a15607714482851234de975ab945 /cli/mmcli.h | |
parent | ec8da67921c648dbe2e3b82c2392f7196229c914 (diff) |
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.
Diffstat (limited to 'cli/mmcli.h')
-rw-r--r-- | cli/mmcli.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |