diff options
author | Michael Schroeder <mls@suse.de> | 2011-03-28 12:01:34 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2011-03-28 12:01:34 +0200 |
commit | 428d753d43d8cdc55c467b3313ae6a88cbd245f7 (patch) | |
tree | 61e9bc7955cc6bf81264d033d53ba8efeb7253b2 /src/pool.h | |
parent | d85e155c20d491d4b89d62e092860403c4073a55 (diff) | |
download | libsolv-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.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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; |