epoc32/include/stdapis/glib-2.0/glib/gpattern.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 0 061f57f2323e
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /* GLIB - Library of useful routines for C programming
     2  * Copyright (C) 1995-1997, 1999  Peter Mattis, Red Hat, Inc.
     3  * Portions copyright (c) 2006 Nokia Corporation.  All rights reserved. 
     4  *
     5  * This library is free software; you can redistribute it and/or
     6  * modify it under the terms of the GNU Lesser General Public
     7  * License as published by the Free Software Foundation; either
     8  * version 2 of the License, or (at your option) any later version.
     9  *
    10  * This library is distributed in the hope that it will be useful,
    11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13  * Lesser General Public License for more details.
    14  *
    15  * You should have received a copy of the GNU Lesser General Public
    16  * License along with this library; if not, write to the
    17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    18  * Boston, MA 02111-1307, USA.
    19  */
    20 #ifndef __G_PATTERN_H__
    21 #define __G_PATTERN_H__
    22 
    23 #include <_ansi.h>
    24 #include <glib/gtypes.h>
    25 
    26 G_BEGIN_DECLS
    27 
    28 
    29 typedef struct _GPatternSpec    GPatternSpec;
    30 
    31 IMPORT_C GPatternSpec* g_pattern_spec_new       (const gchar  *pattern);
    32 IMPORT_C void          g_pattern_spec_free      (GPatternSpec *pspec);
    33 IMPORT_C gboolean      g_pattern_spec_equal     (GPatternSpec *pspec1,
    34 					GPatternSpec *pspec2);
    35 IMPORT_C gboolean      g_pattern_match          (GPatternSpec *pspec,
    36 					guint         string_length,
    37 					const gchar  *string,
    38 					const gchar  *string_reversed);
    39 IMPORT_C gboolean      g_pattern_match_string   (GPatternSpec *pspec,
    40 					const gchar  *string);
    41 IMPORT_C gboolean      g_pattern_match_simple   (const gchar  *pattern,
    42 					const gchar  *string);
    43 
    44 G_END_DECLS
    45 
    46 #endif /* __G_PATTERN_H__ */