Thread: Openlipc
View Single Post
Old 10-24-2013, 05:22 AM   #1
baf
Evangelist
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
Openlipc

Being fed up with executing lipc files through exec calls from my c programs I wrote a stub for openlipc.h. A header for liblipc. Now it will be possible to call some lipc functions directly from c programs, like setting some lipc properties, reading them or sending lipc events.
As a POC I also recreated lipc-set-prop, lipc-get-prop and lipc-send-event programs. These are not exact copies, I skipped some params checking, multiple tries to send event, etc. I just wanted to use all the lipc functions in these examples, so that it would be clear how to use them.
You will find source code on my github.

I am also attaching compiled binaries.
Attached Files
File Type: zip openlipc.zip (7.0 KB, 137 views)
baf is offline   Reply With Quote