diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-06-25 14:56:35 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-06-25 14:56:35 -0500 |
commit | d4cb7e14b54e4f4510fd73d1b3e219eaaffbe081 (patch) | |
tree | 595428a39e909066dcb5186fb8b2b8207ce2ab7e /src/zebra.h | |
parent | 42782c7e5bd4f1a0475cbdc455bd2f7917e066a0 (diff) | |
download | sddm-d4cb7e14b54e4f4510fd73d1b3e219eaaffbe081.tar.gz sddm-d4cb7e14b54e4f4510fd73d1b3e219eaaffbe081.tar.bz2 sddm-d4cb7e14b54e4f4510fd73d1b3e219eaaffbe081.zip |
add ability to read gzipped zdab files
Diffstat (limited to 'src/zebra.h')
-rw-r--r-- | src/zebra.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zebra.h b/src/zebra.h index 321befa..16b120f 100644 --- a/src/zebra.h +++ b/src/zebra.h @@ -54,6 +54,7 @@ #include <stdio.h> /* for FILE */ #include <stdlib.h> /* for size_t */ #include <stdint.h> /* for uint8_t, etc. */ +#include <zlib.h> /* for gzFile */ /* Maximum number of links in a bank. * @@ -131,7 +132,7 @@ typedef struct zebraBank { } zebraBank; typedef struct zebraFile { - FILE *f; + gzFile f; /* Size of the current logical record in bytes. */ size_t lr_size; /* Buffer used to read in the zebra file. */ |