• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

GURL.cpp File Reference

#include "GException.h"
#include "GOS.h"
#include "GURL.h"
#include "debug.h"
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <math.h>
#include <string.h>

Include dependency graph for GURL.cpp:

Go to the source code of this file.


Defines

#define MAXPATHLEN   1024

Functions

static void collapse (char *ptr, const int chars)
unsigned int hash (const GURL &gurl)
static int hexval (char c)
static bool is_argument (const char *start)
static bool is_argument_sep (const char *start)
static const int pathname_start (const GUTF8String &url, const int protolength)
static GUTF8String url_from_UTF8filename (const GUTF8String &gfilename)

Variables

static const char backslash = '\\'
static const char colon = ':'
static const char djvuopts [] = "DJVUOPTS"
static const char dot = '.'
static const char filespec [] = "file:"
static const char filespecslashes [] = "file://"
static const char localhost [] = "file://localhost/"
static const char localhostspec1 [] = "//localhost/"
static const char localhostspec2 [] = "///"
static const char nillchar = 0
static const char percent = '%'
static const char slash = '/'

Define Documentation

#define MAXPATHLEN   1024

Definition at line 93 of file GURL.cpp.


Function Documentation

static void collapse ( char *  ptr,
const int  chars 
) [static]

Definition at line 245 of file GURL.cpp.

unsigned int hash ( const GURL &  gurl  ) 

Returns:
hash suitable for usage in {GMap}

Definition at line 1944 of file GURL.cpp.

static int hexval ( char  c  )  [static]

Definition at line 203 of file GURL.cpp.

static bool is_argument ( const char *  start  )  [static]

Definition at line 215 of file GURL.cpp.

static bool is_argument_sep ( const char *  start  )  [static]

Definition at line 224 of file GURL.cpp.

static const int pathname_start ( const GUTF8String &  url,
const int  protolength 
) [static]

Definition at line 905 of file GURL.cpp.

static GUTF8String url_from_UTF8filename ( const GUTF8String &  gfilename  )  [static]

Definition at line 1124 of file GURL.cpp.


Variable Documentation

const char backslash = '\\' [static]

Definition at line 173 of file GURL.cpp.

const char colon = ':' [static]

Definition at line 174 of file GURL.cpp.

const char djvuopts[] = "DJVUOPTS" [static]

Definition at line 171 of file GURL.cpp.

const char dot = '.' [static]

Definition at line 175 of file GURL.cpp.

const char filespec[] = "file:" [static]

Definition at line 177 of file GURL.cpp.

const char filespecslashes[] = "file://" [static]

Definition at line 176 of file GURL.cpp.

const char localhost[] = "file://localhost/" [static]

Definition at line 172 of file GURL.cpp.

const char localhostspec1[] = "//localhost/" [static]

Definition at line 180 of file GURL.cpp.

const char localhostspec2[] = "///" [static]

Definition at line 181 of file GURL.cpp.

const char nillchar = 0 [static]

Definition at line 182 of file GURL.cpp.

const char percent = '%' [static]

Definition at line 179 of file GURL.cpp.

const char slash = '/' [static]

Definition at line 178 of file GURL.cpp.

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal