From 330026db90df99ffc394acc5c08c61e9a3de287a Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 18 Mar 2016 13:45:20 +0100 Subject: [PATCH] shared: add "nm-shared-utils" --- shared/Makefile.am | 2 ++ shared/nm-shared-utils.c | 25 +++++++++++++++++++++++++ shared/nm-shared-utils.h | 27 +++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 shared/nm-shared-utils.c create mode 100644 shared/nm-shared-utils.h diff --git a/shared/Makefile.am b/shared/Makefile.am index 03fad123f..c042fdbe8 100644 --- a/shared/Makefile.am +++ b/shared/Makefile.am @@ -4,6 +4,8 @@ EXTRA_DIST = \ nm-default.h \ nm-glib.h \ nm-macros-internal.h \ + nm-shared-utils.c \ + nm-shared-utils.h \ nm-test-libnm-utils.h \ nm-test-utils.h \ nm-test-utils-impl.c \ diff --git a/shared/nm-shared-utils.c b/shared/nm-shared-utils.c new file mode 100644 index 000000000..b2c164e19 --- /dev/null +++ b/shared/nm-shared-utils.c @@ -0,0 +1,25 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ +/* 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 2016 Red Hat, Inc. + */ + +#include "nm-default.h" + +#include "nm-shared-utils.h" + diff --git a/shared/nm-shared-utils.h b/shared/nm-shared-utils.h new file mode 100644 index 000000000..2619d0497 --- /dev/null +++ b/shared/nm-shared-utils.h @@ -0,0 +1,27 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ +/* 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 2016 Red Hat, Inc. + */ + +#ifndef __NM_SHARED_UTILS_H__ +#define __NM_SHARED_UTILS_H__ + +/******************************************************************************/ + +#endif /* __NM_SHARED_UTILS_H__ */ -- 2.17.1