[open]lipc
Open-source LIPC header file
[open]lipc Documentation

LIPC is a proprietary (developed by the Amazon) IPC library based on D-Bus. It links internal Kindle components together. Via this library one is able to expose application properties (setters and getters), access properties of other applications and listen for or emit events.

The [open]lipc project is a reverse-engineered header file for this library. It can be used to build native applications for Kindle device with an easy and simple access to the core system components exposed via the LIPC.

The basic usage of this header file might be as follows:

#include <stdio.h>
#include <openlipc.h>
int main(void) {
LIPC *lipc;
char *status;
if ((lipc = LipcOpenNoName()) == NULL)
return 1;
if (LipcGetStringProperty(lipc, "com.lab126.powerd", "status", &status) == LIPC_OK) {
puts(status);
LipcFreeString(status);
}
LipcClose(lipc);
return 0;
}
Note
The [open]lipc header file is based on the reverse-engineered proprietary library, which is a part of the Kindle firmware. The LIPC library itself is copyrighted under the terms of the Amazon Technologies, Inc.