iwd_agent: surface Cancel + stub EAP methods, expose cancel hook
iwd's Cancel(reason) now invokes a UI callback (registered via iwd_manager_set_cancel_handler) so the popup can tear down an open auth dialog. Stubbed RequestPrivateKeyPassphrase / RequestUserNameAndPassword / RequestUserPassword to return Canceled instead of leaving them unimplemented (which would unregister us). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7a55d1da5a
commit
9f2a9373aa
4 changed files with 57 additions and 1 deletions
|
|
@ -42,4 +42,9 @@ void iwd_manager_set_passphrase_handler(Iwd_Manager *m,
|
|||
Iwd_Agent_Passphrase_Cb cb,
|
||||
void *data);
|
||||
|
||||
/* Notified when iwd issues Agent.Cancel — UI should close any open prompt. */
|
||||
void iwd_manager_set_cancel_handler (Iwd_Manager *m,
|
||||
Iwd_Agent_Cancel_Cb cb,
|
||||
void *data);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue