how to compile the HOSTAPD into a liberary?

Jouni Malinen j at w1.fi
Sat Dec 8 13:57:13 EST 2007


On Wed, Oct 17, 2007 at 10:40:45AM +0800, Joren Joanna wrote:

> Now I am developing a software using with RADIUS protocol, then found
> that your work HOSTAPD is a great software, so I wanna use the
> radius_client part in hostapd for my software as the Radius Client.

Sorry for the later reply, but here's some information on this topic.

> These days, I have done many tests of this idea. So, my question is:
> 1. Is the idea correct?

Yes, that can be done. The current 0.6.x code base has cleaned up number
of internal interfaces to make it easier to use separate modules in
other programs.

> 2. If correct, Which files should be included in the liberary makefile?
> 3. How to use the liberary? Especially for the workflow.

I added a simple example program that shows how to build the RADIUS
client functionality into a library and how to interact with the library
to send and receive RADIUS messages. This is now available from my Git
tree at http://w1.fi/ (in the radius_example top-level directory).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list