| 1 | /* |
| 2 | |
| 3 | Copyright 1993, 1994, 1998 The Open Group |
| 4 | |
| 5 | Permission to use, copy, modify, distribute, and sell this software and its |
| 6 | documentation for any purpose is hereby granted without fee, provided that |
| 7 | the above copyright notice appear in all copies and that both that |
| 8 | copyright notice and this permission notice appear in supporting |
| 9 | documentation. |
| 10 | |
| 11 | The above copyright notice and this permission notice shall be included |
| 12 | in all copies or substantial portions of the Software. |
| 13 | |
| 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 15 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 17 | IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 18 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 19 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 20 | OTHER DEALINGS IN THE SOFTWARE. |
| 21 | |
| 22 | Except as contained in this notice, the name of The Open Group shall |
| 23 | not be used in advertising or otherwise to promote the sale, use or |
| 24 | other dealings in this Software without prior written authorization |
| 25 | from The Open Group. |
| 26 | |
| 27 | * Copyright 1993, 1994 NCR Corporation - Dayton, Ohio, USA |
| 28 | * |
| 29 | * All Rights Reserved |
| 30 | * |
| 31 | * Permission to use, copy, modify, and distribute this software and its |
| 32 | * documentation for any purpose and without fee is hereby granted, provided |
| 33 | * that the above copyright notice appear in all copies and that both that |
| 34 | * copyright notice and this permission notice appear in supporting |
| 35 | * documentation, and that the name NCR not be used in advertising |
| 36 | * or publicity pertaining to distribution of the software without specific, |
| 37 | * written prior permission. NCR makes no representations about the |
| 38 | * suitability of this software for any purpose. It is provided "as is" |
| 39 | * without express or implied warranty. |
| 40 | * |
| 41 | * NCR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
| 42 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN |
| 43 | * NO EVENT SHALL NCR BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
| 44 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS |
| 45 | * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
| 46 | * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
| 47 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 48 | */ |
| 49 | |
| 50 | #include <stdlib.h> |
| 51 | |
| 52 | #define XTRANS_TRANSPORT_C /* used to flag Xtransint.h that it's being used |
| 53 | here, not just #included in another file */ |
| 54 | |
| 55 | #include "Xtransint.h" |
| 56 | |
| 57 | #ifdef __clang__ |
| 58 | #pragma clang diagnostic push |
| 59 | #pragma clang diagnostic ignored "-Wformat-nonliteral" |
| 60 | #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
| 61 | #endif |
| 62 | |
| 63 | #ifdef LOCALCONN |
| 64 | #include "Xtranslcl.c" |
| 65 | #endif |
| 66 | #if defined(TCPCONN) || defined(UNIXCONN) |
| 67 | #include "Xtranssock.c" |
| 68 | #endif |
| 69 | #include "Xtrans.c" |
| 70 | #include "Xtransutil.c" |
| 71 | |
| 72 | #ifdef __clang__ |
| 73 | #pragma clang diagnostic pop |
| 74 | #endif |