File: gap_match.h

package info (click to toggle)
gimp-gap 2.6.0%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 19,656 kB
  • ctags: 7,358
  • sloc: ansic: 119,801; sh: 3,890; makefile: 932; lisp: 97; pascal: 55
file content (51 lines) | stat: -rw-r--r-- 1,777 bytes parent folder | download | duplicates (7)
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
/*  gap_match.h
 *
 * GAP ... Gimp Animation Plugins
 *
 */
/* The GIMP -- an image manipulation program
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

/* revision history:
 * version 0.97.00  1998.10.14  hof: - created module 
 */
 

#ifndef _GAP_MATCH_H
#define _GAP_MATCH_H

#include "libgimp/gimp.h"

#define GAP_MTCH_EQUAL       0
#define GAP_MTCH_START       1
#define GAP_MTCH_END         2
#define GAP_MTCH_ANYWHERE    3
#define GAP_MTCH_NUMBERLIST  4
#define GAP_MTCH_INV_NUMBERLIST  5
#define GAP_MTCH_ALL_VISIBLE  6

int  gap_match_string_is_empty (const char *str);
void gap_match_substitute_framenr (char *buffer, int buff_len, char *new_layername, long curr);

int  gap_match_number(gint32 layer_id, const char *pattern);
int  gap_match_name(const char *layername, const char *pattern, gint32 mode, gint32 case_sensitive);
int  gap_match_layer(gint32 layer_idx, const char *layername, const char *pattern,
                  gint32 mode, gint32 case_sensitive, gint32 invert,
                  gint nlayers, gint32 layer_id);

#endif