About half way through switching cocanwiki to using the new PG interface.
[cocanwiki.git] / scripts / lib / wikilib.mli
index 17ce9c8..d1b0c57 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI - a wiki written in Objective CAML.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: wikilib.mli,v 1.1 2004/10/21 11:42:05 rich Exp $
+ * $Id: wikilib.mli,v 1.2 2006/03/27 16:43:44 rich Exp $
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -24,8 +24,8 @@ type genurl_error_t = GenURL_OK of string
                    | GenURL_BadURL
                    | GenURL_Duplicate of string
 
-val generate_url_of_title : Dbi.connection -> int -> string -> genurl_error_t
+val generate_url_of_title : PGOCaml.pa_pg_data PGOCaml.t -> int32 -> string -> genurl_error_t
 
-val xhtml_of_content : Dbi.connection -> int -> string -> string
+val xhtml_of_content : PGOCaml.pa_pg_data PGOCaml.t -> int32 -> string -> string
 
 val text_of_xhtml : string -> string