[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myserver-commit] [2996] Fixed some doxygen tags that were causing warni
From: |
Giuseppe Scrivano |
Subject: |
[myserver-commit] [2996] Fixed some doxygen tags that were causing warnings. |
Date: |
Tue, 03 Feb 2009 20:43:34 +0000 |
Revision: 2996
http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=2996
Author: gscrivano
Date: 2009-02-03 20:43:34 +0000 (Tue, 03 Feb 2009)
Log Message:
-----------
Fixed some doxygen tags that were causing warnings.
Modified Paths:
--------------
trunk/myserver/src/base/file/file.cpp
trunk/myserver/src/base/file/files_utility.cpp
trunk/myserver/src/base/files_cache/cached_file.cpp
trunk/myserver/src/base/files_cache/cached_file_factory.cpp
trunk/myserver/src/base/pipe/pipe.cpp
trunk/myserver/src/base/process/fork_server.cpp
trunk/myserver/src/base/process/process.cpp
trunk/myserver/src/base/socket_pair/socket_pair.cpp
trunk/myserver/src/base/string/stringutils.cpp
trunk/myserver/src/base/xml/xml_parser.cpp
trunk/myserver/src/conf/security/security_manager.cpp
trunk/myserver/src/conf/vhost/vhost.cpp
trunk/myserver/src/conf/vhost/vhost_manager.cpp
trunk/myserver/src/connections_scheduler/connections_scheduler.cpp
trunk/myserver/src/filter/console.cpp
trunk/myserver/src/filter/filter.cpp
trunk/myserver/src/http_handler/http_dir/http_dir.cpp
trunk/myserver/src/http_handler/http_file/http_file.cpp
trunk/myserver/src/http_handler/mscgi/mscgi.cpp
trunk/myserver/src/plugin/plugin.cpp
trunk/myserver/src/plugin/plugin_info.cpp
trunk/myserver/src/plugin/plugins_manager.cpp
trunk/myserver/src/protocol/control/control_header.cpp
trunk/myserver/src/protocol/ftp/ftp.cpp
trunk/myserver/src/protocol/http/dyn_http_command_manager.cpp
trunk/myserver/src/protocol/http/http.cpp
trunk/myserver/src/protocol/http/http_data_read.cpp
trunk/myserver/src/protocol/http/http_headers.cpp
Modified: trunk/myserver/src/base/file/file.cpp
===================================================================
--- trunk/myserver/src/base/file/file.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/base/file/file.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002, 2003, 2004, 2005, 2008 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2005, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -103,7 +103,7 @@
/*!
*Constructor for the class.
*\param nfilename Filename to open.
- *\agument opt Specify how open the file.
+ *\param opt Specify how open the file.
*/
File::File(char *nfilename, int opt)
: handle(0)
@@ -112,10 +112,10 @@
}
/*!
- *Open(or create if not exists) a file.
+ *Open (or create if not exists) a file.
*If the function have success the return value is nonzero.
*\param nfilename Filename to open.
- *\agument opt Specify how open the file.
+ *\param opt Specify how open the file.
*openFile returns 0 if the call was successful, any other value on errors.
*/
int File::openFile(const char* nfilename,u_long opt)
Modified: trunk/myserver/src/base/file/files_utility.cpp
===================================================================
--- trunk/myserver/src/base/file/files_utility.cpp 2009-02-03 17:25:48 UTC
(rev 2995)
+++ trunk/myserver/src/base/file/files_utility.cpp 2009-02-03 20:43:34 UTC
(rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software
Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -210,7 +210,6 @@
*Copy the file from [SRC] to [DEST]. Returns 0 on success.
*\param src The source File.
*\param dest The destination File.
- *\param overwrite Overwrite the dest file if already exists?
*/
int FilesUtility::copyFile(File src, File dest)
{
@@ -818,7 +817,8 @@
/*!
*Create an unique temporary file name. This function doesn't create the
*file or open it but generates only its name.
- *\param
+ *\param tid Caller thread id.
+ *\param out Output string.
*/
void FilesUtility::temporaryFileName(u_long tid, string &out)
{
Modified: trunk/myserver/src/base/files_cache/cached_file.cpp
===================================================================
--- trunk/myserver/src/base/files_cache/cached_file.cpp 2009-02-03 17:25:48 UTC
(rev 2995)
+++ trunk/myserver/src/base/files_cache/cached_file.cpp 2009-02-03 20:43:34 UTC
(rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2006, 2008 Free Software Foundation, Inc.
+Copyright (C) 2006, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -57,13 +57,7 @@
/*!
*Write data to a file is not supported by a CachedFile, return immediately -1.
*Inherithed by File.
- *buffer is the pointer to the data to write
- *buffersize is the number of byte to write
- *nbw is a pointer to an unsigned long that receive the number of the
- *bytes written correctly.
- *\param buffer The buffer where write.
- *\param buffersize The length of the buffer in bytes.
- *\param nbw How many bytes were written to the file.
+ *\see File#writeToFile.
*/
int CachedFile::writeToFile(const char* buffer, u_long buffersize, u_long* nbw)
{
@@ -74,10 +68,10 @@
*A CachedFile can't be opened directly, use a factory instead.
*If the function have success the return value is nonzero.
*\param nfilename Filename to open.
- *\agument opt Specify how open the file.
- *openFile returns 0 if the call was successfull, any other value on errors.
+ *\param opt Specify how open the file.
+ *\return 0 if the call was successfull, any other value on errors.
*/
-int CachedFile::openFile(const char* nfilename,u_long opt)
+int CachedFile::openFile(const char* nfilename, u_long opt)
{
return -1;
}
Modified: trunk/myserver/src/base/files_cache/cached_file_factory.cpp
===================================================================
--- trunk/myserver/src/base/files_cache/cached_file_factory.cpp 2009-02-03
17:25:48 UTC (rev 2995)
+++ trunk/myserver/src/base/files_cache/cached_file_factory.cpp 2009-02-03
20:43:34 UTC (rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -56,7 +56,7 @@
/*!
*Class constructor.
- *\param m Max size to use for the cache.
+ *\param size Max size to use for the cache.
*/
CachedFileFactory::CachedFileFactory(u_long size)
{
@@ -131,10 +131,11 @@
created = getTicks();
mutex.init();
}
+
/*!
*Open a new file in read-only mode, if the file is present in the cache then
*use the cache instead of a real file.
- *\param file The file name.
+ *\param filename The file name.
*/
File* CachedFileFactory::open(const char* filename)
{
Modified: trunk/myserver/src/base/pipe/pipe.cpp
===================================================================
--- trunk/myserver/src/base/pipe/pipe.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/base/pipe/pipe.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002, 2003, 2004, 2005, 2008 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2005, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -144,7 +144,7 @@
*Write from the pipe.
*\param buffer What write.
*\param len Buffer size.
- *\param nbr Get how many bytes were really written.
+ *\param nbw Get how many bytes were written.
*/
int Pipe::write(const char* buffer, u_long len, u_long *nbw)
{
@@ -276,7 +276,7 @@
*Wait until new data is ready. Do not wait more
*than the specified timeout.
*\param sec Seconds part of the timeout.
- *\param sec Micro seconds part of the timeout.
+ *\param usec Micro seconds part of the timeout.
*/
int Pipe::waitForData (int sec, int usec)
{
Modified: trunk/myserver/src/base/process/fork_server.cpp
===================================================================
--- trunk/myserver/src/base/process/fork_server.cpp 2009-02-03 17:25:48 UTC
(rev 2995)
+++ trunk/myserver/src/base/process/fork_server.cpp 2009-02-03 20:43:34 UTC
(rev 2996)
@@ -29,7 +29,7 @@
/*!
*Read a file descriptor from the specified socket.
*\param socket Socket to use.
- *\param num Integer to write.
+ *\param fd File handle to write.
*/
int ForkServer::writeFd (SocketPair *socket, FileHandle fd)
{
@@ -42,7 +42,7 @@
/*!
*Write a file descriptor on the specified socket.
*\param socket Socket to use.
- *\param num Integer to write.
+ *\param fd Pointer to the file handle that is read.
*/
int ForkServer::readFd (SocketPair *socket, FileHandle *fd)
{
Modified: trunk/myserver/src/base/process/process.cpp
===================================================================
--- trunk/myserver/src/base/process/process.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/base/process/process.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -116,7 +116,7 @@
/*!
*Generate the env array for execve.
*\param envp Enviroment variables array.
- *\param envString Enviroment values separed by '\0'.
+ *\param envString Enviroment values separed by the NULL character.
*/
int Process::generateEnvString (const char **envp, char *envString)
{
@@ -147,7 +147,6 @@
*
*\param spi new process information.
*\param waitEnd Specify if wait until the process finishes.
- *\param timeout The maximum amount to wait for the process.
*
*\return -1 on failure.
*\return the new process identifier on success.
Modified: trunk/myserver/src/base/socket_pair/socket_pair.cpp
===================================================================
--- trunk/myserver/src/base/socket_pair/socket_pair.cpp 2009-02-03 17:25:48 UTC
(rev 2995)
+++ trunk/myserver/src/base/socket_pair/socket_pair.cpp 2009-02-03 20:43:34 UTC
(rev 2996)
@@ -201,7 +201,7 @@
/*!
*Configure the server socket blocking or not blocking.
- *\param blocking The new blocking status.
+ *\param notBlocking The new non-blocking status.
*/
void SocketPair::setNonBlocking (bool notBlocking)
{
Modified: trunk/myserver/src/base/string/stringutils.cpp
===================================================================
--- trunk/myserver/src/base/string/stringutils.cpp 2009-02-03 17:25:48 UTC
(rev 2995)
+++ trunk/myserver/src/base/string/stringutils.cpp 2009-02-03 20:43:34 UTC
(rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008, 2009 Free Software
Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -823,7 +823,7 @@
}
/*!
- *Get the offset from string start of the first \r or \n.
+ *Get the offset to the first '\\r' or '\\n'.
*Returns -1 on errors.
*/
int getEndLine(const char* str, int max)
Modified: trunk/myserver/src/base/xml/xml_parser.cpp
===================================================================
--- trunk/myserver/src/base/xml/xml_parser.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/base/xml/xml_parser.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008, 2009 Free Software
Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -28,7 +28,7 @@
* Internal call back functions for saveMemBuf
* \param context Context
* \param buffer Buffer
- * \param length Length
+ * \param len Length
* \return Returns the length
*/
static int MemBufWriteCallback(void * context, const char * buffer, int len)
@@ -331,7 +331,7 @@
/**
*Evaluate an XPath expression.
- *\param query The xpath expression.
+ *\param expr The xpath expression.
*\return NULL on errors.
*\return The XmlXPathResult containing the result.
*/
Modified: trunk/myserver/src/conf/security/security_manager.cpp
===================================================================
--- trunk/myserver/src/conf/security/security_manager.cpp 2009-02-03
17:25:48 UTC (rev 2995)
+++ trunk/myserver/src/conf/security/security_manager.cpp 2009-02-03
20:43:34 UTC (rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002-2008 Free Software Foundation, Inc.
+Copyright (C) 2002-2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -80,7 +80,7 @@
*\param validatorName The validator name to find.
*\param authMethodName The auth method name to find.
*\param validator Pointer to the Validator to initialize.
- *\param validator Pointer to the AuthMethod initialize.
+ *\param authMethod Pointer to the AuthMethod initialize.
*\return 0 if the pointers were successfully initialized.
*/
int SecurityManager::getValidatorAndAuthMethod (string &validatorName,
Modified: trunk/myserver/src/conf/vhost/vhost.cpp
===================================================================
--- trunk/myserver/src/conf/vhost/vhost.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/conf/vhost/vhost.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -1,6 +1,6 @@
/*
MyServer
- Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008 Free Software Foundation,
Inc.
+ Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008, 2009 Free Software
Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -193,6 +193,7 @@
/*!
*Add an IP address to the list.
*\param ip The ip to add.
+ *\param isRegex Specify if the ip is specified as a regex.
*/
void Vhost::addIP(const char *ip, int isRegex)
{
Modified: trunk/myserver/src/conf/vhost/vhost_manager.cpp
===================================================================
--- trunk/myserver/src/conf/vhost/vhost_manager.cpp 2009-02-03 17:25:48 UTC
(rev 2995)
+++ trunk/myserver/src/conf/vhost/vhost_manager.cpp 2009-02-03 20:43:34 UTC
(rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
- Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -122,6 +122,7 @@
/*!
*VhostManager costructor.
*\param lt A ListenThreads object to use to create new threads.
+ *\param lm The log manager to use.
*/
VhostManager::VhostManager(ListenThreads* lt, LogManager* lm)
{
@@ -315,7 +316,6 @@
*Load the virtual hosts from a XML configuration file
*Returns non-null on errors.
*\param filename The XML file to open.
- *\param maxlogSize The maximum dimension for the log file.
*/
int VhostManager::loadXMLConfigurationFile(const char *filename)
{
Modified: trunk/myserver/src/connections_scheduler/connections_scheduler.cpp
===================================================================
--- trunk/myserver/src/connections_scheduler/connections_scheduler.cpp
2009-02-03 17:25:48 UTC (rev 2995)
+++ trunk/myserver/src/connections_scheduler/connections_scheduler.cpp
2009-02-03 20:43:34 UTC (rev 2996)
@@ -166,7 +166,6 @@
*Add a listener socket to the event queue.
*This is used to renew the event after the listener thread is notified.
*
- *\param sock Listening socket.
*\param la Structure containing an Event to be notified on new data.
*/
void ConnectionsScheduler::listener(ConnectionsScheduler::ListenerArg *la)
Modified: trunk/myserver/src/filter/console.cpp
===================================================================
--- trunk/myserver/src/filter/console.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/filter/console.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -1,6 +1,6 @@
/*
MyServer
- Copyright (C) 2006, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -152,7 +152,7 @@
/*!
* Set the attributes for the console text.
- * \param c[0] holds the foreground color, c[1] the background one.
+ * \param c c[0] holds the foreground color, c[1] the background one.
* \return 0 on success, 1 on error.
*/
int
Modified: trunk/myserver/src/filter/filter.cpp
===================================================================
--- trunk/myserver/src/filter/filter.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/filter/filter.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -26,7 +26,7 @@
/*!
*Read [len] characters using the filter. Returns -1 on errors.
- *\argument buffer The buffer where receive read data.
+ *\param buffer The buffer where receive read data.
*\param len The buffer length in bytes.
*\param nbr A pointer to receive the number of read bytes.
*/
Modified: trunk/myserver/src/http_handler/http_dir/http_dir.cpp
===================================================================
--- trunk/myserver/src/http_handler/http_dir/http_dir.cpp 2009-02-03
17:25:48 UTC (rev 2995)
+++ trunk/myserver/src/http_handler/http_dir/http_dir.cpp 2009-02-03
20:43:34 UTC (rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -217,8 +217,7 @@
*Generate the HTML code for an element in the result table.
*\param out Buffer where write the HTML.
*\param file Structure with information on the element.
- *\param uriEndWithSlash Specify if the requested resource
- *ends with a slash.
+ *\param linkPrefix Prefix to use for the generated links.
*\param formatString Specify which element show.
*/
void HttpDir::generateElement (MemBuf &out,
@@ -287,12 +286,13 @@
*\param td The current thread context.
*\param s The current connection structure.
*\param directory Directory to show.
- *\param cgi non used.
+ *\param cgi not used.
+ *\param execute not used.
*\param onlyHeader Specify if send only the HTTP header.
*/
int HttpDir::send(HttpThreadContext* td, ConnectionPtr s,
- const char* directory, const char* /*cgi*/,
- int /*execute*/, int onlyHeader)
+ const char* directory, const char* cgi,
+ int execute, int onlyHeader)
{
u_long nbw;
string filename;
@@ -648,7 +648,7 @@
/*!
*Format a string to html.
- *\param name String to convert.
+ *\param in String to convert.
*\param out HTML converted string.
*/
void HttpDir::formatHtml(string& in, string& out)
Modified: trunk/myserver/src/http_handler/http_file/http_file.cpp
===================================================================
--- trunk/myserver/src/http_handler/http_file/http_file.cpp 2009-02-03
17:25:48 UTC (rev 2995)
+++ trunk/myserver/src/http_handler/http_file/http_file.cpp 2009-02-03
20:43:34 UTC (rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -46,11 +46,12 @@
*\param s A pointer to the connection.
*\param filenamePath The path of the static file to send.
*\param exec Not used.
+ *\param execute Not used.
*\param onlyHeader Specify if send only the HTTP header.
*/
int HttpFile::send(HttpThreadContext* td, ConnectionPtr s,
- const char *filenamePath, const char* /*exec*/,
- int /*execute*/, int onlyHeader)
+ const char *filenamePath, const char* exec,
+ int execute, int onlyHeader)
{
/*
*With this routine we send a file through the HTTP protocol.
@@ -559,7 +560,7 @@
*Load the static elements.
*\param confFile Not used.
*/
-int HttpFile::load(XmlParser* /*confFile*/)
+int HttpFile::load(XmlParser* confFile)
{
return 0;
}
Modified: trunk/myserver/src/http_handler/mscgi/mscgi.cpp
===================================================================
--- trunk/myserver/src/http_handler/mscgi/mscgi.cpp 2009-02-03 17:25:48 UTC
(rev 2995)
+++ trunk/myserver/src/http_handler/mscgi/mscgi.cpp 2009-02-03 20:43:34 UTC
(rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008, 2009 Free Software
Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -233,7 +233,7 @@
*Map the library in the application address space.
*\param confFile The xml parser with configuration.
*/
-int MsCgi::load(XmlParser* /*confFile*/)
+int MsCgi::load(XmlParser* confFile)
{
return 1;
}
Modified: trunk/myserver/src/plugin/plugin.cpp
===================================================================
--- trunk/myserver/src/plugin/plugin.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/plugin/plugin.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -76,7 +76,6 @@
/*!
*Post load initialization. This is called once all the plugins are loaded.
- *\param file The filename to load.
*\param server The server instance to use.
*\param languageFile The language file to use to retrieve warnings/errors
*messages.
Modified: trunk/myserver/src/plugin/plugin_info.cpp
===================================================================
--- trunk/myserver/src/plugin/plugin_info.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/plugin/plugin_info.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -67,8 +67,10 @@
}
/*!
- * Adds a dependece to the plugin.
+ * Adds a dependence to the plugin.
*\param name plugin name
+ *\param minVersion min version for the dependence.
+ *\param maxVersion max version for the dependence.
*/
void PluginInfo::addDependence(string name, int minVersion, int maxVersion)
{
@@ -193,4 +195,4 @@
}
return (n1<<24) + (n2<<16) + (n3<<8) + n4;
-}
\ No newline at end of file
+}
Modified: trunk/myserver/src/plugin/plugins_manager.cpp
===================================================================
--- trunk/myserver/src/plugin/plugins_manager.cpp 2009-02-03 17:25:48 UTC
(rev 2995)
+++ trunk/myserver/src/plugin/plugins_manager.cpp 2009-02-03 20:43:34 UTC
(rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -500,7 +500,7 @@
/*!
*Add a plugin option structure.
*\param plugin The plugin name.
- *\param po The options for the plugin.
+ *\param pi The options for the plugin.
*/
int PluginsManager::addPluginInfo(string& plugin, PluginInfo* pi)
{
@@ -514,7 +514,7 @@
/*!
*Return a pluginOption.
- *\param name The plugin name.
+ *\param plugin The plugin name.
*/
PluginInfo* PluginsManager::getPluginInfo(string& plugin)
{
Modified: trunk/myserver/src/protocol/control/control_header.cpp
===================================================================
--- trunk/myserver/src/protocol/control/control_header.cpp 2009-02-03
17:25:48 UTC (rev 2995)
+++ trunk/myserver/src/protocol/control/control_header.cpp 2009-02-03
20:43:34 UTC (rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -124,14 +124,16 @@
*Parse the header in buffer. Put the effective length of the header in len.
*Return a control_error. See protocol/control/control_errors.h to have a list
of all errors.
*Return -1 on an incomplete header.
- *The header has this form:
- *_/CMD VERSION more_options\r\n
- *_/AUTH name:password\r\n
- *_/LEN length of data\r\n
+ *
+ *The header has this form (where CR is carriage return and NL a newline):
+ *
+ *"_/CMD VERSION more_optionsCRNL"
+ *"_/AUTH name:passwordCRNL"
+ *"_/LEN length of dataCRNL"
*_***
*_Additional fields.(Not used now)
*_***
- *_\r\n -> Header ends with a \r\n.
+ *_"CRNL" -> Header ends with a "CRNL".
*_Data...
*/
int ControlHeader::parse_header(char *buffer, int bufferlen, int *len)
Modified: trunk/myserver/src/protocol/ftp/ftp.cpp
===================================================================
--- trunk/myserver/src/protocol/ftp/ftp.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/protocol/ftp/ftp.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software
Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
Foundation, Inc.
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
the Free Software Foundation; either version 2 of the License, or
@@ -1976,8 +1976,8 @@
* WONTx -> ignore
* IACx -> ignore
* IACIAC -> IAC
- *\param szIn client's requests
- *\param szOut client's requests without telnet codes
+ *\param In client's requests
+ *\param Out client's requests without telnet codes
*/
void Ftp::EscapeTelnet(MemBuf &In, MemBuf &Out)
{
@@ -2028,8 +2028,8 @@
/*!
*Let only first cmd to be handled.
- *\param szIn client's requests
- *\param szOut client's requests without telnet codes
+ *\param In client's requests
+ *\param Out client's requests without telnet codes
*/
void Ftp::RemovePipelinedCmds(MemBuf &In, MemBuf &Out)
{
Modified: trunk/myserver/src/protocol/http/dyn_http_command_manager.cpp
===================================================================
--- trunk/myserver/src/protocol/http/dyn_http_command_manager.cpp
2009-02-03 17:25:48 UTC (rev 2995)
+++ trunk/myserver/src/protocol/http/dyn_http_command_manager.cpp
2009-02-03 20:43:34 UTC (rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -50,9 +50,9 @@
/*!
*Add the DynamicHttpCommand.
*\param name http command name.
- *\param httpManager http command to add.
+ *\param httpCommand http command to add.
*/
void DynHttpCommandManager::addHttpCommand(string& name, DynamicHttpCommand*
httpCommand)
{
dynamicHttpCommands.put(name,httpCommand);
-}
\ No newline at end of file
+}
Modified: trunk/myserver/src/protocol/http/http.cpp
===================================================================
--- trunk/myserver/src/protocol/http/http.cpp 2009-02-03 17:25:48 UTC (rev
2995)
+++ trunk/myserver/src/protocol/http/http.cpp 2009-02-03 20:43:34 UTC (rev
2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002-2008 Free Software Foundation, Inc.
+Copyright (C) 2002-2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -367,6 +367,9 @@
/*!
*Get the file permissions mask.
*\param filename Resource to access.
+ *\param directory Directory where the resource is.
+ *\param file The file specified by the resource.
+ *\param filenamePath Complete path to the file.
*\param yetmapped Is the resource mapped to the localfilesystem?
*\param permissions Permission mask for this resource.
*\return Return 200 on success.
Modified: trunk/myserver/src/protocol/http/http_data_read.cpp
===================================================================
--- trunk/myserver/src/protocol/http/http_data_read.cpp 2009-02-03 17:25:48 UTC
(rev 2995)
+++ trunk/myserver/src/protocol/http/http_data_read.cpp 2009-02-03 20:43:34 UTC
(rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002-2008 Free Software Foundation, Inc.
+Copyright (C) 2002-2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -113,6 +113,7 @@
*\param outBufferSize outBuffer size.
*\param outNbr Number of bytes read.
*\param timeout Timeout value to use on the socket.
+ *\param out Output file.
*\return Return 0 on success.
*\return -1 on internal error.
*\return Any other value is the HTTP error code.
Modified: trunk/myserver/src/protocol/http/http_headers.cpp
===================================================================
--- trunk/myserver/src/protocol/http/http_headers.cpp 2009-02-03 17:25:48 UTC
(rev 2995)
+++ trunk/myserver/src/protocol/http/http_headers.cpp 2009-02-03 20:43:34 UTC
(rev 2996)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002, 2003, 2004, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2007, 2008, 2009 Free Software Foundation, Inc.
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
the Free Software Foundation; either version 3 of the License, or
@@ -409,7 +409,7 @@
*\param inputSize Size of the buffer
*\param nHeaderChars Real size of the header.
*\param request HTTP request structure to fullfill with data.
- *\param td the current executing thread context.
+ *\param connection The current connection.
*/
int HttpHeaders::buildHTTPRequestHeaderStruct(const char* input,
u_long inputSize,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [myserver-commit] [2996] Fixed some doxygen tags that were causing warnings.,
Giuseppe Scrivano <=