diff options
author | Greg McGary <greg@mcgary.org> | 1997-04-18 06:37:35 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 1997-04-18 06:37:35 +0000 |
commit | db4eb289d1767b96b349e993313e83d93c07a8de (patch) | |
tree | c10f8ee5bad361c93d335c1088249c5ecdb12578 /idfile.h | |
parent | c2e961ee7b01e5390b0973e69c68e5ae2e91702d (diff) | |
download | idutils-db4eb289d1767b96b349e993313e83d93c07a8de.tar.gz idutils-db4eb289d1767b96b349e993313e83d93c07a8de.tar.bz2 idutils-db4eb289d1767b96b349e993313e83d93c07a8de.zip |
imported from mkid-3.0.8r3_0_8
Diffstat (limited to 'idfile.h')
-rw-r--r-- | idfile.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -34,21 +34,21 @@ struct idhead #define IDH_VERSION 3 unsigned short idh_flags; #define IDH_COUNTS 0x0001 /* occurrence counts are included with each token */ - uintmin32_t idh_args; /* total # of args for mkid update */ - uintmin32_t idh_paths; /* total # of file names for mkid update */ - uintmin32_t idh_tokens; /* total # of tokens */ - uintmin32_t idh_buf_size; /* # of bytes in longest entry (bufsiz for lid) */ - uintmin32_t idh_vec_size; /* # of hits in longest entry (max vector size for lid) */ - intmin32_t idh_args_offset; /* file offset of args */ - intmin32_t idh_tokens_offset; /* file offset of tokens section */ - intmin32_t idh_end_offset; /* file offset beyond tokens section */ + unsigned long idh_args; /* total # of args for mkid update */ + unsigned long idh_paths; /* total # of file names for mkid update */ + unsigned long idh_tokens; /* total # of tokens */ + unsigned long idh_buf_size; /* # of bytes in longest entry (bufsiz for lid) */ + unsigned long idh_vec_size; /* # of hits in longest entry (max vector size for lid) */ + long idh_args_offset; /* file offset of args */ + long idh_tokens_offset; /* file offset of tokens section */ + long idh_end_offset; /* file offset beyond tokens section */ }; struct idarg; -FILE *init_idfile (char const *id_file, struct idhead *idhp, struct idarg **id_args); -int read_idhead (FILE *input_FILE, struct idhead *idh); -int write_idhead (FILE *input_FILE, struct idhead *idh); -int sizeof_idhead (void); +FILE *init_idfile __P((char const *id_file, struct idhead *idhp, struct idarg **id_args)); +int read_idhead __P((FILE *input_FILE, struct idhead *idh)); +int write_idhead __P((FILE *input_FILE, struct idhead *idh)); +int sizeof_idhead __P((void)); #endif /* not _idfile_h_ */ |