This file is indexed.

/usr/include/xbt/hash.h is in libsimgrid-dev 3.11.1-10ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* hash.h - Various hashing functions.                                      */

/* Copyright (c) 2008-2011, 2013-2014. The SimGrid Team.
 * All rights reserved.                                                     */

/* This program is free software; you can redistribute it and/or modify it
 * under the terms of the license (GNU LGPL) which comes with this package. */

#ifndef XBT_HASH_H
#define XBT_HASH_H
#include "xbt/str.h"

/* Chord needs a SHA1 algorithm. Let's drop it in there */
typedef struct s_xbt_sha_ s_xbt_sha_t, *xbt_sha_t;

XBT_PUBLIC(xbt_sha_t) xbt_sha_new(void);
XBT_PUBLIC(void) xbt_sha_free(xbt_sha_t sha);

XBT_PUBLIC(void) xbt_sha_feed(xbt_sha_t sha, const unsigned char *data,
                              size_t len);
XBT_PUBLIC(void) xbt_sha_reset(xbt_sha_t sha);

XBT_PUBLIC(void) xbt_sha_print(xbt_sha_t sha, char *hash);
XBT_PUBLIC(char *) xbt_sha_read(xbt_sha_t sha);

XBT_PUBLIC(void) xbt_sha(const char *data, char *hash);


#endif                          /* XBT_HASH_H */