GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Added bare minimum example. · ptrks/sqlite_header_parse@bcd048d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • example.c
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎example.c‎

Copy file name to clipboard
+17Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
#include <stdio.h>
3+
#include "sqlite_header.h"
4+
5+
int main()
6+
{
7+
8+
struct SqliteHeaderData sqlite_data;
9+
10+
ParseError e = get_header_information("test.db", &sqlite_data);
11+
12+
if (e == NO_ERROR) {
13+
printf("Header string from database: %s", sqlite_data.header_str);
14+
}
15+
16+
return 0;
17+
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.