You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/modules_s/pike/doc/functions.xml

30 lines
788 B

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<section id="pike.functions" xmlns:xi="http://www.w3.org/2001/XInclude">
<sectioninfo>
</sectioninfo>
<title>Functions</title>
<section id="pike_check_req">
<title>
<function>pike_check_req()</function>
</title>
<para>
Process the source IP of the current request and returns false if the IP was
exceeded the blocking limit.
</para>
<para>Meaning of the parameters is as follows:</para>
<example>
<title><function>pike_check_req</function> usage</title>
<programlisting>
...
if (!pike_check_req()) { break; };
...
</programlisting>
</example>
</section>
</section>