libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Loading...
Searching...
No Matches
paste.h
1/*
2 * CDDL HEADER START
3 *
4 * This file and its contents are supplied under the terms of the
5 * Common Development and Distribution License ("CDDL"), version 1.0.
6 * You may only use this file in accordance with the terms of version
7 * 1.0 of the CDDL.
8 *
9 * A full copy of the text of the CDDL should have accompanied this
10 * source. A copy of the CDDL is also available via the Internet at
11 * http://www.illumos.org/license/CDDL.
12 *
13 * CDDL HEADER END
14*/
15/*
16 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
17 */
18
19#ifndef _ACF_UTILS_PASTE_H_
20#define _ACF_UTILS_PASTE_H_
21
22#include "types.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28API_EXPORT bool_t paste_init(void);
29API_EXPORT void paste_fini(void);
30API_EXPORT bool_t paste_get_str(char *str, size_t cap);
31API_EXPORT bool_t paste_set_str(const char *str);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* _ACF_UTILS_PASTE_H_ */