libpkgconf: queue: make the pkgconf_queue_t type public

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
pull/190/head
Ariadne Conill 2023-08-11 14:16:41 -07:00
parent 5ef2ab8c7c
commit 4fb0988a29
2 changed files with 6 additions and 5 deletions

View File

@ -67,6 +67,7 @@ typedef struct pkgconf_fragment_ pkgconf_fragment_t;
typedef struct pkgconf_path_ pkgconf_path_t;
typedef struct pkgconf_client_ pkgconf_client_t;
typedef struct pkgconf_cross_personality_ pkgconf_cross_personality_t;
typedef struct pkgconf_queue_ pkgconf_queue_t;
#define PKGCONF_ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
@ -82,6 +83,11 @@ typedef struct pkgconf_cross_personality_ pkgconf_cross_personality_t;
#define LIBPKGCONF_VERSION 20000
#define LIBPKGCONF_VERSION_STR "2.0.0"
struct pkgconf_queue_ {
pkgconf_node_t iter;
char *package;
};
struct pkgconf_fragment_ {
pkgconf_node_t iter;

View File

@ -29,11 +29,6 @@
* Using the `queue` module functions is the recommended way of working with dependency graphs.
*/
typedef struct {
pkgconf_node_t iter;
char *package;
} pkgconf_queue_t;
/*
* !doc
*