Lines Matching +full:c +full:- +full:version +full:- +full:name
1 .. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
16 --------------------
26 -------
29 and functions to work with them. Objects are high-level abstractions
44 Functions that work with an object have names built from object name,
47 For example ``bpf_object__open`` consists of the name of corresponding
56 -------------------
63 ---
67 non-static libbpf symbols should have one of the prefixes mentioned in
69 name for a new symbol.
72 -----------------
78 .. code-block:: c
83 to be a part of ABI what, in turn, improves both libbpf developer- and
84 user-experiences.
87 --------------
90 Versioning is implemented by ``libbpf.map`` version script that is
93 Version name is ``LIBBPF_`` prefix + three-component numeric version,
97 semantic of existing symbol is changed, ABI version should be bumped.
98 This bump in ABI version is at most once per kernel development cycle.
102 .. code-block:: none
115 .. code-block:: none
129 , where new version ``LIBBPF_0.0.2`` depends on the previous
132 Format of version script and ways to handle ABI changes, including
135 Stand-alone build
136 -------------------
138 Under https://github.com/libbpf/libbpf there is a (semi-)automated
139 mirror of the mainline's version of libbpf for a stand-alone build.
155 .. code-block:: c
165 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
168 * returned on error instead. In both cases thread-local `errno` variable is
175 description about this API. It starts with the name of the API, denoted in bold
181 parameter. If this is a function with a non-void return, use the @return directive
185 -------------------
187 libbpf is dual-licensed under LGPL 2.1 and BSD 2-Clause.
190 -------------------