summaryrefslogtreecommitdiffstats
path: root/cloud_print/gcp20/prototype/command_line_reader.h
blob: 018b79eb4f41f97c96a5d91624f754e1357d4658 (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
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CLOUD_PRINT_GCP20_PROTOTYPE_COMMAND_LINE_READER_H_
#define CLOUD_PRINT_GCP20_PROTOTYPE_COMMAND_LINE_READER_H_

#include <stdint.h>

#include <string>

namespace command_line_reader {

uint16_t ReadHttpPort(uint16_t default_value);

uint32_t ReadTtl(uint32_t default_value);

std::string ReadServiceNamePrefix(const std::string& default_value);

std::string ReadDomainName(const std::string& default_value);

std::string ReadStatePath(const std::string& default_value);

}  // namespace command_line_reader

#endif  // CLOUD_PRINT_GCP20_PROTOTYPE_COMMAND_LINE_READER_H_