Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
trusted_sources.h
Go to the documentation of this file.
1#ifndef TRUSTED_SOURCES_H
2#define TRUSTED_SOURCES_H
3
4#include <QHostAddress>
5#include <QString>
6
15bool isTrustedSource(const QString &trustedSources, const QHostAddress &address);
16
18bool isTrustedSource(const QString &trustedSources, const QString &address);
19
20#endif
bool isTrustedSource(const QString &trustedSources, const QHostAddress &address)
True if address is listed in the comma-separated trustedSources (security/trusted_sources).
Definition trusted_sources.cpp:5