char* url_escape ( const char *  str  ) 

Escape an URL when needed. If it's a local filename, file:// will be prepended.

Definition at line 121 of file util.c.

00122 {
00123         if (strstr(str, "://") == NULL) {
00124                 return http_escape(str, "file://");
00125         } else {
00126                 return g_strdup(str);
00127         }
00128 }

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:48 2010 for herrie by  doxygen 1.6.3