This is an example of version use.
#include <stdio.h>
loginDatabaseURI(
const char *databaseURI,
BtrieveClient *btrieveClient)
{
{
goto leave;
}
leave:
return status;
}
logoutDatabaseURI(
const char *databaseURI,
BtrieveClient *btrieveClient)
{
{
goto leave;
}
leave:
return status;
}
{
int i;
{
goto leave;
}
{
goto leave;
}
printf("ClientRevisionNumber = %d\n", i);
{
goto leave;
}
printf("ClientVersionNumber = %d\n", i);
{
goto leave;
}
{
goto leave;
}
printf("LocalRevisionNumber = %d\n", i);
{
goto leave;
}
printf("LocalVersionNumber = %d\n", i);
{
goto leave;
}
{
goto leave;
}
printf("RemoteRevisionNumber = %d\n", i);
{
goto leave;
}
printf("RemoteVersionNumber = %d\n", i);
{
goto leave;
}
leave:
return status;
}
int
main(int argc, char *argv[])
{
static const char *usage = "Usage: %s databaseURI\n";
char *databaseURI;
if (argc != 2)
{
printf(usage, argv[0]);
goto leave;
}
databaseURI = argv[1];
{
goto leave;
}
{
goto leave;
}
{
goto leave;
}
leave:
return 0;
return 1;
}