/usr/include/cln/number_io.h is in libcln-dev 1.3.3-1ubuntu1.
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 30 31 32 33 34 35 36 37 38 39 40 41 42 | // I/O of numbers.
#ifndef _CL_NUMBER_IO_H
#define _CL_NUMBER_IO_H
#include "cln/io.h"
#include "cln/number.h"
#include "cln/exception.h"
namespace cln {
// Input.
class read_number_exception : public runtime_exception {
public:
explicit read_number_exception(const std::string & what)
: runtime_exception(what) {}
};
// Finish with bad syntax.
class read_number_bad_syntax_exception : public read_number_exception {
public:
read_number_bad_syntax_exception(const char * string, const char * string_limit);
};
// Finish with junk after the number.
class read_number_junk_exception : public read_number_exception {
public:
read_number_junk_exception(const char * string_rest, const char * string, const char * string_limit);
};
// Finish with premature EOF.
class read_number_eof_exception : public read_number_exception {
public:
read_number_eof_exception();
};
struct cl_read_flags;
} // namespace cln
#endif /* _CL_NUMBER_IO_H */
|