rfb.h (4c87aefe8930bd07275b8dd2e96ea5f24d93a52e) rfb.h (2b9481465d6ee67ac62c160dbf79c3ec3348c611)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2015 Tycho Nightingale <tycho.nightingale@pluribusnetworks.com>
5 * Copyright 2018 Joyent, Inc.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 22 unchanged lines hidden (view full) ---

31
32#ifndef _RFB_H_
33#define _RFB_H_
34
35#define RFB_PORT 5900
36
37int rfb_init(char *hostname, int port, int wait, char *password);
38#ifndef __FreeBSD__
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2015 Tycho Nightingale <tycho.nightingale@pluribusnetworks.com>
5 * Copyright 2018 Joyent, Inc.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 22 unchanged lines hidden (view full) ---

31
32#ifndef _RFB_H_
33#define _RFB_H_
34
35#define RFB_PORT 5900
36
37int rfb_init(char *hostname, int port, int wait, char *password);
38#ifndef __FreeBSD__
39int rfb_init_unix(char *path, int wait, char *password);
39int rfb_init_unix(const char *path, int wait, char *password);
40#endif
41
42#endif /* _RFB_H_ */
40#endif
41
42#endif /* _RFB_H_ */