X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Ffilenames.h;h=1ed441221ac2122c2735ece829a63fdab5523e68;hb=6e2118f588c6f33a741a706725f8e23db57251b3;hp=75ec3302d1d0a9764c86efaf2c25fd69c0708c6a;hpb=7d6b320b79bc7bb87a7c8985c70036e56e4c2e9f;p=deliverable%2Fbinutils-gdb.git diff --git a/include/filenames.h b/include/filenames.h index 75ec3302d1..1ed441221a 100644 --- a/include/filenames.h +++ b/include/filenames.h @@ -5,7 +5,7 @@ use forward- and back-slash in path names interchangeably, and some of them have case-insensitive file names. - Copyright 2000, 2001, 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2000-2020 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -26,6 +26,8 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. #ifndef FILENAMES_H #define FILENAMES_H +#include "hashtab.h" /* for hashval_t */ + #ifdef __cplusplus extern "C" { #endif @@ -84,6 +86,12 @@ extern int filename_cmp (const char *s1, const char *s2); extern int filename_ncmp (const char *s1, const char *s2, size_t n); +extern hashval_t filename_hash (const void *s); + +extern int filename_eq (const void *s1, const void *s2); + +extern int canonical_filename_eq (const char *a, const char *b); + #ifdef __cplusplus } #endif