From 7a3c53e8ffc064c060e91bf018655ded5c6cd51d Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 30 Aug 2012 09:45:32 -0500 Subject: core: add header for NM object types Helps prevent #include loops when two objects need each other's headers, like NMActiveConnection and NMDevice. --- src/nm-types.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/nm-types.h (limited to 'src/nm-types.h') diff --git a/src/nm-types.h b/src/nm-types.h new file mode 100644 index 0000000000..c558d7ba51 --- /dev/null +++ b/src/nm-types.h @@ -0,0 +1,26 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ +/* NetworkManager -- Network link manager + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Copyright (C) 2012 Red Hat, Inc. + */ + +#ifndef NM_TYPES_H +#define NM_TYPES_H + +typedef struct _NMDevice NMDevice; + +#endif /* NM_TYPES_H */ -- cgit v1.2.1