From e8d5da94efd6cbb0aa75f57290c76d9992ff8f47 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 27 Mar 2018 01:23:07 +0200 Subject: [PATCH 1/1] afs: Document ->lpr of struct afs_callback_arg. This should have been documented when the ->lpr member was introduced two years ago in commit ba0a963f (server: Convert com_add() to lopsub). --- afs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/afs.h b/afs.h index f506cbff..8beca5ae 100644 --- a/afs.h +++ b/afs.h @@ -161,6 +161,14 @@ struct afs_callback_arg { struct osl_object query; /** Will be written on band SBD_OUTPUT, fully buffered. */ struct para_buffer pbout; + /** + * Convenience pointer for the deserialized parse result. + * + * Most afs command handlers call \ref send_lls_callback_request() to + * serialize the parse result of the subcommand and pass it to the + * callback. In afs context a pointer to the deserialized parse result + * is stored here. + */ struct lls_parse_result *lpr; }; -- 2.39.2