diff options
author | harti <harti@FreeBSD.org> | 2005-04-29 15:15:28 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-04-29 15:15:28 +0000 |
commit | 5b818d6be05c5493c221aef9f0499efccae64a88 (patch) | |
tree | 32409716a7034a3286578c6b0a96bc5f9699f1fc /usr.bin/make/hash_tables.h | |
parent | 7d8c4c54ee47a1c471e4520c3868951f12ff2be7 (diff) | |
download | FreeBSD-src-5b818d6be05c5493c221aef9f0499efccae64a88.zip FreeBSD-src-5b818d6be05c5493c221aef9f0499efccae64a88.tar.gz |
Rename the directive_hash.[ch] files to hash_tables.[ch] now
that there are more than one hash table in them. There is no
history to preserve here, so go without a repo-copy.
Asked for by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/hash_tables.h')
-rw-r--r-- | usr.bin/make/hash_tables.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/usr.bin/make/hash_tables.h b/usr.bin/make/hash_tables.h new file mode 100644 index 0000000..8fa43a5 --- /dev/null +++ b/usr.bin/make/hash_tables.h @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2005 Max Okumoto. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ +#ifndef hash_tables_h_ +#define hash_tables_h_ + +#include <sys/types.h> + +int directive_hash(const u_char *, size_t); +int keyword_hash(const u_char *, size_t); + +#endif |