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
16
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
Commits
d560a810
Commit
d560a810
authored
7 years ago
by
Dmitriy Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[+] Declarations for blockchain holder object
parent
b7ec9a47
No related branches found
No related tags found
1 merge request
!24
Support 3689
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dap_chain.c
+30
-0
30 additions, 0 deletions
dap_chain.c
dap_chain.h
+5
-1
5 additions, 1 deletion
dap_chain.h
with
35 additions
and
1 deletion
dap_chain.c
+
30
−
0
View file @
d560a810
...
...
@@ -21,6 +21,27 @@
#include
"dap_chain.h"
#define LOG_TAG "dap_chain"
/**
* @brief dap_chain_init
* @return
*/
int
dap_chain_init
()
{
log_it
(
L_INFO
,
"DapChain module init"
);
}
/**
* @brief dap_chain_deinit
*/
void
dap_chain_deinit
()
{
log_it
(
L_INFO
,
"DapChain module deinit"
);
}
/**
* @brief dap_chain_open
* @param a_file_name
...
...
@@ -58,3 +79,12 @@ void dap_chain_close(dap_chain_t * a_chain)
{
}
/**
* @brief dap_chain_info_dump_log
* @param a_chain
*/
void
dap_chain_info_dump_log
(
dap_chain_t
*
a_chain
)
{
}
This diff is collapsed.
Click to expand it.
dap_chain.h
+
5
−
1
View file @
d560a810
...
...
@@ -32,11 +32,15 @@ typedef struct dap_chain{
void
*
_inhertor
;
}
dap_chain_t
;
dap_chain_t
*
dap_chain_open
(
const
char
*
a_file_name
);
int
dap_chain_init
();
void
dap_chain_deinit
();
dap_chain_t
*
dap_chain_open
(
const
char
*
a_file_name
);
void
dap_chain_remap
(
dap_chain_t
*
a_chain
,
size_t
a_offset
);
void
dap_chain_save
(
dap_chain_t
*
a_chain
);
void
dap_chain_info_dump_log
(
dap_chain_t
*
a_chain
);
void
dap_chain_close
(
dap_chain_t
*
a_chain
);
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment