diff options
Diffstat (limited to 'src/p2p/p2p.h')
| -rw-r--r-- | src/p2p/p2p.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h index b1978934..499b62e1 100644 --- a/src/p2p/p2p.h +++ b/src/p2p/p2p.h @@ -384,14 +384,17 @@ struct p2p_config { #endif /** - * msg_ctx - Context to use with wpa_msg() calls + * cb_ctx - Context to use with callback functions */ - void *msg_ctx; + void *cb_ctx; /** - * cb_ctx - Context to use with callback functions + * debug_print - Debug print + * @ctx: Callback context from cb_ctx + * @level: Debug verbosity level (MSG_*) + * @msg: Debug message */ - void *cb_ctx; + void (*debug_print)(void *ctx, int level, const char *msg); /* Callbacks to request lower layer driver operations */ @@ -558,6 +561,12 @@ struct p2p_config { void (*dev_lost)(void *ctx, const u8 *dev_addr); /** + * find_stopped - Notification of a p2p_find operation stopping + * @ctx: Callback context from cb_ctx + */ + void (*find_stopped)(void *ctx); + + /** * go_neg_req_rx - Notification of a receive GO Negotiation Request * @ctx: Callback context from cb_ctx * @src: Source address of the message triggering this notification |
