summaryrefslogtreecommitdiff
path: root/www/api/confirm_access.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/api/confirm_access.html')
-rw-r--r--www/api/confirm_access.html66
1 files changed, 34 insertions, 32 deletions
diff --git a/www/api/confirm_access.html b/www/api/confirm_access.html
index 8f41578..93c5d52 100644
--- a/www/api/confirm_access.html
+++ b/www/api/confirm_access.html
@@ -1,12 +1,14 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html lang="en">
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.16: http://docutils.sourceforge.net/" />
-<title>confirm_access</title>
-<link rel="stylesheet" href="../docutils-api.css" type="text/css" />
+ <meta charset="utf-8">
+ <meta content="en" name="language">
+ <title>confirm_access</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link media="screen" href="../docutils-api.css" type="text/css" rel="stylesheet">
+
</head>
+
<body>
<div class="banner">
@@ -19,6 +21,7 @@
</form>
</div>
+
<div class="navmenu">
<ul>
<li><a href="../index.html">Home</a></li>
@@ -32,25 +35,23 @@
<li><a href="../reference.html">Reference</a></li>
</ul>
</div>
+
<div class="document" id="confirm-access">
<h1 class="title">confirm_access</h1>
-<h2 class="subtitle" id="access-confirmation-functions">Access confirmation functions</h2>
-
+<p class="subtitle" id="access-confirmation-functions">Access confirmation functions</p>
<div class="contents topic" id="contents">
<p class="topic-title">Contents</p>
<ul class="simple">
-<li><a class="reference internal" href="#magickconfirmaccess" id="id3">MagickConfirmAccess</a></li>
-<li><a class="reference internal" href="#magicksetconfirmaccesshandler" id="id4">MagickSetConfirmAccessHandler</a></li>
+<li><p><a class="reference internal" href="#magickconfirmaccess" id="id3">MagickConfirmAccess</a></p></li>
+<li><p><a class="reference internal" href="#magicksetconfirmaccesshandler" id="id4">MagickSetConfirmAccessHandler</a></p></li>
</ul>
</div>
<div class="section" id="magickconfirmaccess">
<h1><a class="toc-backref" href="#id3">MagickConfirmAccess</a></h1>
<div class="section" id="synopsis">
<h2>Synopsis</h2>
-<pre class="literal-block">
-MagickPassFail MagickConfirmAccess( const ConfirmAccessMode mode, const char *path,
- <a class="reference external" href="../api/types.html#exceptioninfo">ExceptionInfo</a> *exception );
-</pre>
+<pre class="literal-block">MagickPassFail MagickConfirmAccess( const ConfirmAccessMode mode, const char *path,
+ <a class="reference external" href="../api/types.html#exceptioninfo">ExceptionInfo</a> *exception );</pre>
</div>
<div class="section" id="description">
<h2>Description</h2>
@@ -64,17 +65,18 @@ continue. The callback is expected to report the reason access is denied
by filling out the ExceptionInfo structure. If the callback fails to do
so, then a generic &quot;access denied&quot; error is reported.</p>
<p>The format of the MagickConfirmAccess method is:</p>
-<pre class="literal-block">
-MagickPassFail MagickConfirmAccess( const ConfirmAccessMode mode, const char *path,
- <a class="reference external" href="../api/types.html#exceptioninfo">ExceptionInfo</a> *exception );
-</pre>
-<dl class="docutils">
+<pre class="literal-block">MagickPassFail MagickConfirmAccess( const ConfirmAccessMode mode, const char *path,
+ <a class="reference external" href="../api/types.html#exceptioninfo">ExceptionInfo</a> *exception );</pre>
+<dl class="simple">
<dt>mode:</dt>
-<dd>The type of access to be performed.</dd>
+<dd><p>The type of access to be performed.</p>
+</dd>
<dt>path:</dt>
-<dd>The local path or URL requested to be accessed.</dd>
+<dd><p>The local path or URL requested to be accessed.</p>
+</dd>
<dt>exception:</dt>
-<dd>Return any errors or warnings in this structure.</dd>
+<dd><p>Return any errors or warnings in this structure.</p>
+</dd>
</dl>
</div>
</div>
@@ -82,9 +84,7 @@ MagickPassFail MagickConfirmAccess( const ConfirmAccessMode mode, const char *pa
<h1><a class="toc-backref" href="#id4">MagickSetConfirmAccessHandler</a></h1>
<div class="section" id="id1">
<h2>Synopsis</h2>
-<pre class="literal-block">
-ConfirmAccessHandler MagickSetConfirmAccessHandler( ConfirmAccessHandler handler );
-</pre>
+<pre class="literal-block">ConfirmAccessHandler MagickSetConfirmAccessHandler( ConfirmAccessHandler handler );</pre>
</div>
<div class="section" id="id2">
<h2>Description</h2>
@@ -95,21 +95,23 @@ URLs. If the handler returns MagickFalse, then access is denied. This
mechanism may be used to enforce security policies and/or may be used to
monitor file and URL accesses.</p>
<p>The format of the MagickSetConfirmAccessHandler method is:</p>
-<pre class="literal-block">
-ConfirmAccessHandler MagickSetConfirmAccessHandler( ConfirmAccessHandler handler );
-</pre>
+<pre class="literal-block">ConfirmAccessHandler MagickSetConfirmAccessHandler( ConfirmAccessHandler handler );</pre>
<p>A description of each parameter follows:</p>
-<dl class="docutils">
+<dl class="simple">
<dt>handler:</dt>
-<dd>Specifies a pointer to a method to handle access confirmation.</dd>
+<dd><p>Specifies a pointer to a method to handle access confirmation.</p>
+</dd>
</dl>
</div>
</div>
</div>
+
<hr class="docutils">
<div class="document">
- <p><a href="../Copyright.html">Copyright</a> © GraphicsMagick Group 2002 - 2022<!--SPONSOR_LOGO--></p>
+ <p><a href="../Copyright.html">Copyright</a> © GraphicsMagick Group 2002 - 2023<!--SPONSOR_LOGO--></p>
+</div>
+
</div>
</body>
</html>