2 * ***** BEGIN GPL LICENSE BLOCK *****
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software Foundation,
16 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * The Original Code is Copyright (C) 2005 Blender Foundation.
19 * All rights reserved.
21 * The Original Code is: all of this file.
23 * Contributor(s): Lukas Toenne.
25 * ***** END GPL LICENSE BLOCK *****
28 /** \file NOD_common.h
37 void register_node_type_frame(void);
38 void register_node_type_reroute(void);
40 void register_node_type_group_input(void);
41 void register_node_type_group_output(void);
44 /* internal functions for editor */
45 struct bNodeSocket *node_group_find_input_socket(struct bNode *groupnode, const char *identifier);
46 struct bNodeSocket *node_group_find_output_socket(struct bNode *groupnode, const char *identifier);
47 void node_group_verify(struct bNodeTree *ntree, struct bNode *node, struct ID *id);
49 struct bNodeSocket *node_group_input_find_socket(struct bNode *node, const char *identifier);
50 struct bNodeSocket *node_group_output_find_socket(struct bNode *node, const char *identifier);
51 void node_group_input_verify(struct bNodeTree *ntree, struct bNode *node, struct ID *id);
52 void node_group_output_verify(struct bNodeTree *ntree, struct bNode *node, struct ID *id);