rfb.h revision 302408
1215236Sdelphij/*-
286669Sgreen * Copyright (c) 2015 Tycho Nightingale <tycho.nightingale@pluribusnetworks.com>
386669Sgreen * All rights reserved.
486669Sgreen *
5215236Sdelphij * Redistribution and use in source and binary forms, with or without
686669Sgreen * modification, are permitted provided that the following conditions
7215236Sdelphij * are met:
8215236Sdelphij * 1. Redistributions of source code must retain the above copyright
9215236Sdelphij *    notice, this list of conditions and the following disclaimer.
1086669Sgreen * 2. Redistributions in binary form must reproduce the above copyright
11215236Sdelphij *    notice, this list of conditions and the following disclaimer in the
12215236Sdelphij *    documentation and/or other materials provided with the distribution.
13215236Sdelphij *
14215236Sdelphij * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
15215236Sdelphij * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16215236Sdelphij * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17215236Sdelphij * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18215236Sdelphij * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19215236Sdelphij * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20215236Sdelphij * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21215236Sdelphij * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2286669Sgreen * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2386669Sgreen * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2486669Sgreen * SUCH DAMAGE.
2586669Sgreen *
2686669Sgreen * $FreeBSD: stable/11/usr.sbin/bhyve/rfb.h 302408 2016-07-08 00:04:57Z gjb $
2786669Sgreen */
2886669Sgreen
2986669Sgreen#ifndef _RFB_H_
3086669Sgreen#define	_RFB_H_
3186669Sgreen
3286669Sgreen#define	RFB_PORT	5900
33215236Sdelphij
3486669Sgreenint	rfb_init(char *hostname, int port, int wait);
3586669Sgreen
36178863Sscf#endif /* _RFB_H_ */
3786669Sgreen