| 1 | /* |
| 2 | * This Source Code Form is subject to the terms of the Mozilla Public |
| 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 5 | * |
| 6 | * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _CONNECTIONS_H |
| 10 | #define _CONNECTIONS_H 1 |
| 11 | |
| 12 | #include "merovingian.h" |
| 13 | |
| 14 | err openConnectionTCP(int *ret, bool use_ipv6, const char *bindaddr, unsigned short port, FILE *log); |
| 15 | err openConnectionUDP(int *ret, bool bind_ipv6, const char *bindaddr, unsigned short port); |
| 16 | err openConnectionUNIX(int *ret, const char *path, int mode, FILE *log); |
| 17 | |
| 18 | #endif |
| 19 | |
| 20 | /* vim:set ts=4 sw=4 noexpandtab: */ |
| 21 | |