File indexing completed on 2025-01-05 05:07:02
0001 // SPDX-License-Identifier: GPL-2.0-or-later 0002 // SPDX-FileCopyrightText: 2020 Lucas Biaggi <lbjanuario@gmail.com> 0003 /* 0004 * Firewalld backend for plasma firewall 0005 */ 0006 0007 #ifndef FIREWALLDCLIENTDBUS_H 0008 #define FIREWALLDCLIENTDBUS_H 0009 0010 #include <QDBusArgument> 0011 0012 struct firewalld_reply { 0013 QString ipv; 0014 QString table; 0015 QString chain; 0016 int priority = 0; 0017 QStringList rules; 0018 }; 0019 0020 Q_DECLARE_METATYPE(firewalld_reply); 0021 const QDBusArgument &operator>>(const QDBusArgument &argument, firewalld_reply &mystruct); 0022 const QDBusArgument &operator<<(QDBusArgument &argument, const firewalld_reply &mystruct); 0023 0024 #endif