112198SEiji.Ota@Sun.COM /* 212763SGiri.Adari@Sun.COM * This file contains definitions imported from the OFED rds header loop.h. 312763SGiri.Adari@Sun.COM * Oracle elects to have and use the contents of loop.h under and 412763SGiri.Adari@Sun.COM * governed by the OpenIB.org BSD license. 512198SEiji.Ota@Sun.COM */ 612198SEiji.Ota@Sun.COM /* 7*12863SEiji.Ota@Sun.COM * Copyright (c) 2008 Oracle. All rights reserved. 8*12863SEiji.Ota@Sun.COM * 9*12863SEiji.Ota@Sun.COM * This software is available to you under a choice of one of two 10*12863SEiji.Ota@Sun.COM * licenses. You may choose to be licensed under the terms of the GNU 11*12863SEiji.Ota@Sun.COM * General Public License (GPL) Version 2, available from the file 12*12863SEiji.Ota@Sun.COM * COPYING in the main directory of this source tree, or the 13*12863SEiji.Ota@Sun.COM * OpenIB.org BSD license below: 14*12863SEiji.Ota@Sun.COM * 15*12863SEiji.Ota@Sun.COM * Redistribution and use in source and binary forms, with or 16*12863SEiji.Ota@Sun.COM * without modification, are permitted provided that the following 17*12863SEiji.Ota@Sun.COM * conditions are met: 18*12863SEiji.Ota@Sun.COM * 19*12863SEiji.Ota@Sun.COM * - Redistributions of source code must retain the above 20*12863SEiji.Ota@Sun.COM * copyright notice, this list of conditions and the following 21*12863SEiji.Ota@Sun.COM * disclaimer. 22*12863SEiji.Ota@Sun.COM * 23*12863SEiji.Ota@Sun.COM * - Redistributions in binary form must reproduce the above 24*12863SEiji.Ota@Sun.COM * copyright notice, this list of conditions and the following 25*12863SEiji.Ota@Sun.COM * disclaimer in the documentation and/or other materials 26*12863SEiji.Ota@Sun.COM * provided with the distribution. 27*12863SEiji.Ota@Sun.COM * 28*12863SEiji.Ota@Sun.COM * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 29*12863SEiji.Ota@Sun.COM * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 30*12863SEiji.Ota@Sun.COM * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 31*12863SEiji.Ota@Sun.COM * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 32*12863SEiji.Ota@Sun.COM * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 33*12863SEiji.Ota@Sun.COM * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 34*12863SEiji.Ota@Sun.COM * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 35*12863SEiji.Ota@Sun.COM * SOFTWARE. 36*12863SEiji.Ota@Sun.COM * 3712198SEiji.Ota@Sun.COM */ 3812198SEiji.Ota@Sun.COM #ifndef _RDSV3_LOOP_H 3912198SEiji.Ota@Sun.COM #define _RDSV3_LOOP_H 4012198SEiji.Ota@Sun.COM 41*12863SEiji.Ota@Sun.COM #ifdef __cplusplus 42*12863SEiji.Ota@Sun.COM extern "C" { 43*12863SEiji.Ota@Sun.COM #endif 44*12863SEiji.Ota@Sun.COM 4512198SEiji.Ota@Sun.COM /* loop.c */ 4612198SEiji.Ota@Sun.COM extern struct rdsv3_transport rdsv3_loop_transport; 4712198SEiji.Ota@Sun.COM 4812198SEiji.Ota@Sun.COM void rdsv3_loop_exit(void); 4912198SEiji.Ota@Sun.COM 50*12863SEiji.Ota@Sun.COM #ifdef __cplusplus 51*12863SEiji.Ota@Sun.COM } 52*12863SEiji.Ota@Sun.COM #endif 53*12863SEiji.Ota@Sun.COM 5412198SEiji.Ota@Sun.COM #endif /* _RDSV3_LOOP_H */ 55