brbzull0 commented on a change in pull request #6720:
URL: https://github.com/apache/trafficserver/pull/6720#discussion_r420315872



##########
File path: mgmt/MgmtDefs.h
##########
@@ -72,71 +73,76 @@ struct MgmtConverter {
    * This is passed a @c void* which is a pointer to the member in the 
configuration instance.
    * This function must return a @c MgmtInt converted from that value.
    */
-  MgmtInt (*load_int)(const void *) = nullptr;
+  MgmtInt (*load_int)(const HttpSM *, const void *) = nullptr;
 
   /** Store a @c MgmtInt into a native type.
    *
    * This function is passed a @c void* which is a pointer to the member in 
the configuration
    * instance and a @c MgmtInt. The member should be updated to correspond to 
the @c MgmtInt value.
    */
-  void (*store_int)(void *, MgmtInt) = nullptr;
+  void (*store_int)(HttpSM *, void *, MgmtInt) = nullptr;

Review comment:
       The original Idea was to store some data into the arena from the SM, 
which now will not take place here and should be in the `InkAPI` instead, this 
was the only reason why this wasn't `const`. After some chat with Alan last 
week, we agreed to take this (it will be on a diff PR) outside the scope of 
store_*,  so thanks for pointing this out. I'll adjust it.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to