Fix bug which occurs when creating a new page. We weren't catching
[cocanwiki.git] / scripts / lib / cocanwiki_links.mli
index 09ea363..0b76b0f 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.2 2006/03/27 16:43:44 rich Exp $
+ * $Id: cocanwiki_links.mli,v 1.3 2006/07/27 16:46:55 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,7 +19,7 @@
  * Boston, MA 02111-1307, USA.
  *)
 
-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 get_links_from_section : Apache.Request.t -> PGOCaml.pa_pg_data PGOCaml.t -> int32 -> string -> string list
+val update_links_for_page : Apache.Request.t -> 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