about summary refs log tree commit diff
path: root/src/libnm-core-aux-intern/README.md
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2021-07-05 20:35:03 +0200
committerSebastien Bacher <seb128@ubuntu.com>2021-07-05 20:35:03 +0200
commit35779c6675728fa6f0fd0a21cefb904408509c23 (patch)
tree553e7239e0ba182b4f9b29b1e7a9d66a595d08bc /src/libnm-core-aux-intern/README.md
parentd92aa7f298fe84d4cf686c5ad64b73438e00d377 (diff)
New upstream version 1.32.2
Diffstat (limited to 'src/libnm-core-aux-intern/README.md')
-rw-r--r--src/libnm-core-aux-intern/README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/libnm-core-aux-intern/README.md b/src/libnm-core-aux-intern/README.md
new file mode 100644
index 00000000..37e238f1
--- /dev/null
+++ b/src/libnm-core-aux-intern/README.md
@@ -0,0 +1,28 @@
+libnm-core-aux-intern
+=====================
+
+`libnm-core-aux-intern` is a static library that:
+
+ - uses parts of [`libnm-core-impl`](../libnm-core-impl), that are public API
+   of [`libnm`](../../libnm) (i.e. [`libnm-core-public`](../libnm-core-public)).
+ - that is statically linked into [`libnm-core-impl`](../libnm-core-impl) (and thus
+   [`libnm`](../libnm) and NetworkManager core.
+ - that can also be statically linked into other users of [`libnm`](../libnm).
+
+Basically, it is a static library with utility functions that extends
+[`libnm-core-impl`](../libnm-core-impl) (the part that is public API of libnm),
+but it is also used by [`libnm-core-impl`](../libnm-core-impl) itself.
+
+That means:
+
+  - you can use it everywhere where you either statically link
+    with [`libnm-core-impl`](../libnm-core-impl), or dynamically link with
+    [`libnm`](../../libnm).
+  - you can even use it inside of [`libnm-core-impl`](../libnm-core-impl) itself.
+    This is the difference between `libnm-core-aux-intern` and
+    [`libnm-core-aux-extern`](..libnm-core-aux-extern).
+
+Note that `libnm-core-aux-intern` only uses public API of `libnm`.
+
+This directory should not be added to the include search path. Instead,
+users should fully qualify the include like `#include "libnm-core-aux-intern/nm-auth-subject.h"`.