You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Yu Qing (JIRA)" <ji...@apache.org> on 2014/02/24 08:59:19 UTC

[jira] [Updated] (TS-2586) the function _conf_to_memberp should be declared as static

     [ https://issues.apache.org/jira/browse/TS-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yu Qing updated TS-2586:
------------------------

    Description: 
in the file proxy/InkAPI.cc:
 1. the function _conf_to_memberp should be declared as static
 2. change the prototype of  function _conf_to_memberp for general purpose.

  the old prototype as:
void* _conf_to_memberp(TSOverridableConfigKey conf, HttpSM* sm, OverridableDataType *typep)

  the new prototype as:
static void* _conf_to_memberp(TSOverridableConfigKey conf,
    OverridableHttpConfigParams *overridableHttpConfig,
    OverridableDataType *typep) 


  was:
in the file proxy/InkAPI.cc:
 1. the function _conf_to_memberp should be declared as static
 2. change the prototype of  function _conf_to_memberp for general purpose.

  the old prototype as:
void* _conf_to_memberp(TSOverridableConfigKey conf, HttpSM* sm, OverridableDataType *typep)

  the new prototype as:
static void* _conf_to_memberp(TSOverridableConfigKey conf,
    OverridableHttpConfigParams *overridablehttpConfig,
    OverridableDataType *typep) 



> the function _conf_to_memberp should be declared as static
> ----------------------------------------------------------
>
>                 Key: TS-2586
>                 URL: https://issues.apache.org/jira/browse/TS-2586
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: TS API
>            Reporter: Yu Qing
>
> in the file proxy/InkAPI.cc:
>  1. the function _conf_to_memberp should be declared as static
>  2. change the prototype of  function _conf_to_memberp for general purpose.
>   the old prototype as:
> void* _conf_to_memberp(TSOverridableConfigKey conf, HttpSM* sm, OverridableDataType *typep)
>   the new prototype as:
> static void* _conf_to_memberp(TSOverridableConfigKey conf,
>     OverridableHttpConfigParams *overridableHttpConfig,
>     OverridableDataType *typep) 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)