check transfer  0.1
Check data transfer for SDAccell OpenCL application
parse_cmd.h
Go to the documentation of this file.
1 /*
2  * parse_cmd.h
3  *
4  * Created on: Sep 4, 2017
5  * Author: user52
6  */
7 
8 #ifndef SRC_HOST_UTIL_PARSE_CMD_H_
9 #define SRC_HOST_UTIL_PARSE_CMD_H_
10 
11 
12 //! Get integer value from command line
13 int GetFromCommnadLine(int argc, char **argv, const char* name, int defValue);
14 
15 //! Get string value from command line
16 int GetStrFromCommnadLine(int argc, char **argv, const char* name, char* defValue, char* dst, int dstLen );
17 
18 
19 
20 #endif /* SRC_HOST_UTIL_PARSE_CMD_H_ */
int GetFromCommnadLine(int argc, char **argv, const char *name, int defValue)
Get integer value from command line.
Definition: parse_cmd.cpp:29
int GetStrFromCommnadLine(int argc, char **argv, const char *name, char *defValue, char *dst, int dstLen)
Get string value from command line.
Definition: parse_cmd.cpp:58