Skip to content

Header files for developing bindings of Application Framework Binder

License

Unknown, LGPL-3.0 licenses found

Licenses found

Unknown
LICENSE.txt
LGPL-3.0
LICENSE.LGPLv3
Notifications You must be signed in to change notification settings

redpesk-core/afb-binding

Repository files navigation

Header files for developing bindings of Application Framework Binder

This project provides the header files and documentation for building components of the micro-service architecture framework. These components are called bindings of the the framework binder.

This project is available there https://github.com/redpesk-core/afb-binding.

The binding are usually run by the micro-service architecture binder that is available here ttps://github.com/redpesk-core/afb-binder.

The binding are usually run by the micro-service architecture binder that is available here ttps://github.com/redpesk/afb-binder.

License and copying

See file LICENSE.txt for detail

Building

The project has no dependencies.

Using cmake:

    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
    make -j install

or use the script mkbuild.sh that automatize that process:

    ./mkbuild.sh -p /usr/local install

Usage with pkg-config

It installs a package config file of name afb-binding.

That configuration file defines the cflags and libs to use as usual.

Building a binding is possible for many targets. If the binding is intended to be a shared object compatible with afb-binder, you should compile with option -fPIC.

In that case, when linking, you can use the provided version script to reduce the set of exported symbols. To get the path of the version script, use the command

    pkg-config --variable=version_script afb-binding

Examples and tutorials

The directory tutorials contains example of bindings written for versions 3 and 4 of the API. To run the example, you have to install afb-binder.