logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Apache Portable Runtime
Author
sidinsd



Joined: 17 May 2010
Posts: 1

PostPosted: Mon 17 May '10 21:14    Post subject: Apache Portable Runtime Reply with quote

I have a project written completely in C that runs on various different platforms, including LINUX, UNIX and Windows.

Currently the project is POSIX compatible, but it is very difficult to maintain the portability of this project.

I would like to convert it to use the Apache Portable Runtime, to make it easier to maintain portability.

I have gone to the Apache Portable Runtime project site and downloaded APR version 1.4 and wrote a little test program that worked fine.

I have also seen some articles about programming APR in Linux magazine and other places. I have also looked at the excellent apr tutorial provided at ariel-networks.

The one thing I haven't found yet and it is something that would help me immensely, is a side by side table of POSIX compatible APIs with the corresponding APR API. Now I realize that that mapping may not be one-to-one, but a table that just says on one side, for example, "to do a getenv()" and then the other side would say "do an apr_get_env()".

Now I realize the API names are geared towards that, but it is not always clear which POSIX APIs correspond to which APR APIs. Also, sometimes the APR API requires some work before calling it, like setting up memory pools, etc. that wasn't required with POSIX, so if the table pointed that out also it would really help.

Anyone out there have something like this?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Thu 07 Oct '10 17:21    Post subject: Reply with quote

Since there wasn't an answer yet. Did you solve it yourself? If not you should ask in the dev mailing lists http://apr.apache.org/mailing-lists.html
Back to top


Reply to topic   Topic: Apache Portable Runtime View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads