/usr/include/styx/literal.h is in styx-dev 2.0.1-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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | /* ------------------------------------------------------------------------ */
/* */
/* [literal.h] Literal Conversion */
/* */
/* Copyright (c) 1993 by D\olle, Manns */
/* ------------------------------------------------------------------------ */
/* File generated by 'ctoh'. Don't change manually. */
#ifndef literal_INCL
#define literal_INCL
#include "standard.h"
#ifdef __cplusplus
extern "C" {
#endif
/* --------------------- String to C-Literal ---------------------------- */
c_string LIT_c_str_lit(c_string s)
/* converts string 's' to a C-Literal; allocs memory
( single byte character set or UTF-8 )
*/
;
c_string LIT_c_char_lit(char c)
/* converts character 'c' to a C-Literal; allocs memory
( single byte character set or UTF-8 )
*/
;
/* --------------------- STYX-Literal to string ------------------------- */
int LIT_hex2_char(int h1, int h2)
/* constructs a single byte character from the hex values 'h1' and 'h2' */
;
int LIT_hex_val(int h, int p)
/*
constructs a unicode character from up to 8 hex values;
has to be called for each hex value and the result added to get the final code
h = hex digit, p = position [ 0 .. 7 ]
*/
;
wc_string LIT_styx_lit_str(long *len, c_string s, c_bool* ucs4)
/* converts STYX literal 's' to a string; allocs memory
( 'ucs4' --> unicode character found in literal )
*/
;
#ifdef __cplusplus
}
#endif
#endif
|