4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright (c) 2002-2003, Network Appliance, Inc. All rights reserved.
27 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
28 * Use is subject to license terms.
33 * HEADER: dapl_cookie.h
35 * PURPOSE: Utility defs & routines for the cookie data structure
37 * $Id: dapl_cookie.h,v 1.7 2003/06/13 12:21:02 sjs2 Exp $
41 #ifndef _DAPL_COOKIE_H_
42 #define _DAPL_COOKIE_H_
52 DAPL_COOKIE_BUFFER
*buffer
,
54 DAPL_COOKIE_QUEUE_TYPE type
,
59 IN DAPL_COOKIE_BUFFER
*curr_buffer
,
60 IN DAT_COUNT new_size
,
61 IN DAPL_COOKIE_BUFFER
*new_buffer
);
65 DAPL_COOKIE_BUFFER
*buffer
);
68 dapls_rmr_cookie_alloc(
69 IN DAPL_COOKIE_BUFFER
*buffer
,
71 IN DAT_RMR_COOKIE user_cookie
,
72 OUT DAPL_COOKIE
**cookie_ptr
);
75 dapls_dto_cookie_alloc(
76 IN DAPL_COOKIE_BUFFER
*buffer
,
77 IN DAPL_DTO_TYPE type
,
78 IN DAT_DTO_COOKIE user_cookie
,
79 OUT DAPL_COOKIE
**cookie_ptr
);
83 IN DAPL_COOKIE_BUFFER
*buffer
,
84 IN DAPL_COOKIE
*cookie
);
90 #endif /* _DAPL_COOKIE_H_ */