summaryrefslogtreecommitdiff
path: root/src/pool.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-03-28 12:01:34 +0200
committerMichael Schroeder <mls@suse.de>2011-03-28 12:01:34 +0200
commit428d753d43d8cdc55c467b3313ae6a88cbd245f7 (patch)
tree61e9bc7955cc6bf81264d033d53ba8efeb7253b2 /src/pool.h
parentd85e155c20d491d4b89d62e092860403c4073a55 (diff)
downloadlibsolv-428d753d43d8cdc55c467b3313ae6a88cbd245f7.tar.gz
libsolv-428d753d43d8cdc55c467b3313ae6a88cbd245f7.tar.bz2
libsolv-428d753d43d8cdc55c467b3313ae6a88cbd245f7.zip
- use correct defaults for rpm5, put tmpspace in extra struct
Diffstat (limited to 'src/pool.h')
-rw-r--r--src/pool.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/pool.h b/src/pool.h
index 05013d5..81f0692 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -52,6 +52,12 @@ typedef struct _Datapos {
Id dp;
} Datapos;
+struct _Pool_tmpspace {
+ char *buf[POOL_TMPSPACEBUF];
+ int len[POOL_TMPSPACEBUF];
+ int n;
+};
+
struct _Pool {
void *appdata; /* application private pointer */
@@ -113,9 +119,7 @@ struct _Pool {
void *nscallbackdata;
/* our tmp space string space */
- char *tmpspacebuf[POOL_TMPSPACEBUF];
- int tmpspacelen[POOL_TMPSPACEBUF];
- int tmpspacen;
+ struct _Pool_tmpspace tmpspace;
/* debug mask and callback */
int debugmask;