190731Sjhay/*- 2158124Smarcel * Copyright (c) 2015 Tycho Nightingale <tycho.nightingale@pluribusnetworks.com> 3158124Smarcel * All rights reserved. 490731Sjhay * 590731Sjhay * Redistribution and use in source and binary forms, with or without 690731Sjhay * modification, are permitted provided that the following conditions 790731Sjhay * are met: 890731Sjhay * 1. Redistributions of source code must retain the above copyright 990731Sjhay * notice, this list of conditions and the following disclaimer. 1090731Sjhay * 2. Redistributions in binary form must reproduce the above copyright 1190731Sjhay * notice, this list of conditions and the following disclaimer in the 1290731Sjhay * documentation and/or other materials provided with the distribution. 1390731Sjhay * 1490731Sjhay * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND 1590731Sjhay * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1690731Sjhay * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1790731Sjhay * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1890731Sjhay * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1990731Sjhay * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2090731Sjhay * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2190731Sjhay * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2290731Sjhay * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2390731Sjhay * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2490731Sjhay * SUCH DAMAGE. 2590731Sjhay * 2690731Sjhay * $FreeBSD: releng/11.0/usr.sbin/bhyve/rfb.h 302408 2016-07-08 00:04:57Z gjb $ 2790731Sjhay */ 2890731Sjhay 2990731Sjhay#ifndef _RFB_H_ 3090731Sjhay#define _RFB_H_ 3190731Sjhay 3290731Sjhay#define RFB_PORT 5900 3390731Sjhay 3490731Sjhayint rfb_init(char *hostname, int port, int wait); 3590731Sjhay 36158124Smarcel#endif /* _RFB_H_ */ 3790731Sjhay