Eeze

Eeze Device Library.

Date
2010 (created)

Table of Contents

Introduction

Eeze is a library for manipulating devices through udev with a simple and fast api. It interfaces directly with libudev, avoiding such middleman daemons as udisks/upower or hal, to immediately gather device information the instant it becomes known to the system. This can be used to determine such things as:

  • If a cdrom has a disk inserted
  • The temperature of a cpu core
  • The remaining power left in a battery
  • The current power consumption of various parts
  • Monitor in realtime the status of peripheral devices

Each of the above examples can be performed by using only a single eeze function, as one of the primary focuses of the library is to reduce the complexity of managing devices.

How to compile

Eeze is a library your application links to. The procedure for this is very simple. You simply have to compile your application with the appropriate compiler flags that the pkg-config script outputs. For example:

Compiling C or C++ files into object files:

gcc -c -o main.o main.c `pkg-config --cflags eeze`

Linking object files into a binary executable:

gcc -o my_application main.o `pkg-config --libs eeze`

See pkgconfig

Next Steps

After you understood what Eeze is and installed it in your system you should proceed understanding the programming interface. We'd recommend you to take a while to learn Eina and Ecore as they convenient and Eeze provides integration with it.

Recommended reading: