Annotation of src/external/mpl/bind/dist/lib/isc/include/isc/netscope.h, Revision 1.3.2.2
1.3.2.2 ! christos 1: /* $NetBSD: netscope.h,v 1.3 2019/01/09 16:55:15 christos Exp $ */
! 2:
! 3: /*
! 4: * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
! 5: *
! 6: * This Source Code Form is subject to the terms of the Mozilla Public
! 7: * License, v. 2.0. If a copy of the MPL was not distributed with this
! 8: * file, You can obtain one at http://mozilla.org/MPL/2.0/.
! 9: *
! 10: * See the COPYRIGHT file distributed with this work for additional
! 11: * information regarding copyright ownership.
! 12: */
! 13:
! 14:
! 15: #ifndef ISC_NETSCOPE_H
! 16: #define ISC_NETSCOPE_H 1
! 17:
! 18: /*! \file isc/netscope.h */
! 19:
! 20: #include <inttypes.h>
! 21:
! 22: ISC_LANG_BEGINDECLS
! 23:
! 24: /*%
! 25: * Convert a string of an IPv6 scope zone to zone index. If the conversion
! 26: * succeeds, 'zoneid' will store the index value.
! 27: *
! 28: * XXXJT: when a standard interface for this purpose is defined,
! 29: * we should use it.
! 30: *
! 31: * Returns:
! 32: * \li ISC_R_SUCCESS: conversion succeeds
! 33: * \li ISC_R_FAILURE: conversion fails
! 34: */
! 35: isc_result_t
! 36: isc_netscope_pton(int af, char *scopename, void *addr, uint32_t *zoneid);
! 37:
! 38: ISC_LANG_ENDDECLS
! 39:
! 40: #endif /* ISC_NETSCOPE_H */
CVSweb <webmaster@jp.NetBSD.org>