/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2002-2003, Network Appliance, Inc. All rights reserved.
*/
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
*
* HEADER: dapl_evd_util.h
*
* PURPOSE: Utility defs & routines for the EVD data structure
*
* $Id: dapl_evd_util.h,v 1.10 2003/06/13 12:21:09 sjs2 Exp $
*
*/
#ifndef _DAPL_EVD_UTIL_H_
#define _DAPL_EVD_UTIL_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "dapl.h"
DAPL_EVD *
/*
* Each of these functions will retrieve a free event from
* the specified EVD, fill in the elements of that event, and
* post the event back to the EVD. If there is no EVD available,
* an overflow event will be posted to the async EVD associated
* with the EVD.
*
* DAT_INSUFFICIENT_RESOURCES will be returned on overflow,
* DAT_SUCCESS otherwise.
*/
/*
* dapl internal callbacks functions
*/
/* connection verb callback */
extern void dapl_evd_connection_callback(
IN const void *instant_data_p,
/* dto verb callback */
extern void dapl_evd_dto_callback(
/* async verb callbacks */
extern void dapl_evd_un_async_error_callback(
extern void dapl_evd_cq_async_error_callback(
extern void dapl_evd_qp_async_error_callback(
extern void dapls_cr_callback(
IN const void *instant_data_p,
extern void dapls_evd_copy_cq(
extern DAT_RETURN dapls_evd_copy_events(
extern void dapls_evd_post_premature_events(
extern DAT_RETURN dapls_evd_cq_poll_to_event(
#ifdef __cplusplus
}
#endif
#endif /* _DAPL_EVD_UTIL_H_ */