Branch: Tag:

2001-08-23

2001-08-23 18:06:07 by Martin Nilsson <mani@lysator.liu.se>

Autodoc fixes.

Rev: server/base_server/basic_defvar.pike:1.29
Rev: server/base_server/configuration.pike:1.468
Rev: server/base_server/emit_object.pike:1.4
Rev: server/base_server/fonts.pike:1.75
Rev: server/base_server/module.pike:1.125
Rev: server/base_server/prototypes.pike:1.32
Rev: server/base_server/roxen.pike:1.711
Rev: server/base_server/roxenloader.pike:1.277
Rev: server/base_server/snmpagent.pike:1.12

1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS. - // $Id: module.pike,v 1.124 2001/08/14 15:11:26 per Exp $ + // $Id: module.pike,v 1.125 2001/08/23 18:05:05 nilsson Exp $      #include <module_constants.h>   #include <module.h>
177:   }      ModuleInfo my_moduleinfo( ) - //! Returns the associated @ref{ModuleInfo} object + //! Returns the associated @[ModuleInfo] object   {    string f = sname();    if( f ) return roxen.find_module( (f/"#")[0] );
451:   //! In the first form, @[name] is the (postfix of) the name of the   //! table, and @[types] is an array of defenitions, as an example:   //! - //! @example{ + //! @code{   //! cache_table = get_my_table( "cache", ({   //! "id INT UNSIGNED AUTO_INCREMENT",   //! "data BLOB",   //! }) ); - //! @} + //! @}   //!   //! In the second form, the whole table defenition is instead sent as   //! a string. The cases where the name is not included (the third and
464:   //!   //! If the table does not exist in the datbase, it is created.   //! + //! @note + //! This function may not be called from create + //   // If it exists, but it's defenition is different, the table will be   // altered with a ALTER TABLE call to conform to the defenition. This   // might not work if the database the table resides in is not a MySQL   // database (normally it is, but it's possible, using @[set_my_db],   // to change this). - // - //! @note This function may not be called from create +    {    string oname;    if( !defenition )
529:    return __my_tables[ "&"+oname+";" ] = res;   }    -  -  -  -  +    static string my_db = "shared"; -  +    static void set_my_db( string to )   //! Select the database in which tables will be created with   //! get_my_table, and also the one that will be returned by