Hello Yamin,

There are two components in OpenHPI: Base Library (libopenhpi) and Deamon  
(openhpid).
An HPI application links to the Base Library and calls functions from  
there (baselib/safhpi.c).
Then the Base Library forms RPC request, packs the data and send the  
request to the Daemon.
The Daemon code in openhpid/server.c receives the RPC request and  
dispatches the request by calling
corresponding functions from openhpid/safhpi.c.
The response goes back to the Base Library in the same way backwards.

        Anton Pak

On Mon, 19 Dec 2011 07:37:14 +0300, Yamin Zhou <[email protected]> wrote:

> Hi,
>
> I'm new to openhpi. In its latest version of source code that I looked  
> into, I saw HPI API implementations in both openhpid/safhpi.c and  
> baselib/safhpi.cpp. Can any body please explain why there are two  
> different implementations, and for what purposes?
>
> thanks,
> yamin

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to