Loading...
Searching...
No Matches
hostdomain.h
Go to the documentation of this file.
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2006 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia-email.address.hidden>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#ifndef SOFIA_SIP_HOSTDOMAIN_H
#define SOFIA_SIP_HOSTDOMAIN_H
#ifndef SU_CONFIG_H
#include <sofia-sip/su_config.h>
#endif
SOFIA_BEGIN_DECLS
SOFIAPUBFUN int host_is_ip4_address(char const *string);
SOFIAPUBFUN int host_is_ip6_address(char const *string);
SOFIAPUBFUN int host_is_ip6_reference(char const *string);
SOFIAPUBFUN int host_is_ip_address(char const *string);
SOFIAPUBFUN int host_is_domain(char const *string);
SOFIAPUBFUN int host_is_valid(char const *string);
SOFIAPUBFUN int host_is_local(char const *string);
SOFIAPUBFUN int host_has_domain_invalid(char const *string);
SOFIAPUBFUN int host_cmp(char const *a, char const *b);
SOFIAPUBFUN int host_ip6_reference(char const *string);
SOFIA_END_DECLS
#endif /* !defined(SOFIA_SIP_HOSTDOMAIN_H) */
host_is_domain
int host_is_domain(char const *string)
Return true if string is valid a domain name.
Definition bnf.c:763
host_is_ip6_reference
int host_is_ip6_reference(char const *string)
Return true if string is valid IP6 reference, i.e.
Definition bnf.c:733
host_is_valid
int host_is_valid(char const *string)
Return true if string is valid a host name.
Definition bnf.c:773
host_is_ip4_address
int host_is_ip4_address(char const *string)
Return true if string is valid IP4 address in dot-notation.
Definition bnf.c:707
host_is_ip6_address
int host_is_ip6_address(char const *string)
Return true if string is valid IP6 address in hex notation.
Definition bnf.c:717
host_is_ip_address
int host_is_ip_address(char const *string)
Return true if string is valid IP address.
Definition bnf.c:744
host_is_local
int host_is_local(char const *string)
Returns true if string is describing a local address.
Definition bnf.c:784
host_has_domain_invalid
int host_has_domain_invalid(char const *string)
Return true if string has domain name in "invalid." domain.
Definition bnf.c:810
host_ip6_reference
int host_ip6_reference(char const *string)
This is typo.
Definition bnf.c:723
host_cmp
int host_cmp(char const *a, char const *b)
Compare two host names or IP addresses.
Definition bnf.c:895
su_config.h
SOFIAPUBFUN
#define SOFIAPUBFUN

Sofia-SIP 1.12.11devel - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.