summaryrefslogtreecommitdiff
path: root/constants.cc
blob: 7af802cd5ddfe322659fd95fe9c0c8188d19725b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright 2014 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "peerd/constants.h"

namespace peerd {

namespace constants {

const char kSerbusServiceId[] = "serbus";

namespace mdns {

const char kSerbusServiceType[] = "_serbus._tcp";

const char kSerbusVersion[] = "ver";
const char kSerbusPeerId[] = "id";
const char kSerbusName[] = "name";
const char kSerbusNote[] = "note";
const char kSerbusServiceList[] = "services";

const char kSerbusServiceDelimiter[] = ".";

}  // namespace mdns

namespace options {

namespace service {

const char kMDNSSectionName[] = "mdns";
const char kMDNSPort[] = "port";

}  // namespace service

}  // namespace options

}  // namespace constants

}  // namespace peerd