Diff
Not logged in

Differences From:

File src/cgi.c part of check-in [6dab6149b1] - From the vinfo webpage, provide a hyperlink to download a ZIP archive the version. by drh on 2007-08-01 13:32:11. [view]

To:

File src/cgi.c part of check-in [a48936e834] - Changes to the way new repositories are created. Also make the CGI output blob available to all modules through a function call. by drh on 2007-08-03 23:04:05. Also file src/cgi.c part of check-in [f5e8b1d736] - Merge in and correct the changes to the new repository initialization. Also fix other misc bugs seen while testing. by drh on 2007-08-04 00:08:17. [view]

@@ -77,8 +77,15 @@
 ** Reset the HTTP reply text to be an empty string.
 */
 void cgi_reset_content(void){
   blob_reset(&cgiContent);
+}
+
+/*
+** Return a pointer to the CGI output blob.
+*/
+Blob *cgi_output_blob(void){
+  return &cgiContent;
 }
 
 /*
 ** Return a pointer to the HTTP reply text.