1 /* 2 * The Wackamole Program. 3 * 4 * The contents of this file are subject to the CNDS Open Source 5 * License, Version 1.0 (the ``License''); you may not use 6 * this file except in compliance with the License. You may obtain a 7 * copy of the License at: 8 * 9 * http://www.backhand.org/wackamole/license/ 10 * 11 * or in the file ``license.txt'' found in this distribution. 12 * 13 * Software distributed under the License is distributed on an AS IS basis, 14 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 15 * for the specific language governing rights and limitations under the 16 * License. 17 * 18 * The Creators of Wackamole are: 19 * Yair Amir, Ryan Caudy, Aashima Munjal and Theo Schlossnagle. 20 * 21 * Copyright (C) 2000-2001 The Johns Hopkins University 22 * All Rights Reserved. 23 * 24 * This product uses the Spread toolkit, developed by Spread Concepts LLC. 25 * For more information about Spread see http://www.spread.org 26 * 27 * Wackamole development was partially funded by a grant from the Defense 28 * Advanced Research Projects Agency (DARPA) to Johns Hopkins University. The 29 * U.S. Government retains certain rights in this software. 30 * 31 */ 32 #ifndef _CONTROL_H 33 #define _CONTROL_H 34 35 #define READ_COMMAND 100 36 37 void create_control_socket(const char *filename); 38 void handle_control_connect(int fd, int code, void *data); 39 void handle_control_session(int fd, int code, void *data); 40 41 #endif 42