gri3-wm/libi3
Orestis Floros 3c522d9f2f
Sort includes in *.c files
Not enabling in .clang-format because it breaks headers files.

Used:
    IncludeCategories:
      - Regex:           '^<config'
        Priority:        0
      - Regex:           '^".*"'
        Priority:        1
      - Regex:           '^<(xcb|xkb|yajl|X11)'
        Priority:        3
      - Regex:           '.*'
        Priority:        2
2020-04-19 09:58:25 +02:00
..
README Introduce libi3, an *internal* library to eliminate code duplication 2011-10-02 16:11:30 +01:00
dpi.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
draw_util.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
fake_configure_notify.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
font.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
format_placeholders.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
g_utf8_make_valid.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
get_colorpixel.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
get_config_path.c Correct XDG paths precedence for config files 2018-07-10 05:04:34 +03:00
get_exe_path.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
get_mod_mask.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
get_process_filename.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
get_visualtype.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
ipc_connect.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
ipc_recv_message.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
ipc_send_message.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
is_debug_build.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
mkdirp.c Use AC_REPLACE_FUNCS 2019-10-13 13:17:40 +03:00
resolve_tilde.c resolve_tilde: strncpy + strlen is pointless (#3436) 2018-10-07 20:26:37 +02:00
root_atom_contents.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
safewrappers.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
string.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
strndup.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
ucs2_conversion.c convert_utf8_to_ucs2: Allow partial conversion 2019-03-19 10:31:34 +02: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.