summaryrefslogtreecommitdiff
path: root/pic/pic.h
diff options
context:
space:
mode:
Diffstat (limited to 'pic/pic.h')
-rw-r--r--pic/pic.h46
1 files changed, 37 insertions, 9 deletions
diff --git a/pic/pic.h b/pic/pic.h
index de6a8cc05d313..e6f614d230aee 100644
--- a/pic/pic.h
+++ b/pic/pic.h
@@ -162,24 +162,33 @@ extern int hvmode;
extern int codegen;
extern char *PEstring;
extern int Sflag;
+extern char *cmdname;
-char *tostring(char *);
-char *grow(char *, char *, int, int);
-double getfval(char *), getcomp(obj *, int), getblkvar(obj *, char *);
-YYSTYPE getvar(char *);
-struct symtab *lookup(char *), *makevar(char *, int, YYSTYPE);
-char *ifstat(double, char *, char *), *delimstr(char *), *sprintgen(char *);
+char *tostring(const char *);
+char *grow(char *, const char *, int, int);
+double getfval(const char *), getcomp(obj *, int), getblkvar(obj *, char *);
+YYSTYPE getvar(const char *);
+struct symtab *lookup(const char *), *makevar(char *, int, YYSTYPE);
+char *ifstat(double, char *, char *), *delimstr(const char *), *sprintgen(char *);
void forloop(char *var, double from, double to, int op, double by, char *_str);
int setdir(int), curdir(void);
+void pbstr(const char *);
+void endfor(void);
+void dodef(struct symtab *stp);
+void freedef(char *);
+void undefine(char *s);
+void print(void);
void resetvar(void);
void checkscale(char *);
-void pushsrc(int, char *);
+void pushsrc(int, const char *);
void copy(void);
void copyuntil(char *);
void copyfile(char *);
void copydef(struct symtab *);
-void definition(char *);
-struct symtab *copythru(char *);
+void definition(const char *);
+void freesymtab(struct symtab *);
+void setfval(const char *s, double f);
+struct symtab *copythru(const char *);
#ifdef FLEX_SCANNER
int xxinput(void);
int xxunput(int);
@@ -190,6 +199,9 @@ int input(void);
int unput(int);
#endif /* !FLEX_SCANNER */
void extreme(double, double);
+void shell_exec(void);
+void shell_init(void);
+void shell_text(char *);
extern double deltx, delty;
extern int lineno;
@@ -219,6 +231,22 @@ void printpos(obj *);
void exprsave(double);
void addtattr(int);
void printlf(int, char *);
+void openpl(char *);
+void closepl(char *);
+void hvflush(void);
+void flyback(void);
+void troff(char *);
+void label(char *, int, int);
+void line(double, double, double, double);
+void fillstart(double);
+void fillend(int, int);
+void box(double, double, double, double);
+void circle(double, double, double);
+void spline(double, double, double, ofloat *, int, double);
+void ellipse(double, double, double, double);
+void arc(double, double, double, double, double, double);
+void dot(void);
+void arrow(double, double, double, double, double, double, double, int);
struct pushstack {
double p_x;