This file is indexed.

/usr/include/simgrid/link.h is in libsimgrid-dev 3.18+dfsg-1.

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
/* Public interface to the Link datatype                                    */

/* Copyright (c) 2015. 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 INCLUDE_SIMGRID_LINK_H_
#define INCLUDE_SIMGRID_LINK_H_

#include "simgrid/forward.h"
#include "xbt/base.h"

/* C interface */
SG_BEGIN_DECL()
XBT_PUBLIC(const char*) sg_link_name(sg_link_t link);
XBT_PUBLIC(sg_link_t) sg_link_by_name(const char* name);
XBT_PUBLIC(int) sg_link_is_shared(sg_link_t link);
XBT_PUBLIC(double) sg_link_bandwidth(sg_link_t link);
XBT_PUBLIC(double) sg_link_latency(sg_link_t link);
XBT_PUBLIC(void*) sg_link_data(sg_link_t link);
XBT_PUBLIC(void) sg_link_data_set(sg_link_t link, void* data);
XBT_PUBLIC(int) sg_link_count();
XBT_PUBLIC(sg_link_t*) sg_link_list();
XBT_PUBLIC(void) sg_link_exit();
SG_END_DECL()

#endif /* INCLUDE_SIMGRID_LINK_H_ */