/usr/include/libcroco-0.6/libcroco/cr-additional-sel.h is in libcroco3-dev 0.6.8-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /* -*- Mode: C; indent-tabs-mode:nil; c-basic-offset: 8-*- */
/*
* This file is part of The Croco Library
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2.1 of the GNU Lesser General Public
* License as published by the Free Software Foundation.
*
* 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 Lesser 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
*
* Author: Dodji Seketeli
* See the COPYRIGHTS file for copyright information.
*/
#ifndef __CR_ADD_SEL_H__
#define __CR_ADD_SEL_H__
#include <stdio.h>
#include <glib.h>
#include "cr-utils.h"
#include "cr-attr-sel.h"
#include "cr-pseudo.h"
#include "cr-additional-sel.h"
G_BEGIN_DECLS
enum AddSelectorType
{
NO_ADD_SELECTOR = 0 ,
CLASS_ADD_SELECTOR = 1 ,
PSEUDO_CLASS_ADD_SELECTOR = 1 << 1,
ID_ADD_SELECTOR = 1 << 3,
ATTRIBUTE_ADD_SELECTOR = 1 << 4
} ;
union CRAdditionalSelectorContent
{
CRString *class_name ;
CRString *id_name ;
CRPseudo *pseudo ;
CRAttrSel *attr_sel ;
} ;
typedef struct _CRAdditionalSel CRAdditionalSel ;
struct _CRAdditionalSel
{
enum AddSelectorType type ;
union CRAdditionalSelectorContent content ;
CRAdditionalSel * next ;
CRAdditionalSel * prev ;
CRParsingLocation location ;
} ;
CRAdditionalSel * cr_additional_sel_new (void) ;
CRAdditionalSel * cr_additional_sel_new_with_type (enum AddSelectorType a_sel_type) ;
CRAdditionalSel * cr_additional_sel_append (CRAdditionalSel *a_this,
CRAdditionalSel *a_sel) ;
void cr_additional_sel_set_class_name (CRAdditionalSel *a_this,
CRString *a_class_name) ;
void cr_additional_sel_set_id_name (CRAdditionalSel *a_this,
CRString *a_id) ;
void cr_additional_sel_set_pseudo (CRAdditionalSel *a_this,
CRPseudo *a_pseudo) ;
void cr_additional_sel_set_attr_sel (CRAdditionalSel *a_this,
CRAttrSel *a_sel) ;
CRAdditionalSel * cr_additional_sel_prepend (CRAdditionalSel *a_this,
CRAdditionalSel *a_sel) ;
guchar * cr_additional_sel_to_string (CRAdditionalSel const *a_this) ;
guchar * cr_additional_sel_one_to_string (CRAdditionalSel const *a_this) ;
void cr_additional_sel_dump (CRAdditionalSel const *a_this, FILE *a_fp) ;
void cr_additional_sel_destroy (CRAdditionalSel *a_this) ;
G_END_DECLS
#endif /*__CR_ADD_SEL_H*/
|