/usr/include/eruby.h is in liberuby-dev 1.0.5-2.
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 43 44 45 46 47 48 49 50 | /*
* $Id: eruby.h,v 1.31 2003/12/23 15:11:54 shugo Exp $
* Copyright (C) 2000 ZetaBITS, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
*/
#ifndef ERUBY_H
#define ERUBY_H
#define ERUBY_VERSION "1.0.5"
#define ERUBY_MIME_TYPE "application/x-httpd-eruby"
enum eruby_compile_status {
ERUBY_OK = 0,
ERUBY_MISSING_END_DELIMITER,
ERUBY_INVALID_OPTION,
ERUBY_SYSTEM_ERROR
};
enum eruby_mode {
MODE_UNKNOWN,
MODE_FILTER,
MODE_CGI,
MODE_NPHCGI
};
extern char *eruby_filename;
extern int eruby_mode;
extern int eruby_noheader;
extern VALUE eruby_charset;
extern VALUE eruby_default_charset;
#define ERUBY_CHARSET RSTRING(eruby_charset)->ptr
const char *eruby_version();
int eruby_parse_options(int argc, char **argv, int *optind);
VALUE eruby_compiler_new();
VALUE eruby_compiler_compile_file(VALUE self, VALUE file);
VALUE eruby_compiler_compile_string(VALUE self, VALUE s);
VALUE eruby_load(char *filename, int wrap, int *state);
void eruby_init();
#endif /* ERUBY_H */
/*
* Local variables:
* mode: C
* tab-width: 8
* End:
*/
|