This file is indexed.

/usr/share/z88dk/include/oz700/ozserial.h is in z88dk-data 1.8.ds1-10.

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
64
65
66
67
68
69
70
71
72
/* 
	HTC Compatibility Library and OZ extras 
	6. SERIAL PORT I/O

	$Id: ozserial.h,v 1.1 2003/10/21 17:15:19 stefano Exp $
*/

#include <graphics.h>

#ifndef _OZSERIAL_H
#define _OZSERIAL_H

#ifndef _OZ_BYTE
typedef unsigned char byte;
#define _OZ_BYTE
#endif

extern __LIB__ ozsnap(void);
extern byte __LIB__ ozgetrxhandshaking(void);
extern __LIB__ ozsetrxhandshaking(byte state);
extern __LIB__ ozclearserialbuffer(void);
extern __LIB__ ozdatabits(byte databits);
extern int __LIB__ ozserialgetc(void);
extern __LIB__ ozsetbaud(unsigned baud);
extern unsigned __LIB__ ozgetbaud(void);
extern __LIB__ ozstopbits(char stopbits);
extern __LIB__ ozparity(byte parity);
extern byte __LIB__ ozgetlcr(void);
extern __LIB__ ozsetlcr(byte lcr);
extern int __LIB__ ozserialin(void);
extern __LIB__ ozserialout(char c);
extern __LIB__ ozserinton(void);
//extern __LIB__ _ozserinton(void);
extern __LIB__ ozserintoff(void);
//extern __LIB__ _ozserintoff(void);
/* for ozparity() */
#define NO_PARITY 0
#define ODD_PARITY 0x08
#define EVEN_PARITY 0x18
#define HIGH_PARITY 0x28
#define LOW_PARITY	0x38

/* for ozstopbits() */
#define ONE_STOP_BIT 0
#define TWO_STOP_BITS 4
#define ONE_POINT_FIVE_STOP_BITS 4

/* for ozbaud() */
#define BAUD76800 2
#define BAUD51200 3
#define BAUD38400 4
#define BAUD30720 5
#define BAUD25600 6
#define BAUD19200 8
#define BAUD9600 16
#define BAUD4800 32
#define BAUD2400 64
#define BAUD1200 128
#define BAUD600 256
#define BAUD300 512
#define BAUD150 1024

/* for ozdatabits() */
#define DATABITS5 0
#define DATABITS6 1
#define DATABITS7 2
#define DATABITS8 3

/* for ozxxxlcr() */
#define BREAKSTATE 0x40

#endif