From 655e6bb1e320f1ac86b4c92e5d7822ead29c257f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sat, 4 May 2019 11:24:07 +0200 Subject: [PATCH] shared: add "shared/nm-glib-aux/nm-dbus-aux.h" --- Makefile.am | 2 ++ shared/meson.build | 3 ++- shared/nm-glib-aux/nm-dbus-aux.c | 24 ++++++++++++++++++++++++ shared/nm-glib-aux/nm-dbus-aux.h | 26 ++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 shared/nm-glib-aux/nm-dbus-aux.c create mode 100644 shared/nm-glib-aux/nm-dbus-aux.h diff --git a/Makefile.am b/Makefile.am index 1de743030f..3fa232b84c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -335,6 +335,8 @@ shared_nm_glib_aux_libnm_glib_aux_la_CPPFLAGS = \ shared_nm_glib_aux_libnm_glib_aux_la_SOURCES = \ shared/nm-glib-aux/nm-c-list.h \ + shared/nm-glib-aux/nm-dbus-aux.c \ + shared/nm-glib-aux/nm-dbus-aux.h \ shared/nm-glib-aux/nm-dedup-multi.c \ shared/nm-glib-aux/nm-dedup-multi.h \ shared/nm-glib-aux/nm-enum-utils.c \ diff --git a/shared/meson.build b/shared/meson.build index a63068eca5..65fdfcabc7 100644 --- a/shared/meson.build +++ b/shared/meson.build @@ -139,7 +139,8 @@ shared_nm_glib_aux_c_args = [ shared_nm_glib_aux = static_library( 'nm-utils-base', - sources: files('nm-glib-aux/nm-dedup-multi.c', + sources: files('nm-glib-aux/nm-dbus-aux.c', + 'nm-glib-aux/nm-dedup-multi.c', 'nm-glib-aux/nm-enum-utils.c', 'nm-glib-aux/nm-errno.c', 'nm-glib-aux/nm-hash-utils.c', diff --git a/shared/nm-glib-aux/nm-dbus-aux.c b/shared/nm-glib-aux/nm-dbus-aux.c new file mode 100644 index 0000000000..02b466aab2 --- /dev/null +++ b/shared/nm-glib-aux/nm-dbus-aux.c @@ -0,0 +1,24 @@ +/* NetworkManager -- Network link manager + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA. + * + * (C) Copyright 2019 Red Hat, Inc. + */ + +#include "nm-default.h" + +#include "nm-dbus-aux.h" + diff --git a/shared/nm-glib-aux/nm-dbus-aux.h b/shared/nm-glib-aux/nm-dbus-aux.h new file mode 100644 index 0000000000..f0cdc19768 --- /dev/null +++ b/shared/nm-glib-aux/nm-dbus-aux.h @@ -0,0 +1,26 @@ +/* NetworkManager -- Network link manager + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA. + * + * (C) Copyright 2019 Red Hat, Inc. + */ + +#ifndef __NM_DBUS_AUX_H__ +#define __NM_DBUS_AUX_H__ + +/*****************************************************************************/ + +#endif /* __NM_DBUS_AUX_H__ */