diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-02-02 16:18:13 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-02-02 17:21:20 +0000 |
commit | bb1e3c973526e66024e1a3260255368034cb2008 (patch) | |
tree | 9102d5d22818788e88c6407a0e4a358dfa7011b5 /xps/muxps.h | |
parent | 4ab5924753d32b5eaeb80138c6626057f61b516f (diff) | |
download | mupdf-bb1e3c973526e66024e1a3260255368034cb2008.tar.xz |
Support remote links in XPS documents.
Update xps path handling to cope with URLs.
Fix premature freeing of links.
Spot remote URLs and use appropriate link type.
Diffstat (limited to 'xps/muxps.h')
-rw-r--r-- | xps/muxps.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xps/muxps.h b/xps/muxps.h index 2f87edc6..2e5c4206 100644 --- a/xps/muxps.h +++ b/xps/muxps.h @@ -32,7 +32,8 @@ typedef struct xps_document_s xps_document; */ int xps_strcasecmp(char *a, char *b); -void xps_absolute_path(char *output, char *base_uri, char *path, int output_size); +void xps_resolve_url(char *output, char *base_uri, char *path, int output_size); +int xps_url_is_remote(char *path); /* * XML document model |