Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-net-srv-vpn
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
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-vpn
Commits
97457ef3
Commit
97457ef3
authored
4 years ago
by
alexander.lysikov
Browse files
Options
Downloads
Patches
Plain Diff
added context parameter to the console command
parent
afe7ab84
No related branches found
Branches containing commit
No related tags found
1 merge request
!24
added context parameter to the console command
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dap_chain_net_srv_vpn_cdb.c
+3
-3
3 additions, 3 deletions
dap_chain_net_srv_vpn_cdb.c
with
3 additions
and
3 deletions
dap_chain_net_srv_vpn_cdb.c
+
3
−
3
View file @
97457ef3
...
@@ -77,7 +77,7 @@ typedef struct tx_cond_template{
...
@@ -77,7 +77,7 @@ typedef struct tx_cond_template{
static
tx_cond_template_t
*
s_tx_cond_templates
=
NULL
;
static
tx_cond_template_t
*
s_tx_cond_templates
=
NULL
;
const
char
*
c_wallets_path
=
NULL
;
const
char
*
c_wallets_path
=
NULL
;
static
int
s_cli_vpn_cdb
(
int
a_argc
,
char
**
a_argv
,
char
**
a_str_reply
);
static
int
s_cli_vpn_cdb
(
int
a_argc
,
char
**
a_argv
,
void
*
arg_func
,
char
**
a_str_reply
);
/**
/**
* @brief dap_chain_net_srv_vpn_cdb_init
* @brief dap_chain_net_srv_vpn_cdb_init
...
@@ -98,7 +98,7 @@ int dap_chain_net_srv_vpn_cdb_init(dap_http_t * a_http)
...
@@ -98,7 +98,7 @@ int dap_chain_net_srv_vpn_cdb_init(dap_http_t * a_http)
}
}
}
}
dap_chain_node_cli_cmd_item_create
(
"vpn_cdb"
,
s_cli_vpn_cdb
,
"VPN Central DataBase (CDB) commands"
,
dap_chain_node_cli_cmd_item_create
(
"vpn_cdb"
,
s_cli_vpn_cdb
,
NULL
,
"VPN Central DataBase (CDB) commands"
,
"vpn_cdb user create --login <Login> --password <Password> [--first_name <First Name] [--last_name <Last Name>] [--email <Email>]"
"vpn_cdb user create --login <Login> --password <Password> [--first_name <First Name] [--last_name <Last Name>] [--email <Email>]"
"[--acive_days <Setup active day thats left for user >]
\n
"
"[--acive_days <Setup active day thats left for user >]
\n
"
"
\t
Create user with login, password and some more optional fields
\n\n
"
"
\t
Create user with login, password and some more optional fields
\n\n
"
...
@@ -217,7 +217,7 @@ int dap_chain_net_srv_vpn_cdb_init(dap_http_t * a_http)
...
@@ -217,7 +217,7 @@ int dap_chain_net_srv_vpn_cdb_init(dap_http_t * a_http)
}
}
static
int
s_cli_vpn_cdb
(
int
a_argc
,
char
**
a_argv
,
char
**
a_str_reply
)
static
int
s_cli_vpn_cdb
(
int
a_argc
,
char
**
a_argv
,
void
*
arg_func
,
char
**
a_str_reply
)
{
{
const
char
*
l_user_str
=
NULL
;
const
char
*
l_user_str
=
NULL
;
int
l_arg_index
=
1
;
int
l_arg_index
=
1
;
...
...
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