mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 04:00:09 +01:00
Up to now, the "include" directory contained (only) header files that were used project-wide by libs, core, clients, et al. Since the directory now also contains a non-header file, the "include" name is misleading. Instead of adding yet another directory that is project-wide, with non-header-only content, rename the "include" directory to "shared".
49 lines
1.8 KiB
C
49 lines
1.8 KiB
C
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
|
/*
|
|
* 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.
|
|
*
|
|
* Copyright 2014 - 2015 Red Hat, Inc.
|
|
*/
|
|
|
|
#include "NetworkManager.h"
|
|
|
|
#include "nm-test-utils.h"
|
|
|
|
typedef struct {
|
|
GDBusConnection *bus;
|
|
GDBusProxy *proxy;
|
|
GPid pid;
|
|
int keepalive_fd;
|
|
} NMTstcServiceInfo;
|
|
|
|
NMTstcServiceInfo *nmtstc_service_init (void);
|
|
void nmtstc_service_cleanup (NMTstcServiceInfo *info);
|
|
|
|
#if ((NETWORKMANAGER_COMPILATION) == NM_NETWORKMANAGER_COMPILATION_LIB)
|
|
|
|
NMDevice *nmtstc_service_add_device (NMTstcServiceInfo *info,
|
|
NMClient *client,
|
|
const char *method,
|
|
const char *ifname);
|
|
|
|
NMDevice * nmtstc_service_add_wired_device (NMTstcServiceInfo *sinfo,
|
|
NMClient *client,
|
|
const char *ifname,
|
|
const char *hwaddr,
|
|
const char **subchannels);
|
|
|
|
#endif /* NM_NETWORKMANAGER_COMPILATION_LIB */
|
|
|