Libcroco
cr-pseudo.h
Go to the documentation of this file.
1 /* -*- Mode: C; indent-tabs-mode:nil; c-basic-offset: 8-*- */
2 
3 /*
4  * This file is part of The Croco Library
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of version 2.1 of the GNU Lesser General Public
8  * License as published by the Free Software Foundation.
9  *
10  * This program 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
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18  * USA
19  *
20  * See COPYRIGHTS file for copyright information
21  */
22 
23 #ifndef __CR_PSEUDO_H__
24 #define __CR_PSEUDO_H__
25 
26 #include <stdio.h>
27 #include <glib.h>
28 #include "cr-attr-sel.h"
29 #include "cr-parsing-location.h"
30 
31 G_BEGIN_DECLS
32 
34 {
37 } ;
38 
39 typedef struct _CRPseudo CRPseudo ;
40 
41 /**
42  *The CRPseudo Class.
43  *Abstract a "pseudo" as defined by the css2 spec
44  *in appendix D.1 .
45  */
46 struct _CRPseudo
47 {
52 } ;
53 
54 CRPseudo * cr_pseudo_new (void) ;
55 
56 guchar * cr_pseudo_to_string (CRPseudo const *a_this) ;
57 
58 void cr_pseudo_dump (CRPseudo const *a_this, FILE *a_fp) ;
59 
60 void cr_pseudo_destroy (CRPseudo *a_this) ;
61 
62 G_END_DECLS
63 
64 #endif /*__CR_PSEUDO_H__*/
guchar * cr_pseudo_to_string(CRPseudo const *a_this)
cr_pseudo_to_string: @a_this: the current instance of #CRPseud.
Definition: cr-pseudo.c:55
CRParsingLocation location
Definition: cr-pseudo.h:51
CRPseudo * cr_pseudo_new(void)
@CRPseudo: The definition of the CRPseudo class.
Definition: cr-pseudo.c:38
void cr_pseudo_destroy(CRPseudo *a_this)
cr_pseudo_destroy: @a_this: the current instance to destroy.
Definition: cr-pseudo.c:152
The declaration of the CRParsingLocation object.
enum CRPseudoType type
Definition: cr-pseudo.h:48
CRString * name
Definition: cr-pseudo.h:49
typedefG_BEGIN_DECLS struct _CRString CRString
Definition: cr-string.h:37
CRPseudoType
Definition: cr-pseudo.h:33
CRString * extra
Definition: cr-pseudo.h:50
void cr_pseudo_dump(CRPseudo const *a_this, FILE *a_fp)
cr_pseudo_dump: @a_this: the current instance of pseudo @a_fp: the destination file pointer.
Definition: cr-pseudo.c:131
The CRPseudo Class.
Definition: cr-pseudo.h:46