Factored out the 'what links here' code into cocanwiki_links library.
[cocanwiki.git] / scripts / cocanwiki_links.mli
index 0970b41..de2b615 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/09/28 10:56:39 rich Exp $
+ * $Id: cocanwiki_links.mli,v 1.3 2004/10/10 14:44:50 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
@@ -20,3 +20,7 @@
  *)
 
 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