libbpf: Move non-public APIs from libbpf.h to libbpf_internal.h
authorAndrii Nakryiko <andriin@fb.com>
Sat, 14 Dec 2019 01:43:27 +0000 (17:43 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 15 Dec 2019 23:58:04 +0000 (15:58 -0800)
commit612d05be250aa8804d3baba7a12445a267a580d3
tree1db52e5cad03e579ed65ba76ca39bd58388d222f
parentd7a18ea7e8b612669acd0131fd075e5c735c1ce5
libbpf: Move non-public APIs from libbpf.h to libbpf_internal.h

Few libbpf APIs are not public but currently exposed through libbpf.h to be
used by bpftool. Move them to libbpf_internal.h, where intent of being
non-stable and non-public is much more obvious.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20191214014341.3442258-4-andriin@fb.com
tools/bpf/bpftool/net.c
tools/lib/bpf/libbpf.h
tools/lib/bpf/libbpf_internal.h