[
https://issues.apache.org/jira/browse/PROTON-852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomasz Nowicki updated PROTON-852:
----------------------------------
Description: We are using proton-c on a small ebedded system based on
uclinux/uclibc.c On this platform several required functions ex getaddrinfo(),
getprotobyname() are not implemented.We added support for this type of platform
by wraping with pn_getaddrinfo,pn_getprotobyname. Relevant pn_freeaddrinfo is
also introduced. If GETADDRINFO_NOT_IMPL flag is not present, native
implementation is called. Changes apply for posix versions that use old lib.c
Specifically in some embedded versions "get host" is not present(ip address is
used instead). (was: Implement pn_getaddrinfo,pn_getprotobyname for platforms
that not support getaddrinfo(),getprotobyname(). Relevant pn_freeaddrinfo is
also introduced. If GETADDRINFO_NOT_IMPL flag is not present, native
implementation is called. )
> Implement pn_getaddrinfo,pn_getprotobyname for platforms that not support
> getaddrinfo(),getprotobyname()
> ---------------------------------------------------------------------------------------------------------
>
> Key: PROTON-852
> URL: https://issues.apache.org/jira/browse/PROTON-852
> Project: Qpid Proton
> Issue Type: New Feature
> Components: proton-c
> Affects Versions: 0.9
> Environment: uclinux m68k
> Reporter: Tomasz Nowicki
> Labels: patch
> Fix For: 0.10
>
> Attachments: proton-c-GETADDRINFO.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> We are using proton-c on a small ebedded system based on uclinux/uclibc.c On
> this platform several required functions ex getaddrinfo(), getprotobyname()
> are not implemented.We added support for this type of platform by wraping
> with pn_getaddrinfo,pn_getprotobyname. Relevant pn_freeaddrinfo is also
> introduced. If GETADDRINFO_NOT_IMPL flag is not present, native
> implementation is called. Changes apply for posix versions that use old lib.c
> Specifically in some embedded versions "get host" is not present(ip address
> is used instead).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)