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 | MAX_COOKIES_PER_HOST 25 |
| #define | QL1S(x) QLatin1String(x) |
| #define | READ_BUFFER_SIZE 8192 |
Functions | |
| static bool | compareCookies (const KHttpCookie &item1, const KHttpCookie &item2) |
| 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 MAX_COOKIES_PER_HOST 25 |
Definition at line 82 of file kcookiejar.cpp.
| #define QL1S | ( | x | ) | QLatin1String(x) |
Definition at line 91 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 895 of file kcookiejar.cpp.
| QDebug operator<< | ( | QDebug | dbg, | |
| const KHttpCookieList & | list | |||
| ) |
Definition at line 1524 of file kcookiejar.cpp.
| QDebug operator<< | ( | QDebug | dbg, | |
| const KHttpCookie & | cookie | |||
| ) |
Definition at line 1518 of file kcookiejar.cpp.
| static const char* parseField | ( | char *& | buffer, | |
| bool | keepQuotes = false | |||
| ) | [static] |
Definition at line 1298 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 436 of file kcookiejar.cpp.
| static void removeDuplicateFromList | ( | KHttpCookieList * | list, | |
| KHttpCookie & | cookiePtr, | |||
| bool | nameMatchOnly = false, |
|||
| bool | updateWindowId = false | |||
| ) | [static] |
Definition at line 265 of file kcookiejar.cpp.
KDE 4.3 API Reference