Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
17
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
cellframe-sdk
Merge requests
!369
Update comments
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update comments
docs-sdk-devel
into
develop
Overview
0
Commits
1
Pipelines
1
Changes
28
Merged
cellframe.doc
requested to merge
docs-sdk-devel
into
develop
3 years ago
Overview
0
Commits
1
Pipelines
1
Changes
28
Expand
Update comments
👍
0
👎
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
bd530c6f
1 commit,
3 years ago
28 files
+
1027
−
248
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
28
Search (e.g. *.vue) (Ctrl+P)
dap-sdk/core/src/dap_common.c
+
5
−
7
Options
@@ -224,14 +224,12 @@ void dap_set_log_tag_width(size_t a_width) {
*/
/**
* @brief dap_common_init call this function before using dap sdk modules
*
* @param a_console_title set console title. Can be result of dap_get_appname()
* @param a_log_file_path path to log file. Saved in s_log_file_path variable
* @param a_log_dirpath path to log directory. Saved in s_log_dir_path variable
* @return int (0 if succcess, -1 if error)
* @brief this function is used for dap sdk modules initialization
* @param a_console_title const char *: set console title. Can be result of dap_get_appname(). For example: cellframe-node
* @param a_log_file_path const char *: path to log file. Saved in s_log_file_path variable. For example: C:\\Users\\Public\\Documents\\cellframe-node\\var\\log\\cellframe-node.log
* @param a_log_dirpath const char *: path to log directory. Saved in s_log_dir_path variable. For example. C:\\Users\\Public\\Document\\cellframe-node\\var\\log
* @return int. (0 if succcess, -1 if error)
*/
int
dap_common_init
(
const
char
*
a_console_title
,
const
char
*
a_log_file_path
,
const
char
*
a_log_dirpath
)
{
// init randomer
Loading