#pragma ident "%Z%%M% %I% %E% SMI"
/*
** A utility for printing an SQLite database journal.
*/
#include <stdio.h>
#include <ctype.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
static int mxPage = 0;
static void out_of_memory(void){
exit(1);
}
unsigned char *aData;
int i, j;
if( aData==0 ) out_of_memory();
for(i=0; i<pagesize; i += 16){
for(j=0; j<16; j++){
}
for(j=0; j<16; j++){
}
}
}
unsigned int u;
int rc;
unsigned char zBuf2[sizeof(u)];
if( argc!=2 ){
exit(1);
}
if( db<0 ){
exit(1);
}
printf("Records in Journal: %u\n", u);
printf("Magic Number: 0x%08x\n", u);
}
printf("Database Size: %u\n", u);
print_page(u);
printf("Checksum: 0x%08x\n", u);
}
}
}