parameters: (qinfo, qstate, rep, rcode, edns, opt_list_out,
                             region)
return_statement: return True
docstring: Function that will be registered as an inplace callback function.
      It will be called when answering from local data.
      :param qinfo: query_info struct;
      :param qstate: module qstate. None;
      :param rep: reply_info struct;
      :param rcode: return code for the query;
      :param edns: edns_data sent from the client side. The list with the
                   EDNS options is accessible through edns.opt_list. It
                   SHOULD NOT be altered;
      :param opt_list_out: the list with the EDNS options that will be sent as a
                           reply. It can be populated with EDNS options;
      :param region: region to allocate temporary data. Needs to be used when we
                     want to append a new option to opt_list_out.
      :return: True on success, False on failure.
docstring_summary: Function that will be registered as an inplace callback function.
      It will be called when answering from local data.
      :param qinfo: query_info struct;
      :param qstate: module qstate. None;
      :param rep: reply_info struct;
      :param rcode: return code for the query;
      :param edns: edns_data sent from the client side. The list with the
                   EDNS options is accessible through edns.opt_list. It
                   SHOULD NOT be altered;
      :param opt_list_out: the list with the EDNS options that will be sent as a
                           reply. It can be populated with EDNS options;
      :param region: region to allocate temporary data. Needs to be used when we
                     want to append a new option to opt_list_out.
      :return: True on success, False on failure.
docstring_tokens: Function that will be registered as an inplace callback function . It will be called when answering from local data . : param qinfo : query_info struct ; : param qstate : module qstate . None ; : param rep : reply_info struct ; : param rcode : return code for the query ; : param edns : edns_data sent from the client side . The list with the EDNS options is accessible through edns . opt_list . It SHOULD NOT be altered ; : param opt_list_out : the list with the EDNS options that will be sent as a reply . It can be populated with EDNS options ; : param region : region to allocate temporary data . Needs to be used when we want to append a new option to opt_list_out . : return : True on success False on failure .
function: def inplace_local_callback(qinfo, qstate, rep, rcode, edns, opt_list_out,
                             region):
      """Function that will be registered as an inplace callback function.
      It will be called when answering from local data.
      :param qinfo: query_info struct;
      :param qstate: module qstate. None;
      :param rep: reply_info struct;
      :param rcode: return code for the query;
      :param edns: edns_data sent from the client side. The list with the
                   EDNS options is accessible through edns.opt_list. It
                   SHOULD NOT be altered;
      :param opt_list_out: the list with the EDNS options that will be sent as a
                           reply. It can be populated with EDNS options;
      :param region: region to allocate temporary data. Needs to be used when we
                     want to append a new option to opt_list_out.
      :return: True on success, False on failure.
      """
      log_info("python: called back while replying with local data or chaos"
               " reply.")
      return True
function_tokens: def inplace_local_callback ( qinfo , qstate , rep , rcode , edns , opt_list_out , region ) : log_info ( "python: called back while replying with local data or chaos" " reply." ) return True