|
|
@ -483,6 +483,9 @@ K_STORE *markersummary_store; |
|
|
|
K_TREE *markersummary_pool_root; |
|
|
|
K_TREE *markersummary_pool_root; |
|
|
|
K_STORE *markersummary_pool_store; |
|
|
|
K_STORE *markersummary_pool_store; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// The markerid load start for markersummary
|
|
|
|
|
|
|
|
char *mark_start = NULL; |
|
|
|
|
|
|
|
|
|
|
|
// WORKMARKERS
|
|
|
|
// WORKMARKERS
|
|
|
|
K_TREE *workmarkers_root; |
|
|
|
K_TREE *workmarkers_root; |
|
|
|
K_TREE *workmarkers_workinfoid_root; |
|
|
|
K_TREE *workmarkers_workinfoid_root; |
|
|
@ -5639,6 +5642,7 @@ static struct option long_options[] = { |
|
|
|
{ "loglevel", required_argument, 0, 'l' }, |
|
|
|
{ "loglevel", required_argument, 0, 'l' }, |
|
|
|
// marker = enable mark/workmarker/markersummary auto generation
|
|
|
|
// marker = enable mark/workmarker/markersummary auto generation
|
|
|
|
{ "marker", no_argument, 0, 'm' }, |
|
|
|
{ "marker", no_argument, 0, 'm' }, |
|
|
|
|
|
|
|
{ "markstart", required_argument, 0, 'M' }, |
|
|
|
{ "name", required_argument, 0, 'n' }, |
|
|
|
{ "name", required_argument, 0, 'n' }, |
|
|
|
{ "dbpass", required_argument, 0, 'p' }, |
|
|
|
{ "dbpass", required_argument, 0, 'p' }, |
|
|
|
{ "btc-pass", required_argument, 0, 'P' }, |
|
|
|
{ "btc-pass", required_argument, 0, 'P' }, |
|
|
@ -5683,7 +5687,7 @@ int main(int argc, char **argv) |
|
|
|
memset(&ckp, 0, sizeof(ckp)); |
|
|
|
memset(&ckp, 0, sizeof(ckp)); |
|
|
|
ckp.loglevel = LOG_NOTICE; |
|
|
|
ckp.loglevel = LOG_NOTICE; |
|
|
|
|
|
|
|
|
|
|
|
while ((c = getopt_long(argc, argv, "c:d:ghkl:mn:p:P:r:R:s:S:t:u:U:vw:yY:", long_options, &i)) != -1) { |
|
|
|
while ((c = getopt_long(argc, argv, "c:d:ghkl:mM:n:p:P:r:R:s:S:t:u:U:vw:yY:", long_options, &i)) != -1) { |
|
|
|
switch(c) { |
|
|
|
switch(c) { |
|
|
|
case 'c': |
|
|
|
case 'c': |
|
|
|
ckp.config = strdup(optarg); |
|
|
|
ckp.config = strdup(optarg); |
|
|
@ -5742,6 +5746,9 @@ int main(int argc, char **argv) |
|
|
|
case 'm': |
|
|
|
case 'm': |
|
|
|
markersummary_auto = true; |
|
|
|
markersummary_auto = true; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case 'M': |
|
|
|
|
|
|
|
mark_start = strdup(optarg); |
|
|
|
|
|
|
|
break; |
|
|
|
case 'n': |
|
|
|
case 'n': |
|
|
|
ckp.name = strdup(optarg); |
|
|
|
ckp.name = strdup(optarg); |
|
|
|
break; |
|
|
|
break; |
|
|
|