1 /* gimpparasite.h: Copyright 1998 Jay Cox <jaycox@gimp.org>
2  *
3  * This program is free software: you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 3 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef __GIMP_PARASITES_H__
18 #define __GIMP_PARASITES_H__
19 
20 
21 /* some wrappers to access gimp->parasites, mainly for the PDB */
22 
23 gboolean              gimp_parasite_validate     (Gimp               *gimp,
24                                                   const GimpParasite *parasite,
25                                                   GError            **error);
26 void                  gimp_parasite_attach       (Gimp               *gimp,
27                                                   const GimpParasite *parasite);
28 void                  gimp_parasite_detach       (Gimp               *gimp,
29                                                   const gchar        *name);
30 const GimpParasite  * gimp_parasite_find         (Gimp               *gimp,
31                                                   const gchar        *name);
32 gchar              ** gimp_parasite_list         (Gimp               *gimp,
33                                                   gint               *count);
34 
35 void                  gimp_parasite_shift_parent (GimpParasite       *parasite);
36 
37 void                  gimp_parasiterc_load       (Gimp               *gimp);
38 void                  gimp_parasiterc_save       (Gimp               *gimp);
39 
40 
41 #endif  /*  __GIMP_PARASITES_H__  */
42