Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-net-srv
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain-net-srv
Commits
f8b631ab
Commit
f8b631ab
authored
5 years ago
by
alexander.lysikov
Browse files
Options
Downloads
Patches
Plain Diff
fixed dap_chain_net_srv_stream_session_create()
parent
6820425b
No related branches found
No related tags found
1 merge request
!4
fixed dap_chain_net_srv_stream_session_create()
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dap_chain_net_srv_stream_session.c
+1
-0
1 addition, 0 deletions
dap_chain_net_srv_stream_session.c
dap_chain_net_srv_stream_session.h
+6
-0
6 additions, 0 deletions
dap_chain_net_srv_stream_session.h
with
7 additions
and
0 deletions
dap_chain_net_srv_stream_session.c
+
1
−
0
View file @
f8b631ab
...
...
@@ -42,6 +42,7 @@ dap_chain_net_srv_stream_session_t * dap_chain_net_srv_stream_session_create( da
}
dap_chain_net_srv_stream_session_t
*
l_session_srv
=
DAP_NEW_Z
(
dap_chain_net_srv_stream_session_t
);
a_session
->
_inheritor
=
l_session_srv
;
l_session_srv
->
parent
=
a_session
;
log_it
(
L_NOTICE
,
"created service session"
);
return
l_session_srv
;
}
...
...
This diff is collapsed.
Click to expand it.
dap_chain_net_srv_stream_session.h
+
6
−
0
View file @
f8b631ab
...
...
@@ -58,6 +58,8 @@ typedef struct dap_chain_net_srv_usage{
UT_hash_handle
hh
;
//
}
dap_chain_net_srv_usage_t
;
typedef
void
(
*
dap_response_success_callback_t
)
(
dap_stream_ch_chain_net_srv_pkt_success_t
*
,
void
*
);
typedef
struct
dap_chain_net_srv_stream_session
{
dap_stream_session_t
*
parent
;
dap_chain_net_srv_usage_t
*
usages
;
...
...
@@ -69,6 +71,10 @@ typedef struct dap_chain_net_srv_stream_session {
time_t
ts_activated
;
dap_sign_t
*
user_sign
;
// User's signature for auth if reconnect
dap_response_success_callback_t
response_success_callback
;
void
*
response_success_callback_data
;
}
dap_chain_net_srv_stream_session_t
;
#define DAP_CHAIN_NET_SRV_STREAM_SESSION(a) ((dap_chain_net_srv_stream_session_t *) (a)->_inheritor )
...
...
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