gri3-wm/libi3
Michael Stapelberg 29c185dd0b Move fake_configure_notify to libi3 2011-10-09 13:40:15 +01:00
..
Makefile Introduce libi3, an *internal* library to eliminate code duplication 2011-10-02 16:11:30 +01:00
README Introduce libi3, an *internal* library to eliminate code duplication 2011-10-02 16:11:30 +01:00
fake_configure_notify.c Move fake_configure_notify to libi3 2011-10-09 13:40:15 +01:00
get_socket_path.c Introduce libi3, an *internal* library to eliminate code duplication 2011-10-02 16:11:30 +01:00
ipc_recv_message.c Move ipc_send_message and ipc_recv_message to libi3 2011-10-02 18:33:36 +01:00
ipc_send_message.c Move ipc_send_message and ipc_recv_message to libi3 2011-10-02 18:33:36 +01:00
safewrappers.c move sstrdup, scalloc, smalloc, srealloc to libi3, improve error messages 2011-10-02 18:09:30 +01:00

README

Introduction
============

libi3 is an *INTERNAL* library which contains functions that i3 and related
tools (i3-msg, i3-input, i3-nagbar, i3-config-wizard, i3bar) use.

It is NOT to be used by other programs.

Structure
=========

Every function gets its own .c file, which in turn gets compiled into an .o
object file. Afterwards, all .o files are archived into one static library
(libi3.a). This library will be linked into all i3 binaries. The linker is able
to eliminate unused .o files when linking, so only the functions which you
actually use will be included in the corresponding binary.