23typedef void (*syntax_func)(GString *rtxt,
char *addr, uint32_t port, port_type ptype,
bool inbound,
bool deny);
34 void on_productComboBox_currentIndexChanged(
int new_idx);
35 void on_inboundCheckBox_toggled(
bool);
36 void on_denyCheckBox_toggled(
bool);
37 void on_buttonBox_helpRequested();
39 void on_buttonBox_clicked(QAbstractButton *button);
42 Ui::FirewallRulesDialog *ui;
57 void addRule(QString description, syntax_func rule_func,
address *addr, uint32_t port);