diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2012-02-14 12:05:42 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-02-14 14:55:55 +0100 |
commit | 484a573ed476cf4d4405b26f4b2ca16e881b5cd3 (patch) | |
tree | 98f00e97f494573bdea81f7cac1144abc822e24c /src/connman.h | |
parent | 1ec91f4d4c4997a76c2540679543c95daa0ba4b9 (diff) | |
download | connman-484a573ed476cf4d4405b26f4b2ca16e881b5cd3.tar.gz connman-484a573ed476cf4d4405b26f4b2ca16e881b5cd3.tar.bz2 connman-484a573ed476cf4d4405b26f4b2ca16e881b5cd3.zip |
agent: Add support for requesting browser action
Diffstat (limited to 'src/connman.h')
-rw-r--r-- | src/connman.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h index 9a25119b..916ced94 100644 --- a/src/connman.h +++ b/src/connman.h @@ -89,12 +89,18 @@ typedef void (* authentication_cb_t) (struct connman_service *service, const char *name, int name_len, const char *identifier, const char *secret, void *user_data); +typedef void (* browser_authentication_cb_t) (struct connman_service *service, + connman_bool_t authentication_done, + void *user_data); typedef void (* report_error_cb_t) (struct connman_service *service, gboolean retry, void *user_data); int __connman_agent_request_passphrase_input(struct connman_service *service, authentication_cb_t callback, void *user_data); int __connman_agent_request_login_input(struct connman_service *service, authentication_cb_t callback, void *user_data); +int __connman_agent_request_browser(struct connman_service *service, + browser_authentication_cb_t callback, + const char *url, void *user_data); int __connman_agent_report_error(struct connman_service *service, const char *error, report_error_cb_t callback, void *user_data); |