X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fcocanwiki.ml;h=56645826b4247d906f4bf84adc2c1cc31ada00b9;hb=aa707ecceaeb33816feb249f7f68423c1e5ee697;hp=981379f7756caee8720387b8b251bb93b8ecf74f;hpb=50799fee9a4c3906fe0ab9988df83af2109fa269;p=cocanwiki.git diff --git a/scripts/cocanwiki.ml b/scripts/cocanwiki.ml index 981379f..5664582 100644 --- a/scripts/cocanwiki.ml +++ b/scripts/cocanwiki.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: cocanwiki.ml,v 1.14 2004/10/04 15:19:56 rich Exp $ + * $Id: cocanwiki.ml,v 1.15 2004/10/07 16:54:24 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 @@ -218,3 +218,7 @@ let linkname_of_sectionname str = if not (isalnum str.[i]) then str.[i] <- '_' done; str + +(* List of extensions currently registered. *) +type extension_t = Dbi.connection -> int -> string -> string +let extensions = ref ([] : (string * extension_t) list)