mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
radius: fix XML to remove useless wrapping para tags via script
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<appendix xml:id="radius.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<appendix xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="radius.constants">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
|
||||
@@ -297,10 +297,9 @@
|
||||
<link linkend="constant.radius-chap-challenge"><constant>RADIUS_CHAP_CHALLENGE</constant></link>
|
||||
attribute.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Using CHAP passwords</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>Using CHAP passwords</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// Firstly, we'll create an authentication handle and request.
|
||||
@@ -327,9 +326,8 @@ radius_put_attr($radh, RADIUS_CHAP_CHALLENGE, $challenge);
|
||||
* call radius_send_request(). */
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-nas-ip-address">
|
||||
@@ -1647,346 +1645,343 @@ radius_put_attr($radh, RADIUS_CHAP_CHALLENGE, $challenge);
|
||||
<section xml:id="radius.constants.vendor-specific">
|
||||
<title>RADIUS Vendor Specific Attribute Types</title>
|
||||
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="constant.radius-vendor-microsoft">
|
||||
<term>
|
||||
<constant>RADIUS_VENDOR_MICROSOFT</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Microsoft specific vendor attributes (<link xlink:href="&url.rfc;2548">RFC 2548</link>), one of:
|
||||
<simplelist>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_RESPONSE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_ERROR</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_PW_1</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_PW_2</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_LM_ENC_PW</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_NT_ENC_PW</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_MPPE_ENCRYPTION_POLICY</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_MPPE_ENCRYPTION_TYPES</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_RAS_VENDOR</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_DOMAIN</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_CHALLENGE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_MPPE_KEYS</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_BAP_USAGE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_LINK_UTILIZATION_THRESHOLD</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_LINK_DROP_TIME_LIMIT</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_MPPE_SEND_KEY</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_MPPE_RECV_KEY</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_RAS_VERSION</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_OLD_ARAP_PASSWORD</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_NEW_ARAP_PASSWORD</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_ARAP_PASSWORD_CHANGE_REASON</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_FILTER</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_ACCT_AUTH_TYPE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_ACCT_EAP_TYPE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP2_RESPONSE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP2_SUCCESS</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP2_PW</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_SECONDARY_DNS_SERVER</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_PRIMARY_NBNS_SERVER</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_SECONDARY_NBNS_SERVER</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_ARAP_CHALLENGE</constant></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-response">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_RESPONSE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-error">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_ERROR</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-pw-1">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_PW_1</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-pw-2">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_PW_2</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-lm-enc-pw">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_LM_ENC_PW</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-nt-enc-pw">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_NT_ENC_PW</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-mppe-encryption-policy">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_MPPE_ENCRYPTION_POLICY</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-mppe-encryption-types">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_MPPE_ENCRYPTION_TYPES</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-ras-vendor">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_RAS_VENDOR</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-domain">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_DOMAIN</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-challenge">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_CHALLENGE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-mppe-keys">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_MPPE_KEYS</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-bap-usage">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_BAP_USAGE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-link-utilization-threshold">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_LINK_UTILIZATION_THRESHOLD</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-link-drop-time-limit">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_LINK_DROP_TIME_LIMIT</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-mppe-send-key">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_MPPE_SEND_KEY</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-mppe-recv-key">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_MPPE_RECV_KEY</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-ras-version">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_RAS_VERSION</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-old-arap-password">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_OLD_ARAP_PASSWORD</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-new-arap-password">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_NEW_ARAP_PASSWORD</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-arap-password-change-reason">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_ARAP_PASSWORD_CHANGE_REASON</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-filter">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_FILTER</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-acct-auth-type">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_ACCT_AUTH_TYPE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-acct-eap-type">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_ACCT_EAP_TYPE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap2-response">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP2_RESPONSE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap2-success">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP2_SUCCESS</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap2-pw">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP2_PW</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-primary-dns-server">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-secondary-dns-server">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_SECONDARY_DNS_SERVER</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-primary-nbns-server">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_PRIMARY_NBNS_SERVER</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-secondary-nbns-server">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_SECONDARY_NBNS_SERVER</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-arap-challenge">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_ARAP_CHALLENGE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="constant.radius-vendor-microsoft">
|
||||
<term>
|
||||
<constant>RADIUS_VENDOR_MICROSOFT</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Microsoft specific vendor attributes (<link xlink:href="&url.rfc;2548">RFC 2548</link>), one of:
|
||||
<simplelist>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_RESPONSE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_ERROR</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_PW_1</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_PW_2</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_LM_ENC_PW</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_NT_ENC_PW</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_MPPE_ENCRYPTION_POLICY</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_MPPE_ENCRYPTION_TYPES</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_RAS_VENDOR</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_DOMAIN</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_CHALLENGE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP_MPPE_KEYS</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_BAP_USAGE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_LINK_UTILIZATION_THRESHOLD</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_LINK_DROP_TIME_LIMIT</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_MPPE_SEND_KEY</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_MPPE_RECV_KEY</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_RAS_VERSION</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_OLD_ARAP_PASSWORD</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_NEW_ARAP_PASSWORD</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_ARAP_PASSWORD_CHANGE_REASON</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_FILTER</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_ACCT_AUTH_TYPE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_ACCT_EAP_TYPE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP2_RESPONSE</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP2_SUCCESS</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_CHAP2_PW</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_SECONDARY_DNS_SERVER</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_PRIMARY_NBNS_SERVER</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_SECONDARY_NBNS_SERVER</constant></member>
|
||||
<member><constant>RADIUS_MICROSOFT_MS_ARAP_CHALLENGE</constant></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-response">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_RESPONSE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-error">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_ERROR</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-pw-1">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_PW_1</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-pw-2">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_PW_2</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-lm-enc-pw">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_LM_ENC_PW</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-nt-enc-pw">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_NT_ENC_PW</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-mppe-encryption-policy">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_MPPE_ENCRYPTION_POLICY</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-mppe-encryption-types">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_MPPE_ENCRYPTION_TYPES</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-ras-vendor">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_RAS_VENDOR</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-domain">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_DOMAIN</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-challenge">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_CHALLENGE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap-mppe-keys">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP_MPPE_KEYS</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-bap-usage">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_BAP_USAGE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-link-utilization-threshold">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_LINK_UTILIZATION_THRESHOLD</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-link-drop-time-limit">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_LINK_DROP_TIME_LIMIT</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-mppe-send-key">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_MPPE_SEND_KEY</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-mppe-recv-key">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_MPPE_RECV_KEY</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-ras-version">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_RAS_VERSION</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-old-arap-password">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_OLD_ARAP_PASSWORD</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-new-arap-password">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_NEW_ARAP_PASSWORD</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-arap-password-change-reason">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_ARAP_PASSWORD_CHANGE_REASON</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-filter">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_FILTER</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-acct-auth-type">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_ACCT_AUTH_TYPE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-acct-eap-type">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_ACCT_EAP_TYPE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap2-response">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP2_RESPONSE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap2-success">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP2_SUCCESS</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-chap2-pw">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_CHAP2_PW</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-primary-dns-server">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-secondary-dns-server">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_SECONDARY_DNS_SERVER</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-primary-nbns-server">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_PRIMARY_NBNS_SERVER</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-secondary-nbns-server">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_SECONDARY_NBNS_SERVER</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.radius-microsoft-ms-arap-challenge">
|
||||
<term>
|
||||
<constant>RADIUS_MICROSOFT_MS_ARAP_CHALLENGE</constant>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-acct-open" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-acct-open">
|
||||
<refnamediv>
|
||||
<refname>radius_acct_open</refname>
|
||||
<refpurpose>Creates a Radius handle for accounting</refpurpose>
|
||||
@@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>radius_acct_open</methodname>
|
||||
<void />
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
@@ -32,10 +32,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_acct_open</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_acct_open</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$res = radius_acct_open ()
|
||||
@@ -43,12 +42,10 @@ $res = radius_acct_open ()
|
||||
print "Handle successfully created";
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -69,4 +66,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-add-server" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-add-server">
|
||||
<refnamediv>
|
||||
<refname>radius_add_server</refname>
|
||||
<refpurpose>Adds a server</refpurpose>
|
||||
@@ -29,69 +29,67 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>radius_handle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>hostname</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The <parameter>hostname</parameter> parameter specifies the server host,
|
||||
either as a fully qualified domain name or as a dotted-quad IP address
|
||||
in text form.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>port</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The <parameter>port</parameter> specifies the UDP port to contact on
|
||||
the server. If port is given as 0, the library looks up the
|
||||
<systemitem class="resource">radius/udp</systemitem> or
|
||||
<systemitem class="resource">radacct/udp</systemitem> service in the
|
||||
network services database, and uses the port found there. If no entry
|
||||
is found, the library uses the standard Radius ports, 1812 for
|
||||
authentication and 1813 for accounting.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>secret</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The shared secret for the server host is passed to the
|
||||
<parameter>secret</parameter> parameter. The Radius protocol ignores
|
||||
all but the leading 128 bytes of the shared secret.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>timeout</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The timeout for receiving replies from the server is passed to the
|
||||
<parameter>timeout</parameter> parameter, in units of seconds.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>max_tries</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The maximum number of repeated requests to make before giving up is
|
||||
passed into the <parameter>max_tries</parameter>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>radius_handle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>hostname</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The <parameter>hostname</parameter> parameter specifies the server host,
|
||||
either as a fully qualified domain name or as a dotted-quad IP address
|
||||
in text form.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>port</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The <parameter>port</parameter> specifies the UDP port to contact on
|
||||
the server. If port is given as 0, the library looks up the
|
||||
<systemitem class="resource">radius/udp</systemitem> or
|
||||
<systemitem class="resource">radacct/udp</systemitem> service in the
|
||||
network services database, and uses the port found there. If no entry
|
||||
is found, the library uses the standard Radius ports, 1812 for
|
||||
authentication and 1813 for accounting.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>secret</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The shared secret for the server host is passed to the
|
||||
<parameter>secret</parameter> parameter. The Radius protocol ignores
|
||||
all but the leading 128 bytes of the shared secret.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>timeout</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The timeout for receiving replies from the server is passed to the
|
||||
<parameter>timeout</parameter> parameter, in units of seconds.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>max_tries</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The maximum number of repeated requests to make before giving up is
|
||||
passed into the <parameter>max_tries</parameter>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -103,10 +101,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_add_server</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_add_server</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
if (!radius_add_server($res, 'radius.example.com', 1812, 'testing123', 3, 3)) {
|
||||
@@ -115,21 +112,17 @@ if (!radius_add_server($res, 'radius.example.com', 1812, 'testing123', 3, 3)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_config</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_config</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -150,4 +143,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
|
||||
<refentry xml:id="function.radius-auth-open" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-auth-open">
|
||||
<refnamediv>
|
||||
<refname>radius_auth_open</refname>
|
||||
<refpurpose>Creates a Radius handle for authentication</refpurpose>
|
||||
@@ -12,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>radius_auth_open</methodname>
|
||||
<void />
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
@@ -33,10 +32,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_auth_open</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_auth_open</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$radh = radius_auth_open()
|
||||
@@ -44,12 +42,10 @@ $radh = radius_auth_open()
|
||||
echo "Handle successfully created";
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -70,4 +66,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-close" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-close">
|
||||
<refnamediv>
|
||||
<refname>radius_close</refname>
|
||||
<refpurpose>Frees all ressources</refpurpose>
|
||||
@@ -21,11 +21,9 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -35,7 +33,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -56,4 +53,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-config" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.radius-config">
|
||||
<refnamediv>
|
||||
<refname>radius_config</refname>
|
||||
<refpurpose>Causes the library to read the given configuration file</refpurpose>
|
||||
@@ -25,29 +25,27 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>radius_handle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>file</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The pathname of the configuration file is passed as the file argument
|
||||
to <function>radius_config</function>. The library can also be
|
||||
configured programmatically by calls to
|
||||
<function>radius_add_server</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>radius_handle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>file</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The pathname of the configuration file is passed as the file argument
|
||||
to <function>radius_config</function>. The library can also be
|
||||
configured programmatically by calls to
|
||||
<function>radius_add_server</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -59,14 +57,11 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_add_server</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_add_server</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -87,4 +82,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-create-request" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-create-request">
|
||||
<refnamediv>
|
||||
<refname>radius_create_request</refname>
|
||||
<refpurpose>Create accounting or authentication request</refpurpose>
|
||||
@@ -12,7 +12,7 @@
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>radius_create_request</methodname>
|
||||
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
A Radius request consists of a code specifying the kind of request, and
|
||||
@@ -28,26 +28,24 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>radius_handle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Type is <constant>RADIUS_ACCESS_REQUEST</constant> or
|
||||
<constant>RADIUS_ACCOUNTING_REQUEST</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>radius_handle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Type is <constant>RADIUS_ACCESS_REQUEST</constant> or
|
||||
<constant>RADIUS_ACCOUNTING_REQUEST</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -59,10 +57,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_create_request</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_create_request</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
if (!radius_create_request($res, RADIUS_ACCESS_REQUEST)) {
|
||||
@@ -71,21 +68,17 @@ if (!radius_create_request($res, RADIUS_ACCESS_REQUEST)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_send_request</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_send_request</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -106,4 +99,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-cvt-addr" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-cvt-addr">
|
||||
<refnamediv>
|
||||
<refname>radius_cvt_addr</refname>
|
||||
<refpurpose>Converts raw data to IP-Address</refpurpose>
|
||||
@@ -20,18 +20,16 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Input data
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Input data
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -43,10 +41,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_cvt_addr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_cvt_addr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
while ($resa = radius_get_attr($res)) {
|
||||
@@ -58,7 +55,7 @@ while ($resa = radius_get_attr($res)) {
|
||||
|
||||
$attr = $resa['attr'];
|
||||
$data = $resa['data'];
|
||||
|
||||
|
||||
switch ($attr) {
|
||||
|
||||
case RADIUS_FRAMED_IP_ADDRESS:
|
||||
@@ -74,22 +71,18 @@ while ($resa = radius_get_attr($res)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_cvt_int</function></member>
|
||||
<member><function>radius_cvt_string</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_cvt_int</function></member>
|
||||
<member><function>radius_cvt_string</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -110,4 +103,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-cvt-int" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-cvt-int">
|
||||
<refnamediv>
|
||||
<refname>radius_cvt_int</refname>
|
||||
<refpurpose>Converts raw data to integer</refpurpose>
|
||||
@@ -20,18 +20,16 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Input data
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Input data
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -43,10 +41,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_cvt_int</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_cvt_int</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
while ($resa = radius_get_attr($res)) {
|
||||
@@ -58,7 +55,7 @@ while ($resa = radius_get_attr($res)) {
|
||||
|
||||
$attr = $resa['attr'];
|
||||
$data = $resa['data'];
|
||||
|
||||
|
||||
switch ($attr) {
|
||||
|
||||
case RADIUS_FRAMED_MTU:
|
||||
@@ -69,22 +66,18 @@ while ($resa = radius_get_attr($res)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_cvt_addr</function></member>
|
||||
<member><function>radius_cvt_string</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_cvt_addr</function></member>
|
||||
<member><function>radius_cvt_string</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -105,4 +98,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-cvt-string" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-cvt-string">
|
||||
<refnamediv>
|
||||
<refname>radius_cvt_string</refname>
|
||||
<refpurpose>Converts raw data to string</refpurpose>
|
||||
@@ -20,18 +20,16 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Input data
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Input data
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -43,10 +41,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_cvt_string</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_cvt_string</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
while ($resa = radius_get_attr($res)) {
|
||||
@@ -58,7 +55,7 @@ while ($resa = radius_get_attr($res)) {
|
||||
|
||||
$attr = $resa['attr'];
|
||||
$data = $resa['data'];
|
||||
|
||||
|
||||
switch ($attr) {
|
||||
|
||||
case RADIUS_FILTER_ID:
|
||||
@@ -69,22 +66,18 @@ while ($resa = radius_get_attr($res)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_cvt_addr</function></member>
|
||||
<member><function>radius_cvt_int</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_cvt_addr</function></member>
|
||||
<member><function>radius_cvt_int</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -105,4 +98,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-demangle-mppe-key" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.radius-demangle-mppe-key">
|
||||
<refnamediv>
|
||||
<refname>radius_demangle_mppe_key</refname>
|
||||
<refpurpose>Derives mppe-keys from mangled data</refpurpose>
|
||||
@@ -11,32 +11,30 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>radius_demangle_mppe_key</methodname>
|
||||
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>mangled</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
When using MPPE with MS-CHAPv2, the send- and recv-keys are mangled
|
||||
(see <link xlink:href="&url.rfc;2548">RFC 2548</link>), however this function is
|
||||
useless, because I don't think that there is or will be a PPTP-MPPE
|
||||
implementation in PHP.
|
||||
implementation in PHP.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
<varlistentry>
|
||||
<term><parameter>mangled</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The mangled data to demangle
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
<varlistentry>
|
||||
<term><parameter>mangled</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The mangled data to demangle
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -46,7 +44,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:n
|
||||
mode: sgml
|
||||
@@ -67,4 +64,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-demangle" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-demangle">
|
||||
<refnamediv>
|
||||
<refname>radius_demangle</refname>
|
||||
<refpurpose>Demangles data</refpurpose>
|
||||
@@ -22,19 +22,17 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
<varlistentry>
|
||||
<term><parameter>mangled</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The mangled data to demangle
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
<varlistentry>
|
||||
<term><parameter>mangled</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The mangled data to demangle
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -44,7 +42,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -65,4 +62,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-get-attr" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-get-attr">
|
||||
<refnamediv>
|
||||
<refname>radius_get_attr</refname>
|
||||
<refpurpose>Extracts an attribute</refpurpose>
|
||||
@@ -25,11 +25,9 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -42,10 +40,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_get_attr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_get_attr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
while ($resa = radius_get_attr($res)) {
|
||||
@@ -61,24 +58,20 @@ while ($resa = radius_get_attr($res)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_attr</function></member>
|
||||
<member><function>radius_get_vendor_attr</function></member>
|
||||
<member><function>radius_put_vendor_attr</function></member>
|
||||
<member><function>radius_send_request</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_attr</function></member>
|
||||
<member><function>radius_get_vendor_attr</function></member>
|
||||
<member><function>radius_put_vendor_attr</function></member>
|
||||
<member><function>radius_send_request</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -99,4 +92,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.radius-get-tagged-attr-data" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-get-tagged-attr-data">
|
||||
<refnamediv>
|
||||
<refname>radius_get_tagged_attr_data</refname>
|
||||
<refpurpose>Extracts the data from a tagged attribute</refpurpose>
|
||||
@@ -22,18 +22,16 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The tagged attribute to be decoded.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The tagged attribute to be decoded.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -45,10 +43,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_get_tagged_attr_data</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_get_tagged_attr_data</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
while ($resa = radius_get_attr($res)) {
|
||||
@@ -67,22 +64,18 @@ while ($resa = radius_get_attr($res)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_get_attr</function></member>
|
||||
<member><function>radius_get_tagged_attr_tag</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_get_attr</function></member>
|
||||
<member><function>radius_get_tagged_attr_tag</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -103,4 +96,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.radius-get-tagged-attr-tag" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-get-tagged-attr-tag">
|
||||
<refnamediv>
|
||||
<refname>radius_get_tagged_attr_tag</refname>
|
||||
<refpurpose>Extracts the tag from a tagged attribute</refpurpose>
|
||||
@@ -22,18 +22,16 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The tagged attribute to be decoded.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The tagged attribute to be decoded.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -45,10 +43,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_get_tagged_attr_tag</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_get_tagged_attr_tag</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
while ($resa = radius_get_attr($res)) {
|
||||
@@ -67,22 +64,18 @@ while ($resa = radius_get_attr($res)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_get_attr</function></member>
|
||||
<member><function>radius_get_tagged_attr_data</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_get_attr</function></member>
|
||||
<member><function>radius_get_tagged_attr_data</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -103,4 +96,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-get-vendor-attr" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-get-vendor-attr">
|
||||
<refnamediv>
|
||||
<refname>radius_get_vendor_attr</refname>
|
||||
<refpurpose>Extracts a vendor specific attribute</refpurpose>
|
||||
@@ -23,18 +23,16 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Input data
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Input data
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -47,10 +45,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_get_vendor_attr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_get_vendor_attr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
while ($resa = radius_get_attr($res)) {
|
||||
@@ -69,30 +66,26 @@ while ($resa = radius_get_attr($res)) {
|
||||
if (is_array($resv)) {
|
||||
$vendor = $resv['vendor'];
|
||||
$attrv = $resv['attr'];
|
||||
$datav = $resv['data'];
|
||||
$datav = $resv['data'];
|
||||
printf("Got Vendor Attr:%d %d Bytes %s\n", $attrv, strlen($datav), bin2hex($datav));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_get_attr</function></member>
|
||||
<member><function>radius_put_vendor_attr</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_get_attr</function></member>
|
||||
<member><function>radius_put_vendor_attr</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -113,4 +106,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-put-addr" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-put-addr">
|
||||
<refnamediv>
|
||||
<refname>radius_put_addr</refname>
|
||||
<refpurpose>Attaches an IP address attribute</refpurpose>
|
||||
@@ -12,8 +12,8 @@
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>radius_put_addr</methodname>
|
||||
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>addr</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>addr</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>tag</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
@@ -25,22 +25,20 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>addr</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
An IPv4 address in string form, such as <literal>10.0.0.1</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>addr</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
An IPv4 address in string form, such as <literal>10.0.0.1</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -52,31 +50,28 @@
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -97,4 +92,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-put-attr" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-put-attr">
|
||||
<refnamediv>
|
||||
<refname>radius_put_attr</refname>
|
||||
<refpurpose>Attaches a binary attribute</refpurpose>
|
||||
@@ -12,8 +12,8 @@
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>radius_put_attr</methodname>
|
||||
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>value</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>value</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>tag</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
@@ -25,22 +25,20 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value, which will be treated as a raw binary string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value, which will be treated as a raw binary string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -52,36 +50,33 @@
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_put_attr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<example>
|
||||
<title><function>radius_put_attr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
mt_srand(time());
|
||||
$chall = mt_rand();
|
||||
@@ -93,23 +88,19 @@ if (!radius_put_attr($res, RADIUS_CHAP_PASSWORD, $pass)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_get_attr</function></member>
|
||||
<member><function>radius_get_vendor_attr</function></member>
|
||||
<member><function>radius_put_vendor_attr</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_get_attr</function></member>
|
||||
<member><function>radius_get_vendor_attr</function></member>
|
||||
<member><function>radius_put_vendor_attr</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -130,4 +121,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-put-int" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-put-int">
|
||||
<refnamediv>
|
||||
<refname>radius_put_int</refname>
|
||||
<refpurpose>Attaches an integer attribute</refpurpose>
|
||||
@@ -12,8 +12,8 @@
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>radius_put_int</methodname>
|
||||
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>value</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>value</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>tag</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
@@ -25,22 +25,20 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -52,35 +50,32 @@
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_put_int</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_put_int</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
if (!radius_put_int($res, RAD_FRAMED_PROTOCOL, RAD_PPP)) {
|
||||
@@ -89,23 +84,19 @@ if (!radius_put_int($res, RAD_FRAMED_PROTOCOL, RAD_PPP)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_string</function></member>
|
||||
<member><function>radius_put_vendor_int</function></member>
|
||||
<member><function>radius_put_vendor_string</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_string</function></member>
|
||||
<member><function>radius_put_vendor_int</function></member>
|
||||
<member><function>radius_put_vendor_string</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -126,4 +117,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-put-string" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-put-string">
|
||||
<refnamediv>
|
||||
<refname>radius_put_string</refname>
|
||||
<refpurpose>Attaches a string attribute</refpurpose>
|
||||
@@ -12,8 +12,8 @@
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>radius_put_string</methodname>
|
||||
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>value</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>value</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>tag</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
@@ -27,23 +27,21 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value. This value is expected by the underlying library
|
||||
to be null terminated, therefore this parameter is not binary safe.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value. This value is expected by the underlying library
|
||||
to be null terminated, therefore this parameter is not binary safe.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -55,35 +53,32 @@
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_put_string</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_put_string</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
if (!radius_put_string($res, RADIUS_USER_NAME, 'billy')) {
|
||||
@@ -92,23 +87,19 @@ if (!radius_put_string($res, RADIUS_USER_NAME, 'billy')) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_int</function></member>
|
||||
<member><function>radius_put_vendor_int</function></member>
|
||||
<member><function>radius_put_vendor_string</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_int</function></member>
|
||||
<member><function>radius_put_vendor_int</function></member>
|
||||
<member><function>radius_put_vendor_string</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -129,4 +120,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-put-vendor-addr" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-put-vendor-addr">
|
||||
<refnamediv>
|
||||
<refname>radius_put_vendor_addr</refname>
|
||||
<refpurpose>Attaches a vendor specific IP address attribute</refpurpose>
|
||||
@@ -12,9 +12,9 @@
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>radius_put_vendor_addr</methodname>
|
||||
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>vendor</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>addr</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>vendor</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>addr</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Attaches an IP address vendor specific attribute to the current RADIUS
|
||||
@@ -25,23 +25,21 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.vendor;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>addr</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
An IPv4 address in string form, such as <literal>10.0.0.1</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.vendor;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>addr</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
An IPv4 address in string form, such as <literal>10.0.0.1</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -53,31 +51,28 @@
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -98,4 +93,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-put-vendor-attr" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-put-vendor-attr">
|
||||
<refnamediv>
|
||||
<refname>radius_put_vendor_attr</refname>
|
||||
<refpurpose>Attaches a vendor specific binary attribute</refpurpose>
|
||||
@@ -26,23 +26,21 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.vendor;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value, which will be treated as a raw binary string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.vendor;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value, which will be treated as a raw binary string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -54,35 +52,32 @@
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>radius_put_vendor_attr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title><function>radius_put_vendor_attr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
if (!radius_put_vendor_attr($res, RADIUS_VENDOR_MICROSOFT, RAD_MICROSOFT_MS_CHAP_CHALLENGE, $challenge)) {
|
||||
@@ -91,22 +86,18 @@ if (!radius_put_vendor_attr($res, RADIUS_VENDOR_MICROSOFT, RAD_MICROSOFT_MS_CHAP
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_get_vendor_attr</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_get_vendor_attr</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -127,4 +118,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-put-vendor-int" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-put-vendor-int">
|
||||
<refnamediv>
|
||||
<refname>radius_put_vendor_int</refname>
|
||||
<refpurpose>Attaches a vendor specific integer attribute</refpurpose>
|
||||
@@ -12,9 +12,9 @@
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>radius_put_vendor_int</methodname>
|
||||
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>vendor</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>value</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>vendor</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>value</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>tag</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
@@ -26,23 +26,21 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.vendor;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.vendor;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -54,39 +52,34 @@
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_vendor_string</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_vendor_string</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -107,4 +100,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-put-vendor-string" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-put-vendor-string">
|
||||
<refnamediv>
|
||||
<refname>radius_put_vendor_string</refname>
|
||||
<refpurpose>Attaches a vendor specific string attribute</refpurpose>
|
||||
@@ -12,9 +12,9 @@
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>radius_put_vendor_string</methodname>
|
||||
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>vendor</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>value</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>vendor</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>value</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>tag</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
@@ -28,24 +28,22 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.vendor;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value. This value is expected by the underlying library
|
||||
to be null terminated, therefore this parameter is not binary safe.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
&radius.parameter.vendor;
|
||||
&radius.parameter.attribute-type;
|
||||
<varlistentry>
|
||||
<term><parameter>value</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The attribute value. This value is expected by the underlying library
|
||||
to be null terminated, therefore this parameter is not binary safe.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&radius.parameter.options;
|
||||
&radius.parameter.tag;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -57,39 +55,34 @@
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PECL radius 1.3.0</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> and <parameter>tag</parameter>
|
||||
parameters were added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_vendor_int</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_vendor_int</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -110,4 +103,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change rev 1.9 -->
|
||||
<refentry xml:id="function.radius-request-authenticator" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-request-authenticator">
|
||||
<refnamediv>
|
||||
<refname>radius_request_authenticator</refname>
|
||||
<refpurpose>Returns the request authenticator</refpurpose>
|
||||
@@ -21,11 +21,9 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -37,14 +35,11 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_demangle</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_demangle</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -65,4 +60,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.radius-salt-encrypt-attr" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-salt-encrypt-attr">
|
||||
<refnamediv>
|
||||
<refname>radius_salt_encrypt_attr</refname>
|
||||
<refpurpose>Salt-encrypts a value</refpurpose>
|
||||
@@ -26,18 +26,16 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The data to be salt-encrypted.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The data to be salt-encrypted.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -49,17 +47,14 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_addr</function></member>
|
||||
<member><function>radius_put_attr</function></member>
|
||||
<member><function>radius_put_int</function></member>
|
||||
<member><function>radius_put_string</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_put_addr</function></member>
|
||||
<member><function>radius_put_attr</function></member>
|
||||
<member><function>radius_put_int</function></member>
|
||||
<member><function>radius_put_string</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -80,4 +75,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-send-request" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-send-request">
|
||||
<refnamediv>
|
||||
<refname>radius_send_request</refname>
|
||||
<refpurpose>Sends the request and waits for a reply</refpurpose>
|
||||
@@ -26,11 +26,9 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -47,14 +45,11 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>radius_create_request</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>radius_create_request</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -75,4 +70,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-server-secret" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-server-secret">
|
||||
<refnamediv>
|
||||
<refname>radius_server_secret</refname>
|
||||
<refpurpose>Returns the shared secret</refpurpose>
|
||||
@@ -21,11 +21,9 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -35,7 +33,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -56,4 +53,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/radius.xml, last change in rev 1.9 -->
|
||||
<refentry xml:id="function.radius-strerror" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.radius-strerror">
|
||||
<refnamediv>
|
||||
<refname>radius_strerror</refname>
|
||||
<refpurpose>Returns an error message</refpurpose>
|
||||
@@ -21,13 +21,11 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&radius.parameter.handle;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -35,7 +33,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -56,4 +53,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user