This file is indexed.

/usr/include/hfst/hfst-string-conversions.h is in libhfst45-dev 3.10.0~r2798-3.

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
#ifdef WINDOWS

#include <string>
#include <cstdio>

namespace hfst 
{
  /* Convert utf-8 string \a wstr into an ordinary string. */
  //std::string wide_string_to_string(const std::wstring & wstr);
  /* Get a line from console input and store it into \a str.
         \a buffer_size defines maximum of input length. 
         Return whether the read operation was succesful. */
  bool get_line_from_console(std::string & str, size_t buffer_size, bool keep_newline = false);

  void set_console_cp_to_utf8();

  /* Wrapper around fprintf that prints to console output if stream is stdout or stderr.
         On linux and mac, calls always fprintf directly. */
  int hfst_fprintf_console(FILE * stream, const char * format, ...);
}

#endif // WINDOWS