diff options
author | Dan Winship <danw@gnome.org> | 2014-07-04 13:26:57 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-08-01 14:34:04 -0400 |
commit | eedcf185a7615c68281f2dc33f315efbaeee93c8 (patch) | |
tree | 869bf573f7863e374acf89d7c56bd06f094097fd /libnm-core/nm-utils-private.h | |
parent | d595f7843e31e8312c0baf25b476b6489cff59a7 (diff) | |
download | NetworkManager-eedcf185a7615c68281f2dc33f315efbaeee93c8.tar.gz |
libnm: add libnm/libnm-core (part 2)
This fixes up the code from the previous "clean" import, and adds
build infrastructure.
[There are two slightly orthogonal sets of changes in this patch.
First, the files added in the previous commit were modified as followed:
# Replace internal references to "libnm-util" and "libnm-glib" with "libnm"
perl -pi -e 's/libnm-(util|glib)/libnm/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch]
# Fix includes of the enum-types files
perl -pi -e 's/nm-utils-enum-types/nm-core-enum-types/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch]
perl -pi -e 's/nm-glib-enum-types/nm-enum-types/;' libnm/*.[ch] libnm/tests/*.[ch]
# Fix some python example code
perl -pi -e 's/import NMClient/import NM/;' -e 's/NMClient.Client\(\)/NM.Client()/;' libnm/nm-client.c
Then, the build infrastructure was added (without further modifying
any existing files in libnm-core or libnm.)
Note: to regenerate libnm.ver after rebase:
(head -2 libnm-util/libnm-util.ver; (grep -h '\s'nm_ libnm-util/libnm-util.ver libnm-glib/libnm-glib.ver | env LANG=C sort); tail -3 libnm-util/libnm-util.ver) > libnm/libnm.ver
]
Diffstat (limited to 'libnm-core/nm-utils-private.h')
-rw-r--r-- | libnm-core/nm-utils-private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm-core/nm-utils-private.h b/libnm-core/nm-utils-private.h index 6e6d7b7247..2909118b2d 100644 --- a/libnm-core/nm-utils-private.h +++ b/libnm-core/nm-utils-private.h @@ -48,9 +48,9 @@ const NMUtilsPrivateData *nm_utils_get_private (void); /** * NM_UTILS_PRIVATE_CALL: - * @call: a call to a private libnm-util function + * @call: a call to a private libnm function * - * Used to call private libnm-util functions. Eg, if there was a + * Used to call private libnm functions. Eg, if there was a * private function called nm_foo_get_bar(), you could call it like: * * bar = NM_UTILS_PRIVATE_CALL (nm_foo_get_bar (foo, x, y, z)); |