Code style

C sources and headers

clang-format with based-on google with the following changes:

    Tabs,
    Tabsize = 4,
    Pointer Alignment = Middle,
    Line Length = unlimited,
    Align Macros = true

Python code

Follow the PEP8