mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-08 06:36:36 +02:00
21 lines
319 B
C++
21 lines
319 B
C++
#ifndef AVAHI_SERVICE_H
|
|
#define AVAHI_SERVICE_H
|
|
|
|
#include <avahi-common/address.h>
|
|
#include <string>
|
|
|
|
struct AvahiService
|
|
{
|
|
AvahiService(const std::string& name, size_t port, int proto = AVAHI_PROTO_UNSPEC) : name_(name), port_(port), proto_(proto)
|
|
{
|
|
}
|
|
|
|
std::string name_;
|
|
size_t port_;
|
|
int proto_;
|
|
};
|
|
|
|
|
|
#endif
|
|
|
|
|