lirc  0.10.2
About: LIRC (Linux Infrared Remote Control) is a package to decode and send infra-red signals of many commonly used remote controls.
  Fossies Dox: lirc-0.10.2.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

No Matches

The LIRC lib/ directory is indeed code used in various places. It offers four views:

  • External C/C++ applications which neds to receive or send IR signals uses the lirc_client.h header file and links to using -llirc. This is a mature, reasonably stable interface. See lirc_client and Client API manual excerpt..
  • External python code could from 0.10.0 use the new python API. See Python client bindings and Client API manual excerpt..
  • User space drivers includes the lirc_driver.h header and links to using -llirc_driver. The other way around lirc accesses the driver as defined in the driver.h file (struct driver) This interface is new and willl probably need some time to stabilize. See User-space driver API and Driver API manual excerpt.
  • Internal lirc applications includes the lirc_private.h header file and links to using -llirc_private. This interface is subject to change without notice.

For build and configuration there are two pkg-config .pc files: lirc.pc and lirc_client.pc. These provides the proper compilation and link flags. See drivers/default/Makefile for an example how to use.

The bundled excerpts from the manual are the same as in the LIRC manual, but also here to be readily available and linked by doxygen in the API context.