]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
:-) (CVS 4)
authordrh <drh@noemail.net>
Mon, 29 May 2000 18:32:16 +0000 (18:32 +0000)
committerdrh <drh@noemail.net>
Mon, 29 May 2000 18:32:16 +0000 (18:32 +0000)
FossilOrigin-Name: 1d3286702cf267857190e6082db15ba4132453d7

Makefile.in
manifest
manifest.uuid
www/c_interface.tcl

index 3084140289037dfd3b6e7170695ac21714f7f715..0bdaeae0cf48bb16344b31d767f3a7802a0a8f40 100644 (file)
@@ -115,12 +115,30 @@ TARBALL = \
 sqlite.tar.gz: 
        pwd=`pwd`; cd $(TOP)/..; tar czf $$pwd/sqlite.tar.gz $(TARBALL)
 
-index.html:    $(TOP)/www/index.tcl sqlite.tar.gz
+all.tar.gz:    
+       pwd=`pwd`; cd $(TOP)/..; tar czf $$pwd/all.tar.gz sqlite
+
+index.html:    $(TOP)/www/index.tcl sqlite.tar.gz all.tar.gz
        tclsh $(TOP)/www/index.tcl >index.html
 
 sqlite.html:   $(TOP)/www/sqlite.tcl
        tclsh $(TOP)/www/sqlite.tcl >sqlite.html
 
+c_interface.html:      $(TOP)/www/c_interface.tcl
+       tclsh $(TOP)/www/c_interface.tcl >c_interface.html
+
+# Files to be published on the website.
+#
+PUBLISH = \
+  sqlite.tar.gz \
+  all.tar.gz \
+  index.html \
+  sqlite.html \
+  c_interface.html
+
+publish:       $(PUBLISH)
+       scp hwaci@oak.he.net:public_html/sw/sqlite $(PUBLISH)
+
 clean: 
        rm -f *.o sqlite libsqlite.a sqlite.h
        rm -f lemon lempar.c parse.* sqlite.tar.gz
index 518db14eec8b417532a182f2abd1a325345667f9..8ba459f89b36ac8e13c0a9f2db02fd6a506bf119 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,6 +1,6 @@
-C :-)\s(CVS\s3)
-D 2000-05-29T18:20:15
-F Makefile.in bab6ff58d847d1b9eb25d4cbf671e4ebd0c74256
+C :-)\s(CVS\s4)
+D 2000-05-29T18:32:16
+F Makefile.in f145e2ccfb1bb63e28362fef46bd5e6b27254aec
 F configure 8faba4d0194321e5f61a64e842c65eab0f68e6d8 x
 F configure.in 4fc2947d631037bd340b112d6193847d7ac827ae
 F doc/lemon.html e233a3e97a779c7a87e1bc4528c664a58e49dd47
@@ -23,10 +23,10 @@ F tool/lempar.c a1eec94d6eacc12332368660ec65f3b248853833
 F tool/opNames.awk 2bd9071a138e4e2be13dc98fe066398a61219e1e
 F tool/opcodeDoc.awk b3a2a3d5d3075b8bd90b7afe24283efdd586659c
 F tool/renumberOps.awk 6d067177ad5f8d711b79577b462da9b3634bd0a9
-F www/c_interface.tcl 851921790368665e040d15eb33a3ca569de97643
+F www/c_interface.tcl f875864edf7974157d1c257ca08de854660882a5
 F www/index.tcl c10c625192ee9f19f186f65b90196c9cabe30936
 F www/sqlite.tcl 69674d9b8344870de7a6f059169311ebc54111f8
-P 53841c66c699665e83c933627bbe7a193cfccb6b
-R 43b99c48908500b05b2ba1dbbc4bcfec
+P 9e36a6014b9e8298d8fff71f0f1e3fd5610c30bd
+R 1cbd8abc74cbb51471478dc265470087
 U drh
-Z 1a9f5aa38de8d4363998964e8afa6610
+Z 7f395b999019989aa3907b5862f33ec4
index 38a14da1b448755b3f898c905e0c47d55e4dfe78..66ca01e853834093e2e7210cd739076c1ffb54d9 100644 (file)
@@ -1 +1 @@
-9e36a6014b9e8298d8fff71f0f1e3fd5610c30bd
\ No newline at end of file
+1d3286702cf267857190e6082db15ba4132453d7
\ No newline at end of file
index 013072c0692b1710d2fe292ef506a4a7db7f32f6..aea64f2ffc858d7e8077df0fd5d6e3b3b2c9012b 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Run this Tcl script to generate the sqlite.html file.
 #
-set rcsid {$Id: c_interface.tcl,v 1.1 2000/05/29 18:20:15 drh Exp $}
+set rcsid {$Id: c_interface.tcl,v 1.2 2000/05/29 18:32:17 drh Exp $}
 
 puts {<html>
 <head>
@@ -20,13 +20,18 @@ puts {
 a C or C++ program.  This document gives an overview of the C/C++
 programming interface.</p>
 
+<h2>The API</h2>
+
 <p>The interface to the SQLite library consists of 4 functions
 and one opaque data structure.</p>
 
 <blockquote><pre>
 typedef struct sqlite sqlite;
+
 sqlite *sqlite_open(const char *filename, int mode, char **errmsg);
+
 void sqlite_close(sqlite*);
+
 int sqlite_exec(
   sqlite*,
   char *sql,
@@ -34,6 +39,7 @@ int sqlite_exec(
   void*,
   char **errmsg
 );
+
 int sqlite_complete(const char *sql);
 </pre></blockquote>
 
@@ -130,6 +136,17 @@ returns false, then more text is required to complete the SQL statement.</p>
 <p>For the purpose of the <b>sqlite_complete()</b> function, an SQL
 statement is complete if it ends in a semicolon.</p>
 
+<h2>Usage Examples</h2>
+
+<p>For examples of how the SQLite C/C++ interface can be used,
+refer to the source code for the "sqlite" program in the
+file <b>src/shell.c</b> of the source tree.
+(Additional information about sqlite is available at
+<a href="sqlite.html">sqlite.html</a>.)
+See also the sources to the Tcl interface for SQLite in
+the source file <b>src/tclsqlite.c</b>.</p>
+}
+
 puts {
 <p><hr /></p>
 <p><a href="index.html"><img src="/goback.jpg" border=0 />