Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=cb9d2c6643584e0712b234bd80afcf0efa30d3af

commit cb9d2c6643584e0712b234bd80afcf0efa30d3af
Author: Michel Hermier <herm...@frugalware.org>
Date:   Mon Nov 18 08:43:45 2013 +0100

libpacman: Use FStringList type in __pmtrans_t.

diff --git a/lib/libpacman/trans.h b/lib/libpacman/trans.h
index bda2b87..ffd770c 100644
--- a/lib/libpacman/trans.h
+++ b/lib/libpacman/trans.h
@@ -28,6 +28,8 @@ typedef struct __pmtrans_t pmtrans_t;

#include "handle.h"

+#include "util/stringlist.h"
+
enum {
STATE_IDLE = 0,
STATE_INITIALIZED,
@@ -58,10 +60,10 @@ struct __pmtrans_t {
pmtranstype_t type;
unsigned int flags;
unsigned char state;
-       pmlist_t *targets;     /* pmlist_t of (char *) */
+       FStringList *targets;
pmlist_t *packages;    /* pmlist_t of (pmpkg_t *) or (pmsyncpkg_t *) */
-       pmlist_t *skiplist;    /* pmlist_t of (char *) */
-       pmlist_t *triggers;    /* pmlist_t of (char *) */
+       FStringList *skiplist;
+       FStringList *triggers;
pmtrans_cbs_t cbs;
};
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to