blob: f0f763992cb90c5b7c82e116535bcb266d6a0f45 (
plain)
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
73
74
75
|
//-*- mode: c++; indent-tabs-mode: t; coding: utf-8; show-trailing-whitespace: t -*-
// file emtp.hpp
#ifndef _EMTP_HPP
#define _EMTP_HPP
#include <iostream>
#include <iomanip>
#include <functional>
#include <utility>
// Local includes.
#include "blkcom.hpp"
#include "dekspy.hpp"
#include "utilities.hpp"
#include "datain.hpp"
// Macros.
#define CHARC "c"
#define TEXT4 "9"
#define CHTACS "tacs"
#define TEXT5 "blank"
namespace emtp {
// types.
struct tagWords {
std::string sTextAY;
std::string sTextAX;
size_t mJptr;
};
typedef struct tagWords tWords;
struct tagRequest {
std::string m_sShortName;
std::string m_sLongName;
int m_nPointer;
std::function<void(void)> m_sRequest;
};
typedef struct tagRequest tRequest;
// Global variables.
extern const long int nLL34;
extern tWords pWords[];
extern std::string sSizesFileName;
// function prototypes.
void ioerr(const long int &);
void caterr(const long int &, const long int &);
void nextcard(void);
void cimage(void);
void dummy(void);
void tapsav(char *, std::fstream &, const long int &, const long int &);
void main10(void);
void subr10(void);
void namea6(const std::string &, long int *);
void tables(void);
void csup(const long int &);
void erexit(void);
void stoptp(void);
void setmar(int *);
void chrsiz(int *);
void setplt(void);
void setstd(void);
void interp(void);
}
#endif // _EMTP_HPP
// end of file emtp.hpp
|