#include "circular_table_structs.h"
#include "circular_table_cat.h"
#include <stdio.h>
#include <stdlib.h>
int32_t main_circular_tableTutorial (int32_t argc, const char *const *argv)
{
{
{
{
}
{
uint32_t ii;
{
{
printf ("I can't open the circular_table database.");
}
}
{
db, tables,
RDM_LEN (tables), NULL, 0, NULL);
}
{
{
}
else
{
}
}
{
db, tables,
RDM_LEN (tables), NULL, 0, NULL);
{
db, TABLE_ALBUM, &albums[ii], sizeof (albums[ii]),
NULL);
{
}
else
{
}
}
{
printf ("\nDUMPING ALL ROWS\n");
}
{
db, tables,
RDM_LEN (tables), NULL);
{
{
ALBUM sAlbum;
cursor, &sAlbum, sizeof (sAlbum), NULL);
{
printf (" %s\n", sAlbum.artist);
}
}
{
}
}
}
}
}
}
}
{
printf (
"There was an error in this Tutorial (%s - %s)\n",
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}