/usr/include/libyelp/yelp-transform.h is in libyelp-dev 3.4.1-0ubuntu1.
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 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2003-2009 Shaun McCance <shaunm@gnome.org>
*
* 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.
*
* Author: Shaun McCance <shaunm@gnome.org>
*/
#ifndef __YELP_TRANSFORM_H__
#define __YELP_TRANSFORM_H__
#include <glib.h>
#include <glib-object.h>
#include <libxml/tree.h>
#include <libxslt/xslt.h>
#include <libxslt/transform.h>
#define YELP_TYPE_TRANSFORM (yelp_transform_get_type ())
#define YELP_TRANSFORM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), YELP_TYPE_TRANSFORM, YelpTransform))
#define YELP_TRANSFORM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), YELP_TYPE_TRANSFORM, YelpTransformClass))
#define YELP_IS_TRANSFORM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), YELP_TYPE_TRANSFORM))
#define YELP_IS_TRANSFORM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), YELP_TYPE_TRANSFORM))
typedef struct _YelpTransform YelpTransform;
typedef struct _YelpTransformClass YelpTransformClass;
struct _YelpTransform {
GObject parent;
};
struct _YelpTransformClass {
GObjectClass parent_class;
};
YelpTransform * yelp_transform_new (const gchar *stylesheet);
gboolean yelp_transform_start (YelpTransform *transform,
xmlDocPtr document,
xmlDocPtr auxiliary,
const gchar * const *params);
gchar * yelp_transform_take_chunk (YelpTransform *transform,
const gchar *chunk_id);
void yelp_transform_cancel (YelpTransform *transform);
GError * yelp_transform_get_error (YelpTransform *transform);
#endif /* __YELP_TRANSFORM_H__ */
|