About half way through switching cocanwiki to using the new PG interface.
[cocanwiki.git] / scripts / lib / cocanwiki_diff.mli
index 6bbeb71..3f278dd 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: cocanwiki_diff.mli,v 1.2 2004/11/01 12:57:53 rich Exp $
+ * $Id: cocanwiki_diff.mli,v 1.3 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
@@ -23,7 +23,7 @@ val page_for_diff : string -> (string * string) list -> string
 
 val diff_cmd : string -> string -> string
 
-val get_version_for_diff : Dbi.connection -> int -> string
+val get_version_for_diff : PGOCaml.pa_pg_data PGOCaml.t -> int32 -> string
 
-val get_diff : Dbi.connection -> int ->
-  string -> ?old_version:int -> version:int -> unit -> string * int
+val get_diff : PGOCaml.pa_pg_data PGOCaml.t -> int32 ->
+  string -> ?old_version:int32 -> version:int32 -> unit -> string * int32