c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota/*
16e76cdd6e3cfaac7d91c3b0644ee1bc6cf52347agiri * This file contains definitions imported from the OFED rds header loop.h.
16e76cdd6e3cfaac7d91c3b0644ee1bc6cf52347agiri * Oracle elects to have and use the contents of loop.h under and
16e76cdd6e3cfaac7d91c3b0644ee1bc6cf52347agiri * governed by the OpenIB.org BSD license.
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota */
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota/*
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * Copyright (c) 2008 Oracle. All rights reserved.
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota *
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * This software is available to you under a choice of one of two
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * licenses. You may choose to be licensed under the terms of the GNU
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * General Public License (GPL) Version 2, available from the file
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * COPYING in the main directory of this source tree, or the
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * OpenIB.org BSD license below:
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota *
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * Redistribution and use in source and binary forms, with or
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * without modification, are permitted provided that the following
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * conditions are met:
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota *
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * - Redistributions of source code must retain the above
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * copyright notice, this list of conditions and the following
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * disclaimer.
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota *
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * - Redistributions in binary form must reproduce the above
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * copyright notice, this list of conditions and the following
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * disclaimer in the documentation and/or other materials
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * provided with the distribution.
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota *
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota * SOFTWARE.
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota *
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota */
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota#ifndef _RDSV3_LOOP_H
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota#define _RDSV3_LOOP_H
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota#ifdef __cplusplus
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Otaextern "C" {
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota#endif
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota/* loop.c */
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Otaextern struct rdsv3_transport rdsv3_loop_transport;
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Otavoid rdsv3_loop_exit(void);
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota#ifdef __cplusplus
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota}
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota#endif
fe817b6022080da0a98b5d2d8cd179f594d6ca5eEiji Ota
c0dd49bdd68c0d758a67d56f07826f3b45cfc664Eiji Ota#endif /* _RDSV3_LOOP_H */