#include "uri_Tutorial_cat.h"
#include <stdio.h>
#include <stdlib.h>
int32_t main_uriTutorial(int32_t argc, const char* const* argv)
{
{
{
{
}
}
{
{
printf("Connected to the remote TFS using all defaults "
"(uri_Tutorial)\n");
}
{
printf(
"Could not connect to the remote TFS, make sure one has "
"been started.\n");
}
}
{
db, "tfs-tcp://localhost:21553/uri_Tutorial",
{
printf("Connected to the remote TFS using tcp/ip "
"(tfs-tcp://localhost:21553/uri_Tutorial)\n");
}
{
printf(
"Could not connect to the remote TFS, make sure one has "
"been started.\n");
}
}
{
{
printf("Connected to the remote TFS using shared memory "
"(tfs-shm://21553/uri_Tutorial)\n");
}
{
printf(
"Could not connect to the remote TFS, make sure one has "
"been started.\n");
}
}
{
{
printf("Connected to the remote TFS using default transport "
"(tfs:///uri_Tutorial)\n");
}
{
printf(
"Could not connect to the remote TFS, make sure one has "
"been started.\n");
}
}
}
{
printf(
"There was an error in this Tutorial (%s - %s)\n",
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}