diff options
Diffstat (limited to 'rsvg-private.h')
-rw-r--r-- | rsvg-private.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/rsvg-private.h b/rsvg-private.h index 142e7326..b79e8715 100644 --- a/rsvg-private.h +++ b/rsvg-private.h @@ -122,9 +122,17 @@ struct RsvgSaxHandler { void (*characters) (RsvgSaxHandler * self, const char *ch, int len); }; +typedef enum { + RSVG_LOAD_POLICY_ALL_PERMISSIVE +} RsvgLoadPolicy; + +#define RSVG_LOAD_POLICY_DEFAULT (RSVG_LOAD_POLICY_ALL_PERMISSIVE) + struct RsvgHandlePrivate { RsvgHandleFlags flags; + RsvgLoadPolicy load_policy; + gboolean is_disposed; gboolean is_closed; @@ -395,6 +403,17 @@ G_GNUC_INTERNAL void rsvg_return_if_fail_warning (const char *pretty_function, const char *expression, GError ** error); +G_GNUC_INTERNAL +guint8* _rsvg_handle_acquire_data (RsvgHandle *handle, + const char *uri, + gsize *len, + GError **error); +G_GNUC_INTERNAL +GInputStream *_rsvg_handle_acquire_stream (RsvgHandle *handle, + const char *uri, + GError **error); + + #define rsvg_return_if_fail(expr, error) G_STMT_START{ \ if G_LIKELY(expr) { } else \ { \ |