| 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 _CONTROLRUNNER_H |
| 10 | #define _CONTROLRUNNER_H 1 |
| 11 | |
| 12 | #include "stream.h" |
| 13 | |
| 14 | char control_authorise(const char *host, const char *chal, const char *algo, const char *passwd, stream *fout); |
| 15 | void control_handleclient(const char *host, int sock, stream *fdin, stream *fdout); |
| 16 | void *controlRunner(void *d); |
| 17 | |
| 18 | #endif |
| 19 | |
| 20 | /* vim:set ts=4 sw=4 noexpandtab: */ |
| 21 | |