| CgiEnvironment.h | | CgiEnvironment.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: CgiEnvironment.h,v 1.9 2001/09/05 02:18:28 sbooth Exp $ | | * $Id: CgiEnvironment.h,v 1.12 2002/03/06 02:46:21 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 44 | | skipping to change at line 44 | |
| * contains the \c GET or \c POST data along with all environment variables | | * contains the \c GET or \c POST data along with all environment variables | |
| * set by the HTTP server specified in the CGI specification. | | * set by the HTTP server specified in the CGI specification. | |
| */ | | */ | |
| | | | |
| #include <string> | | #include <string> | |
| #include <vector> | | #include <vector> | |
| #include <cstdlib> | | #include <cstdlib> | |
| | | | |
| #include "cgicc/CgiDefs.h" | | #include "cgicc/CgiDefs.h" | |
| #include "cgicc/CgiUtils.h" | | #include "cgicc/CgiUtils.h" | |
|
| | | #include "cgicc/CgiInput.h" | |
| #include "cgicc/HTTPCookie.h" | | #include "cgicc/HTTPCookie.h" | |
| | | | |
| CGICC_BEGIN_NAMESPACE | | CGICC_BEGIN_NAMESPACE | |
| | | | |
|
| //! A stream-reader function, for FastCGI compatibility | | | |
| typedef size_t (* reader_function_t)(void *, size_t); | | | |
| | | | |
| #ifdef WIN32 | | #ifdef WIN32 | |
| template class CGICC_API STDNS vector<HTTPCookie>; | | template class CGICC_API STDNS vector<HTTPCookie>; | |
| #endif | | #endif | |
| | | | |
| // ============================================================ | | // ============================================================ | |
| // Iterator typedefs | | // Iterator typedefs | |
| // ============================================================ | | // ============================================================ | |
| | | | |
| //! A vector of HTTPCookie objects | | //! A vector of HTTPCookie objects | |
| typedef STDNS vector<HTTPCookie>::iterator cookie_iterator; | | typedef STDNS vector<HTTPCookie>::iterator cookie_iterator; | |
| | | | |
| skipping to change at line 94 | | skipping to change at line 92 | |
| /*! \name Constructor and Destructor */ | | /*! \name Constructor and Destructor */ | |
| //@{ | | //@{ | |
| | | | |
| /*! | | /*! | |
| * \brief Read in the CGI environment passed to the CGI application | | * \brief Read in the CGI environment passed to the CGI application | |
| * by the server | | * by the server | |
| * | | * | |
| * This function is not usually called directly; instead, an object of ty
pe | | * This function is not usually called directly; instead, an object of ty
pe | |
| * CgiEnvironment is retrieved by calling the \c getEnvironment() method | | * CgiEnvironment is retrieved by calling the \c getEnvironment() method | |
| * on Cgicc. | | * on Cgicc. | |
|
| * \param stream_reader \c 0 for \c cout, or a valid FastCGI reader funct | | * If you are using %cgicc with FastCGI, you will need to pass | |
| ion | | * a \c CgiInput subclass that %cgicc will use to read input. If | |
| | | * \c input is omitted, standard input and environment | |
| | | * variables will be used. | |
| | | * \param input A CgiInput object to use for reading input | |
| * \see Cgicc::getEnvironment | | * \see Cgicc::getEnvironment | |
| */ | | */ | |
|
| CgiEnvironment(reader_function_t stream_reader); | | CgiEnvironment(CgiInput *input); | |
| | | | |
| /*! | | /*! | |
| * \brief Destructor | | * \brief Destructor | |
| * | | * | |
| * Delete this CgiEnvironment object | | * Delete this CgiEnvironment object | |
| */ | | */ | |
| ~CgiEnvironment(); | | ~CgiEnvironment(); | |
| //@} | | //@} | |
| | | | |
| // ============================================================ | | // ============================================================ | |
| | | | |
| skipping to change at line 488 | | skipping to change at line 490 | |
| // Parse the list of cookies from a string to a vector | | // Parse the list of cookies from a string to a vector | |
| void | | void | |
| parseCookies(); | | parseCookies(); | |
| | | | |
| // Parse a single cookie string (name=value) pair | | // Parse a single cookie string (name=value) pair | |
| void | | void | |
| parseCookie(const STDNS string& data); | | parseCookie(const STDNS string& data); | |
| | | | |
| // Read in all the environment variables | | // Read in all the environment variables | |
| void | | void | |
|
| readEnvironmentVariables(); | | readEnvironmentVariables(CgiInput *input); | |
| | | | |
| unsigned long fServerPort; | | unsigned long fServerPort; | |
| unsigned long fContentLength; | | unsigned long fContentLength; | |
| bool fUsingHTTPS; | | bool fUsingHTTPS; | |
| STDNS string fServerSoftware; | | STDNS string fServerSoftware; | |
| STDNS string fServerName; | | STDNS string fServerName; | |
| STDNS string fGatewayInterface; | | STDNS string fGatewayInterface; | |
| STDNS string fServerProtocol; | | STDNS string fServerProtocol; | |
| STDNS string fRequestMethod; | | STDNS string fRequestMethod; | |
| STDNS string fPathInfo; | | STDNS string fPathInfo; | |
| | | | |
End of changes. 7 change blocks. |
| 9 lines changed or deleted | | 10 lines changed or added | |
|
| CgiUtils.h | | CgiUtils.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: CgiUtils.h,v 1.4 2001/09/03 16:19:51 sbooth Exp $ | | * $Id: CgiUtils.h,v 1.5 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| Cgicc.h | | Cgicc.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: Cgicc.h,v 1.7 2001/09/02 19:53:17 sbooth Exp $ | | * $Id: Cgicc.h,v 1.11 2002/03/09 18:34:18 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| */ | | */ | |
| | | | |
| #ifndef _CGICC_H_ | | #ifndef _CGICC_H_ | |
| #define _CGICC_H_ 1 | | #define _CGICC_H_ 1 | |
| | | | |
| #ifdef __GNUG__ | | #ifdef __GNUG__ | |
| # pragma interface | | # pragma interface | |
| #endif | | #endif | |
| | | | |
| /*! \file Cgicc.h | | /*! \file Cgicc.h | |
|
| * The main header file for the GNU cgicc library | | * \brief The main header file for the GNU %cgicc library | |
| */ | | */ | |
| | | | |
| /* | | /* | |
| * The GNU cgicc library, by Stephen F. Booth <sbooth@gnu.org> | | * The GNU cgicc library, by Stephen F. Booth <sbooth@gnu.org> | |
|
| | | * http://www.cgicc.org | |
| * | | * | |
| * The latest version can be found on your closest GNU mirror site. | | * The latest version can be found on your closest GNU mirror site. | |
| * Please mail bug reports to <bug-cgicc@gnu.org> | | * Please mail bug reports to <bug-cgicc@gnu.org> | |
| */ | | */ | |
| | | | |
| #include <vector> | | #include <vector> | |
| #include <string> | | #include <string> | |
| | | | |
| #include "cgicc/CgiDefs.h" | | #include "cgicc/CgiDefs.h" | |
| #include "cgicc/FormEntry.h" | | #include "cgicc/FormEntry.h" | |
| #include "cgicc/FormFile.h" | | #include "cgicc/FormFile.h" | |
|
| | | #include "cgicc/CgiInput.h" | |
| #include "cgicc/CgiEnvironment.h" | | #include "cgicc/CgiEnvironment.h" | |
| | | | |
| CGICC_BEGIN_NAMESPACE | | CGICC_BEGIN_NAMESPACE | |
| | | | |
| #ifdef WIN32 | | #ifdef WIN32 | |
| template class CGICC_API STDNS vector<FormEntry>; | | template class CGICC_API STDNS vector<FormEntry>; | |
| template class CGICC_API STDNS vector<FormFile>; | | template class CGICC_API STDNS vector<FormFile>; | |
| #endif | | #endif | |
| | | | |
| class MultipartHeader; | | class MultipartHeader; | |
| | | | |
| skipping to change at line 111 | | skipping to change at line 113 | |
| | | | |
| // ============================================================ | | // ============================================================ | |
| | | | |
| /*! \name Constructor and Destructor */ | | /*! \name Constructor and Destructor */ | |
| //@{ | | //@{ | |
| | | | |
| /*! | | /*! | |
| * \brief Constructor | | * \brief Constructor | |
| * | | * | |
| * If you are using %cgicc with FastCGI, you will need to pass | | * If you are using %cgicc with FastCGI, you will need to pass | |
|
| * a \c reader_function_t that %cgicc will use to read input. If | | * a \c CgiInput subclass that %cgicc will use to read input. If | |
| * \c stream_reader is omitted or \c NULL, standard input will be used. | | * \c input is omitted, standard input and environment | |
| * \param stream_reader A reader_function_t to use for reading input | | * variables will be used. | |
| | | * \param input A CgiInput object to use for reading input | |
| */ | | */ | |
|
| Cgicc(reader_function_t stream_reader = NULL); | | Cgicc(CgiInput *input = 0); | |
| | | | |
| /*! | | /*! | |
| * \brief Destructor | | * \brief Destructor | |
| * | | * | |
| * Delete this Cgicc object | | * Delete this Cgicc object | |
| */ | | */ | |
| ~Cgicc(); | | ~Cgicc(); | |
| //@} | | //@} | |
| | | | |
| // ============================================================ | | // ============================================================ | |
| | | | |
End of changes. 7 change blocks. |
| 7 lines changed or deleted | | 10 lines changed or added | |
|
| FormEntry.h | | FormEntry.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: FormEntry.h,v 1.4 2001/09/02 19:53:17 sbooth Exp $ | | * $Id: FormEntry.h,v 1.5 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| FormFile.h | | FormFile.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: FormFile.h,v 1.5 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: FormFile.h,v 1.6 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTMLAtomicElement.h | | HTMLAtomicElement.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTMLAtomicElement.h,v 1.1 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: HTMLAtomicElement.h,v 1.2 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTMLAttribute.h | | HTMLAttribute.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTMLAttribute.h,v 1.2 2001/09/05 02:16:59 sbooth Exp $ | | * $Id: HTMLAttribute.h,v 1.3 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTMLAttributeList.h | | HTMLAttributeList.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTMLAttributeList.h,v 1.1 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: HTMLAttributeList.h,v 1.2 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTMLBooleanElement.h | | HTMLBooleanElement.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTMLBooleanElement.h,v 1.1 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: HTMLBooleanElement.h,v 1.2 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTMLClasses.h | | HTMLClasses.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTMLClasses.h,v 1.8 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: HTMLClasses.h,v 1.9 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTMLDoctype.h | | HTMLDoctype.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTMLDoctype.h,v 1.2 2001/09/05 02:18:28 sbooth Exp $ | | * $Id: HTMLDoctype.h,v 1.3 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTMLElement.h | | HTMLElement.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTMLElement.h,v 1.1 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: HTMLElement.h,v 1.2 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTMLElementList.h | | HTMLElementList.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTMLElementList.h,v 1.2 2001/09/05 02:16:59 sbooth Exp $ | | * $Id: HTMLElementList.h,v 1.3 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTTPContentHeader.h | | HTTPContentHeader.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTTPContentHeader.h,v 1.1 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: HTTPContentHeader.h,v 1.2 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTTPCookie.h | | HTTPCookie.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTTPCookie.h,v 1.1 2001/09/03 16:15:44 sbooth Exp $ | | * $Id: HTTPCookie.h,v 1.3 2002/03/09 18:34:18 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| */ | | */ | |
| | | | |
| #ifndef _HTTPCOOKIE_H_ | | #ifndef _HTTPCOOKIE_H_ | |
| #define _HTTPCOOKIE_H_ 1 | | #define _HTTPCOOKIE_H_ 1 | |
| | | | |
| #ifdef __GNUG__ | | #ifdef __GNUG__ | |
| # pragma interface | | # pragma interface | |
| #endif | | #endif | |
| | | | |
| /*! \file HTTPCookie.h | | /*! \file HTTPCookie.h | |
|
| * \brief | | * \brief An HTTP Cookie | |
| */ | | */ | |
| | | | |
| #include <string> | | #include <string> | |
| | | | |
| #include "cgicc/MStreamable.h" | | #include "cgicc/MStreamable.h" | |
| #include "cgicc/CgiDefs.h" | | #include "cgicc/CgiDefs.h" | |
| | | | |
| CGICC_BEGIN_NAMESPACE | | CGICC_BEGIN_NAMESPACE | |
| | | | |
| // ============================================================ | | // ============================================================ | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|
| HTTPHTMLHeader.h | | HTTPHTMLHeader.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTTPHTMLHeader.h,v 1.1 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: HTTPHTMLHeader.h,v 1.2 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTTPHeader.h | | HTTPHeader.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTTPHeader.h,v 1.3 2002/01/09 15:04:28 sbooth Exp $ | | * $Id: HTTPHeader.h,v 1.4 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTTPPlainHeader.h | | HTTPPlainHeader.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTTPPlainHeader.h,v 1.1 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: HTTPPlainHeader.h,v 1.2 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTTPRedirectHeader.h | | HTTPRedirectHeader.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTTPRedirectHeader.h,v 1.1 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: HTTPRedirectHeader.h,v 1.2 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTTPResponseHeader.h | | HTTPResponseHeader.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTTPResponseHeader.h,v 1.2 2001/09/05 02:16:59 sbooth Exp $ | | * $Id: HTTPResponseHeader.h,v 1.3 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| HTTPStatusHeader.h | | HTTPStatusHeader.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: HTTPStatusHeader.h,v 1.1 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: HTTPStatusHeader.h,v 1.2 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| MStreamable.h | | MStreamable.h | |
| /* -*-c++-*- */ | | /* -*-c++-*- */ | |
| /* | | /* | |
|
| * $Id: MStreamable.h,v 1.6 2001/09/03 22:06:39 sbooth Exp $ | | * $Id: MStreamable.h,v 1.7 2002/03/06 02:49:55 sbooth Exp $ | |
| * | | * | |
|
| * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Stephen F. Booth | | * Copyright (C) 1996 - 2002 Stephen F. Booth | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|