About half way through switching cocanwiki to using the new PG interface.
[cocanwiki.git] / scripts / lib / cocanwiki_links.mli
index 59d0c0c..09ea363 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_links.mli,v 1.1 2004/10/21 11:42:05 rich Exp $
+ * $Id: cocanwiki_links.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
@@ -19,8 +19,7 @@
  * Boston, MA 02111-1307, USA.
  *)
 
-val get_links_from_section : Dbi.connection -> int -> string -> string list
-val update_links_for_page : Dbi.connection -> int -> string -> unit
-val insert_link : Dbi.connection -> int -> string -> string -> unit
-
-val what_links_here : Dbi.connection -> int -> string -> (string * string) list
+val get_links_from_section : PGOCaml.pa_pg_data PGOCaml.t -> int32 -> string -> string list
+val update_links_for_page : PGOCaml.pa_pg_data PGOCaml.t -> int32 -> string -> unit
+val insert_link : PGOCaml.pa_pg_data PGOCaml.t -> int32 -> string -> string -> unit
+val what_links_here : PGOCaml.pa_pg_data PGOCaml.t -> int32 -> string -> (string * string) list