forked from open-amt-cloud-toolkit/rpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathargs.h
21 lines (17 loc) · 794 Bytes
/
args.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*********************************************************************
* Copyright (c) Intel Corporation 2019 - 2020
* SPDX-License-Identifier: Apache-2.0
**********************************************************************/
#ifndef __ARGS_H__
#define __ARGS_H__
#include <string>
bool args_get_help(int argc, char* argv[]);
bool args_get_version(int argc, char* argv[]);
bool args_get_url(int argc, char* argv[], std::string& url);
bool args_get_proxy(int argc, char* argv[], std::string& proxy);
bool args_get_cmd(int argc, char* argv[], std::string& cmd);
bool args_get_dns(int argc, char* argv[], std::string& dns);
bool args_get_info(int argc, char* argv[], std::string& info);
bool args_get_verbose(int argc, char* argv[]);
bool args_get_nocertcheck(int argc, char* argv[]);
#endif