<?xml version="1.0" encoding='ISO-8859-1'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [

<!-- Include general documentation entities -->
<!ENTITY % docentities SYSTEM "../../../docbook/entities.xml">
%docentities;

]>

<!-- Domain Module Developer's Guide -->

<chapter>
    
    <title>&develguide;</title>
    <para>
	The module provides is_domain_local <acronym>API</acronym>
    function for use by other &kamailio; modules.
    </para>
    <section>
	<title>Available Functions</title>
	<section>
		<title>
		<function moreinfo="none">is_domain_local(domain)</function>
		</title>
		<para>
		Checks if domain given in str* parameter is local.
		</para>
		<para>
		The function returns 1 if domain is local and -1 if
		domain is not local or if an error occurred.
		</para>
	</section>
    </section>
</chapter>