#include "rox-clib.h"
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include "rox_path.h"
#include "rox_debug.h"
Functions | |
char * | rox_path_get_local (const char *uri) |
int | rox_hostname_is_local (const char *hname) |
char * | rox_path_get_server (const char *uri) |
char * | rox_path_get_path (const char *uri) |
|
Determine whether or not a host name identifies the local machine.
|
|
Given a URI return a local path using rox_unescape_uri() to convert the path. file://thishost/path -> /path
|
|
Given a file: URI, return the path part of the URI using rox_unescape_uri() to convert the path. file://host/path -> /path
|
|
Given a file: URI, return the host part of the URI. file://host/path -> host
|