~ubuntu-branches/debian/stretch/ccache/stretch

« back to all changes in this revision

Viewing changes to hashutil.h

  • Committer: Bazaar Package Importer
  • Author(s): Joel Rosdahl
  • Date: 2010-12-02 21:05:17 UTC
  • mfrom: (5.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20101202210517-ji5owl2qa3s5c1rg
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        uint32_t size;
11
11
};
12
12
 
13
 
unsigned int hash_from_string(void *str);
 
13
unsigned hash_from_string(void *str);
 
14
unsigned hash_from_int(int i);
14
15
int strings_equal(void *str1, void *str2);
15
16
int file_hashes_equal(struct file_hash *fh1, struct file_hash *fh2);
16
17
 
22
23
int hash_source_code_string(
23
24
        struct mdfour *hash, const char *str, size_t len, const char *path);
24
25
int hash_source_code_file(struct mdfour *hash, const char *path);
 
26
bool hash_command_output(struct mdfour *hash, const char *command,
 
27
                         const char *compiler);
 
28
bool hash_multicommand_output(struct mdfour *hash, const char *command,
 
29
                              const char *compiler);
25
30
 
26
31
#endif