/usr/include/weed/weed-plugin.h is in libweed-dev 2.4.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /* WEED is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
Weed is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this source code; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Weed is developed by:
Gabriel "Salsaman" Finch - http://lives.sourceforge.net
mainly based on LiViDO, which is developed by:
Niels Elburg - http://veejay.sf.net
Gabriel "Salsaman" Finch - http://lives.sourceforge.net
Denis "Jaromil" Rojo - http://freej.dyne.org
Tom Schouten - http://zwizwa.fartit.com
Andraz Tori - http://cvs.cinelerra.org
reviewed with suggestions and contributions from:
Silvano "Kysucix" Galliani - http://freej.dyne.org
Kentaro Fukuchi - http://megaui.net/fukuchi
Jun Iio - http://www.malib.net
Carlo Prelz - http://www2.fluido.as:8080/
*/
/* (C) Gabriel "Salsaman" Finch, 2005 - 2013 */
#ifndef __WEED_PLUGIN_H__
#define __WEED_PLUGIN_H__
#ifndef __WEED_H__
#include <weed/weed.h>
#endif
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
#ifndef __WEED_INTERNAL__
/// functions defined as static so as not to overwrite the host versions
static weed_leaf_set_f weed_leaf_set;
static weed_leaf_get_f weed_leaf_get;
static weed_plant_new_f weed_plant_new;
static weed_plant_list_leaves_f weed_plant_list_leaves;
static weed_leaf_num_elements_f weed_leaf_num_elements;
static weed_leaf_element_size_f weed_leaf_element_size;
static weed_leaf_seed_type_f weed_leaf_seed_type;
static weed_leaf_get_flags_f weed_leaf_get_flags;
static weed_malloc_f weed_malloc;
static weed_free_f weed_free;
static weed_memcpy_f weed_memcpy;
static weed_memset_f weed_memset;
#else
/// weed libs which #include this should use the plugin's version
extern weed_leaf_set_f weed_leaf_set;
extern weed_leaf_get_f weed_leaf_get;
extern weed_plant_new_f weed_plant_new;
extern weed_plant_list_leaves_f weed_plant_list_leaves;
extern weed_leaf_num_elements_f weed_leaf_num_elements;
extern weed_leaf_element_size_f weed_leaf_element_size;
extern weed_leaf_seed_type_f weed_leaf_seed_type;
extern weed_leaf_get_flags_f weed_leaf_get_flags;
extern weed_malloc_f weed_malloc;
extern weed_free_f weed_free;
extern weed_memcpy_f weed_memcpy;
extern weed_memset_f weed_memset;
#endif
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif // #ifndef __WEED_PLUGIN_H__
|