/usr/include/devhelp-3.0/devhelp/dh-link.h is in libdevhelp-dev 3.8.2-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 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2002 Mikael Hallendal <micke@imendio.com>
* Copyright (C) 2008 Imendio AB
*
* 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.
*/
#ifndef __DH_LINK_H__
#define __DH_LINK_H__
#include <glib-object.h>
typedef enum {
DH_LINK_TYPE_BOOK,
DH_LINK_TYPE_PAGE,
DH_LINK_TYPE_KEYWORD,
DH_LINK_TYPE_FUNCTION,
DH_LINK_TYPE_STRUCT,
DH_LINK_TYPE_MACRO,
DH_LINK_TYPE_ENUM,
DH_LINK_TYPE_TYPEDEF
} DhLinkType;
typedef enum {
DH_LINK_FLAGS_NONE = 0,
DH_LINK_FLAGS_DEPRECATED = 1 << 0
} DhLinkFlags;
typedef struct _DhLink DhLink;
#define DH_TYPE_LINK (dh_link_get_type ())
GType dh_link_get_type (void);
DhLink * dh_link_new (DhLinkType type,
const gchar *base,
const gchar *id,
const gchar *name,
DhLink *book,
DhLink *page,
const gchar *filename);
void dh_link_free (DhLink *link);
gint dh_link_compare (gconstpointer a,
gconstpointer b);
DhLink * dh_link_ref (DhLink *link);
void dh_link_unref (DhLink *link);
const gchar *dh_link_get_name (DhLink *link);
const gchar *dh_link_get_book_name (DhLink *link);
const gchar *dh_link_get_page_name (DhLink *link);
const gchar *dh_link_get_file_name (DhLink *link);
const gchar *dh_link_get_book_id (DhLink *link);
gchar *dh_link_get_uri (DhLink *link);
DhLinkFlags dh_link_get_flags (DhLink *link);
void dh_link_set_flags (DhLink *link,
DhLinkFlags flags);
DhLinkType dh_link_get_link_type (DhLink *link);
const gchar *dh_link_get_type_as_string (DhLink *link);
#endif /* __DH_LINK_H__ */
|