ReactOS 0.4.15-dev-7907-g95bf896
favorites.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Bookmark
 
struct  BookmarkNode
 
struct  BookmarkList
 
struct  BookmarkFolder
 
struct  Favorites
 

Functions

String DecodeURLString (const char *s)
 

Function Documentation

◆ DecodeURLString()

String DecodeURLString ( const char s)

Definition at line 34 of file favorites.cpp.

35{
37 LPTSTR o = buffer;
38
39 for(const char* p=s; *p; ++p)
40 if (*p == '%') {
41 if (!strncmp(p+1, "20", 2)) {
42 *o++ = ' ';
43 p += 2;
44 } else
45 *o++ = *p;
46 } else
47 *o++ = *p;
48
49 return String(buffer, o-buffer);
50}
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
Definition: utclib.c:534
GLdouble s
Definition: gl.h:2039
GLuint buffer
Definition: glext.h:5915
GLfloat GLfloat p
Definition: glext.h:8902
#define BUFFER_LEN
Definition: utility.h:97
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433
char TCHAR
Definition: xmlstorage.h:189
CHAR * LPTSTR
Definition: xmlstorage.h:192

Referenced by Bookmark::read_url().