kioslave
kcookiejar.cpp File Reference
#include <config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <qstring.h>
#include <qstrlist.h>
#include <qptrlist.h>
#include <qptrdict.h>
#include <qfile.h>
#include <qdir.h>
#include <qregexp.h>
#include <kurl.h>
#include <krfcdate.h>
#include <kconfig.h>
#include <ksavefile.h>
#include <kdebug.h>
#include "kcookiejar.h"
Include dependency graph for kcookiejar.cpp:
Go to the source code of this file.
Defines | |
#define | IP_ADDRESS_EXPRESSION "(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" |
#define | L1(x) QString::fromLatin1(x) |
#define | MAX_COOKIES_PER_HOST 25 |
#define | READ_BUFFER_SIZE 8192 |
Typedefs | |
typedef char * | charPtr |
Functions | |
static QString | fixupDateTime (const QString &dt) |
static const char * | parseField (charPtr &buffer, bool keepQuotes=false) |
static const char * | parseNameValue (const char *header, QString &Name, QString &Value, bool keepQuotes=false, bool rfcQuotes=false) |
static void | removeDuplicateFromList (KHttpCookieList *list, KHttpCookie *cookiePtr, bool nameMatchOnly=false, bool updateWindowId=false) |
Define Documentation
#define IP_ADDRESS_EXPRESSION "(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" |
Definition at line 85 of file kcookiejar.cpp.
#define L1 | ( | x | ) | QString::fromLatin1(x) |
Definition at line 92 of file kcookiejar.cpp.
#define MAX_COOKIES_PER_HOST 25 |
Definition at line 83 of file kcookiejar.cpp.
#define READ_BUFFER_SIZE 8192 |
Definition at line 84 of file kcookiejar.cpp.
Typedef Documentation
typedef char* charPtr |
Definition at line 1340 of file kcookiejar.cpp.
Function Documentation
Definition at line 684 of file kcookiejar.cpp.
static const char* parseField | ( | charPtr & | buffer, | |
bool | keepQuotes = false | |||
) | [static] |
Definition at line 1342 of file kcookiejar.cpp.
static const char* parseNameValue | ( | const char * | header, | |
QString & | Name, | |||
QString & | Value, | |||
bool | keepQuotes = false , |
|||
bool | rfcQuotes = false | |||
) | [static] |
Definition at line 467 of file kcookiejar.cpp.
static void removeDuplicateFromList | ( | KHttpCookieList * | list, | |
KHttpCookie * | cookiePtr, | |||
bool | nameMatchOnly = false , |
|||
bool | updateWindowId = false | |||
) | [static] |
Definition at line 278 of file kcookiejar.cpp.