|
|
@ -65,10 +65,10 @@
|
|
|
|
#include <errno.h>
|
|
|
|
#include <errno.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include "filelist.h"
|
|
|
|
#include "filelist.h"
|
|
|
|
#include "helpers.h"
|
|
|
|
|
|
|
|
#include "../config.h"
|
|
|
|
#include "../config.h"
|
|
|
|
|
|
|
|
|
|
|
|
#define FULL_PROGRAM_NAME "File lister master (builtin streams based)"
|
|
|
|
#define FULL_PROGRAM_NAME "File lister master (builtin streams based)"
|
|
|
|
|
|
|
|
#include "helpers.h"
|
|
|
|
|
|
|
|
|
|
|
|
/* firstly we need to take an rpc calls data,
|
|
|
|
/* firstly we need to take an rpc calls data,
|
|
|
|
* sxmp uses usrtc from libtdata to store it
|
|
|
|
* sxmp uses usrtc from libtdata to store it
|
|
|
@ -254,13 +254,6 @@ static void __help_print(FILE *fso, const char *fmtname)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void __version_print(FILE *fso)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
fprintf(fso, "\nFile list example master daemon (builtin streams).\n");
|
|
|
|
|
|
|
|
fprintf(fso, "Examples bundle for %s %s.\n", PACKAGE_NAME, PACKAGE_VERSION);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
char *rootca = NULL, *cert = NULL;
|
|
|
|
char *rootca = NULL, *cert = NULL;
|
|
|
@ -290,7 +283,7 @@ int main(int argc, char **argv)
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case 'v':
|
|
|
|
case 'v':
|
|
|
|
__version_print(stdout);
|
|
|
|
version_print(stdout);
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case 'r':
|
|
|
|
case 'r':
|
|
|
|