You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/03/25 21:01:15 UTC

[jira] [Updated] (TS-986) ts/experimental has a dependency on netinet/net.h (for struct in_addr)

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

Leif Hedstrom updated TS-986:
-----------------------------

    Fix Version/s:     (was: 3.3.3)
                   3.3.2
         Assignee: Leif Hedstrom

I think as we start using ts/experimental.h for API additions, it's important that things compiles nicely. Even if it means including netinet/net.h (although, how do we do that cross platform safe?). Or, do the forward declarations like amc proposed.
                
> ts/experimental has a dependency on netinet/net.h (for struct in_addr)
> ----------------------------------------------------------------------
>
>                 Key: TS-986
>                 URL: https://issues.apache.org/jira/browse/TS-986
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: TS API
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 3.3.2
>
>
> Alan seems to indicate this is wrong anyways, but just adding this bug so we remember it's probably a bad idea. The offending API is
>   tsapi int TSNodeHandleToIPAddr(TSNodeHandle_t *h, struct in_addr *in);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira