Blame libnm/nm-dns-manager.h

Packit Service 87a54e
/* SPDX-License-Identifier: LGPL-2.1-or-later */
Packit 5756e2
/*
Packit 5756e2
 * Copyright (C) 2016 Red Hat, Inc.
Packit 5756e2
 */
Packit 5756e2
Packit 5756e2
#ifndef __NM_DNS_MANAGER_H__
Packit 5756e2
#define __NM_DNS_MANAGER_H__
Packit 5756e2
Packit Service a1bd4f
#if !((NETWORKMANAGER_COMPILATION) &NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_PRIVATE)
Packit Service a1bd4f
    #error Cannot use this header.
Packit 5756e2
#endif
Packit 5756e2
Packit 5756e2
#include "nm-client.h"
Packit 5756e2
Packit Service a1bd4f
NMDnsEntry *nm_dns_entry_new(const char *       interface,
Packit Service a1bd4f
                             const char *const *nameservers,
Packit Service a1bd4f
                             const char *const *domains,
Packit Service a1bd4f
                             int                priority,
Packit Service a1bd4f
                             gboolean           vpn);
Packit Service a1bd4f
NMDnsEntry *nm_dns_entry_dup(NMDnsEntry *entry);
Packit 5756e2
Packit 5756e2
#endif /* __NM_DNS_MANAGER_H__ */