mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2025-12-30 10:30:05 +01:00
Using a doubly-linked list allows it to be easily traversed in both directions and makes removing nodes in place much simpler. This adds an extra pointer to each node and associated manipulation during any list processing, but this trade seems acceptable over the repeated hacks to work with singly-linked lists.
34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
/*
|
|
* Copyright (C) 2001, 2002 Red Hat Inc.
|
|
*
|
|
* 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 PKG_CONFIG_PARSE_H
|
|
#define PKG_CONFIG_PARSE_H
|
|
|
|
#include "pkg.h"
|
|
|
|
Package *parse_package_file (const char *path, gboolean ignore_requires,
|
|
gboolean ignore_private_libs,
|
|
gboolean ignore_requires_private);
|
|
|
|
GList *parse_module_list (Package *pkg, const char *str, const char *path);
|
|
|
|
#endif
|
|
|
|
|
|
|