mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 13:40:11 +01:00
shared: add "nm-common-macros.h" header
Shared headers are all project-wide and internal API. Currently we have the following: General purpose: - shared/gsystem-local-alloc.h: header-only, allocation macros - shared/nm-dbus-compat.h: header-only, D-Bus related defines - shared/nm-glib.h: header-only, glib compatibility defines - shared/nm-macros-internal.h: header-only, utils - shared/nm-shared-utils.[hc]: source and header, utils - shared/nm-test*.[hc]: source and header, libnm testing utils Special to NetworkManager repository: - shared/nm-version-macros.h.in: header-only, version macros - shared/nm-default.h: header-only, default-include Now we add "shared/nm-common-macros.h" which is header-only, but non general purpose. I am running low on good names, considering all the shared/core/macros utils headers. Still, I think "nm-common-macros.h" is appropriate.
This commit is contained in:
parent
2c411e9070
commit
ed551a4633
2 changed files with 28 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
EXTRA_DIST = \
|
||||
gsystem-local-alloc.h \
|
||||
nm-common-macros.h \
|
||||
nm-dbus-compat.h \
|
||||
nm-default.h \
|
||||
nm-glib.h \
|
||||
|
|
|
|||
27
shared/nm-common-macros.h
Normal file
27
shared/nm-common-macros.h
Normal file
|
|
@ -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_COMMON_MACROS_H__
|
||||
#define __NM_COMMON_MACROS_H__
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
#endif /* __NM_COMMON_MACROS_H__ */
|
||||
Loading…
Add table
Reference in a new issue