Paul Fremantle wrote:

Nandika

It seems like the only relationship from apr_hash to the rest of apr is the pools. So could we simply cut/paste/edit the hash-map code into Axis2/C?

Done, and the test is passing. Code in svn.

Thanks,
Samisa...

We would have to change the pool to an Axis2 allocator.

The only reason to do this is that otherwise every implementer of an ax2_env has to supply a hash implementation. And I don't believe that there is anything "non-portable" about hashing.

Paul

On 10/12/05, *nandika jayawardana* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi all,

    since apr is supposed to be kept out of the axis2 code , i wrote a
    wrapper to apr_hash
    which has been used in the axis2 code
    I have atttached the axis2_hash.h and axis2_hash.c files and a test.

    Thanks

    Nandika



Reply via email to