KIOSlave
kcookiejar.cpp File Reference
#include "kcookiejar.h"
#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 <QtCore/QString>
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QtCore/QRegExp>
#include <QtCore/QTextStream>
#include <kurl.h>
#include <kdatetime.h>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <ksavefile.h>
#include <kdebug.h>
#include <algorithm>

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 |
Functions | |
static bool | compareCookies (const KHttpCookie &item1, const KHttpCookie &item2) |
static QString | fixupDateTime (const QString &date) |
QDebug | operator<< (QDebug dbg, const KHttpCookieList &list) |
QDebug | operator<< (QDebug dbg, const KHttpCookie &cookie) |
static const char * | parseField (char *&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 84 of file kcookiejar.cpp.
#define L1 | ( | x | ) | QString::fromLatin1(x) |
Definition at line 91 of file kcookiejar.cpp.
#define MAX_COOKIES_PER_HOST 25 |
Definition at line 82 of file kcookiejar.cpp.
#define READ_BUFFER_SIZE 8192 |
Definition at line 83 of file kcookiejar.cpp.
Function Documentation
static bool compareCookies | ( | const KHttpCookie & | item1, | |
const KHttpCookie & | item2 | |||
) | [static] |
Definition at line 889 of file kcookiejar.cpp.
Definition at line 647 of file kcookiejar.cpp.
QDebug operator<< | ( | QDebug | dbg, | |
const KHttpCookieList & | list | |||
) |
Definition at line 1520 of file kcookiejar.cpp.
QDebug operator<< | ( | QDebug | dbg, | |
const KHttpCookie & | cookie | |||
) |
Definition at line 1514 of file kcookiejar.cpp.
static const char* parseField | ( | char *& | buffer, | |
bool | keepQuotes = false | |||
) | [static] |
Definition at line 1297 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 427 of file kcookiejar.cpp.
static void removeDuplicateFromList | ( | KHttpCookieList * | list, | |
KHttpCookie & | cookiePtr, | |||
bool | nameMatchOnly = false , |
|||
bool | updateWindowId = false | |||
) | [static] |
Definition at line 259 of file kcookiejar.cpp.