diff options
Diffstat (limited to 'src/shared/network.h')
-rw-r--r-- | src/shared/network.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/shared/network.h b/src/shared/network.h new file mode 100644 index 0000000..4a763be --- /dev/null +++ b/src/shared/network.h @@ -0,0 +1,25 @@ +/* + * network.h + * + * Created on: 28.01.2013 + * Author: sr + */ + +#ifndef NETWORK_H_ +#define NETWORK_H_ + +#include <QString> +#include <QHostAddress> + +namespace Network +{ + + +QString interfaceAddressesToString(); +QString interfaceAddressesToString(const QList<QHostAddress>& list); +bool isAddressInList(const QString& list, const QString& address); + + +} + +#endif /* NETWORK_H_ */ |