Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dthelp / parser.ccdf / htag / helptag / fproto.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: fproto.h /main/3 1995/11/08 11:16:08 rswiston $ */
24 /* Copyright (c) 1988, 1989, 1990 Hewlett-Packard Co. */
25 /* Function prototypes for HP Tag/TeX translator */
26
27 void appstart(
28 #if defined(M_PROTO)
29   M_WCHAR *id, M_WCHAR *letter 
30 #endif
31   ) ;
32
33 void assert_hometopic_exists(
34 #if defined(M_PROTO)
35   M_NOPAR
36 #endif
37   ) ;
38
39 void badgraphic(
40 #if defined(M_PROTO)
41   int filestat
42 #endif
43   ) ;
44
45 void basename(
46 #if defined(M_PROTO)
47   M_NOPAR
48 #endif
49   ) ;
50
51 void calcdisp (
52 #if defined(M_PROTO)
53   M_WCHAR *file, M_WCHAR *startrow, M_WCHAR *endrow,
54   M_WCHAR *clip, M_WCHAR *margin
55 #endif
56   ) ;
57
58 void callndbeg (
59 #if defined(M_PROTO)
60   M_NOPAR
61 #endif
62   ) ;
63
64 void callndend (
65 #if defined(M_PROTO)
66   M_NOPAR
67 #endif
68   ) ;
69
70 /* used by ccompspec(), cmenlspec(), and cwmenlspec() */
71 char *ccharspec(
72 #if defined(M_PROTO)
73   M_WCHAR textchar
74 #endif
75   ) ;
76
77 void ccmpiooutchar (
78 #if defined(M_PROTO)
79   M_WCHAR textchar
80 #endif
81   ) ;
82
83 void ccompesoutchar (
84 #if defined(M_PROTO)
85   M_WCHAR textchar, FILE *outfile
86 #endif
87   ) ;
88
89 void ccompexoutchar (
90 #if defined(M_PROTO)
91   M_WCHAR textchar, FILE *outfile
92 #endif
93   ) ;
94
95 void ccompoutchar (
96 #if defined(M_PROTO)
97   M_WCHAR textchar, FILE *outfile
98 #endif
99   ) ;
100
101 /* special computer expansions for dot matrix(computer) in calculator style */
102 char *ccompspec(
103 #if defined(M_PROTO)
104   M_WCHAR textchar
105 #endif
106   ) ;
107
108 void chapstart(
109 #if defined(M_PROTO)
110   M_WCHAR *id, M_WCHAR *number, char type[] 
111 #endif
112   ) ;
113
114 M_WCHAR *checkdimen(
115 #if defined(M_PROTO)
116   M_WCHAR *val, M_WCHAR *paramname, M_WCHAR *elt
117 #endif
118   ) ;
119
120 M_WCHAR *mb_checkdimen(
121 #if defined(M_PROTO)
122   M_WCHAR *val, char *paramname, char *elt
123 #endif
124   ) ;
125
126 M_WCHAR *checkent(
127 #if defined(M_PROTO)
128   M_WCHAR *entcontent
129 #endif
130   ) ;
131
132 void checkgloss(
133 #if defined(M_PROTO)
134   M_NOPAR
135 #endif
136   ) ;
137
138 M_WCHAR *checkid(
139 #if defined(M_PROTO)
140   M_WCHAR *id
141 #endif
142   ) ;
143
144 void checkmsghead (
145 #if defined(M_PROTO)
146   M_NOPAR
147 #endif
148   ) ;
149
150 M_WCHAR *checkreal (
151 #if defined(M_PROTO)
152   M_WCHAR *val, M_WCHAR *paramname, LOGICAL msgout, M_WCHAR *elt
153 #endif
154   ) ;
155
156 LOGICAL chkplottype(
157 #if defined(M_PROTO)
158   M_WCHAR *val, int *p1x, int *p1y, int *p2x, int *p2y, LOGICAL prnt 
159 #endif
160   ) ;
161
162 void cmloutchar (
163 #if defined(M_PROTO)
164   M_WCHAR textchar, FILE *outfile
165 #endif
166   ) ;
167
168 /* special menu lable character expansions */
169 char *cmenlspec(
170 #if defined(M_PROTO)
171   M_WCHAR textchar
172 #endif
173   ) ;
174
175 void cspotend(
176 #if defined(M_PROTO)
177   M_WCHAR *file, int graphics, M_WCHAR *xwidth, M_WCHAR *xheight
178 #endif
179   ) ;
180
181 void cspotstart(
182 #if defined(M_PROTO)
183   M_WCHAR *file, int graphics, M_WCHAR *xwidth, M_WCHAR *xheight
184 #endif
185   ) ;
186
187 void csubtc (
188 #if defined(M_PROTO)
189   M_WCHAR textchar, FILE *outfile, M_WCHAR *parent
190 #endif
191   ) ;
192
193 void csuptc (
194 #if defined(M_PROTO)
195   M_WCHAR textchar, FILE *outfile, M_WCHAR *parent
196 #endif
197   ) ;
198
199 /* special white menu label character expansions */
200 char *cwmenlspec(
201 #if defined(M_PROTO)
202   M_WCHAR textchar
203 #endif
204   ) ;
205
206 void cwmloutchar(
207 #if defined(M_PROTO)
208   M_WCHAR textchar, FILE *outfile
209 #endif
210   ) ;
211
212 void defxref(
213 #if defined(M_PROTO)
214   FILE *xfile, M_WCHAR *id, struct xref *xref
215 #endif
216   ) ;
217
218 int do_esc_seq(
219 #if defined(M_PROTO)
220   M_NOPAR
221 #endif
222   ) ;
223
224 void dumpxref(
225 #if defined(M_PROTO)
226   M_NOPAR
227 #endif
228   ) ;
229
230 void echohead(
231 #if defined(M_PROTO)
232   M_WCHAR *p
233 #endif
234   ) ;
235
236 void mb_echohead(
237 #if defined(M_PROTO)
238   char *p
239 #endif
240   ) ;
241
242 void endhead(
243 #if defined(M_PROTO)
244   M_NOPAR
245 #endif
246   ) ;
247
248 void endhelpnode(
249 #if defined(M_PROTO)
250   M_NOPAR
251 #endif
252   ) ;
253
254 void esoutchar(
255 #if defined(M_PROTO)
256   M_WCHAR textchar
257 #endif
258   ) ;
259
260 void exoutchar(
261 #if defined(M_PROTO)
262   M_WCHAR textchar
263 #endif
264   ) ;
265
266 void exvexend(
267 #if defined(M_PROTO)
268   M_WCHAR *textsize
269 #endif
270   ) ;
271
272 void exvexstart(
273 #if defined(M_PROTO)
274   M_WCHAR *type, M_WCHAR *textsize, char *listinfo
275 #endif
276   ) ;
277
278 void figend (
279 #if defined(M_PROTO)
280   M_WCHAR *id
281 #endif
282   ) ;
283
284 int figext (
285 #if defined(M_PROTO)
286   M_WCHAR *fname
287 #endif
288   ) ;
289
290 int figlist (
291 #if defined(M_PROTO)
292   char *fnin
293 #endif
294   ) ;
295
296 void figraster(
297 #if defined(M_PROTO)
298 M_WCHAR *file,    M_WCHAR *magnify,
299 M_WCHAR *width,   M_WCHAR *depth,        M_WCHAR *hadjust,  M_WCHAR *vadjust,
300 M_WCHAR *mirror,  M_WCHAR *margin,       M_WCHAR *clip,
301 M_WCHAR *penwidth,M_WCHAR *plottype,     M_WCHAR *callout,  M_WCHAR *textsize
302 #endif
303   ) ;
304
305 void figstart(
306 #if defined(M_PROTO)
307 M_WCHAR *number,  M_WCHAR *tonumber,  M_WCHAR *id,          M_WCHAR *file,
308 M_WCHAR *type,    M_WCHAR *oldtype,
309 M_WCHAR *xmagnify,M_WCHAR *xwidth,    M_WCHAR *xdepth,      M_WCHAR *xhadjust,
310 M_WCHAR *xvadjust,M_WCHAR *border,    M_WCHAR *video,       M_WCHAR *strip,
311 M_WCHAR *mirror,  M_WCHAR *margin,      M_WCHAR *clip,
312 M_WCHAR *penwidth,M_WCHAR *snap,      M_WCHAR *autoscale,   M_WCHAR *plottype,
313 M_WCHAR *callout, M_WCHAR *textsize
314 #endif
315   ) ;
316
317 void figvector(
318 #if defined(M_PROTO)
319 M_WCHAR *file,     M_WCHAR *magnify,
320 M_WCHAR *width,    M_WCHAR *depth,        M_WCHAR *hadjust,  M_WCHAR *vadjust,
321 M_WCHAR *mirror,   M_WCHAR *margin,       M_WCHAR *clip,
322 M_WCHAR *penwidth, M_WCHAR *autoscale,    M_WCHAR *plottype, M_WCHAR *callout,
323 M_WCHAR *textsize
324 #endif
325   ) ;
326
327 unsigned get2b(
328 #if defined(M_PROTO)
329   FILE *fh
330 #endif
331   ) ;
332
333 unsigned long get4b(
334 #if defined(M_PROTO)
335   FILE *fh
336 #endif
337   ) ;
338
339 unsigned long getPCLdims (
340 #if defined(M_PROTO)
341   char *fn
342 #endif
343   ) ;
344
345 int getqualified (
346 #if defined(M_PROTO)
347   M_WCHAR *qualname, M_WCHAR *unqualname
348 #endif
349   ) ;
350
351 int mb_getqualified (
352 #if defined(M_PROTO)
353   char *qualname, char *unqualname
354 #endif
355   ) ;
356
357 void handle_link_and_graphic(
358 #if defined(M_PROTO)
359   M_WCHAR *parent, M_WCHAR *gentity, M_WCHAR *gposition, M_WCHAR *ghyperlink,
360   M_WCHAR *glinktype, M_WCHAR *gdescription
361 #endif
362   );                         
363
364 void keyesoutchar (
365 #if defined(M_PROTO)
366   M_WCHAR textchar
367 #endif
368   ) ;
369
370 void idstring(
371 #if defined(M_PROTO)
372   M_WCHAR *string
373 #endif
374   ) ;
375
376 void indexchar(
377 #if defined(M_PROTO)
378   M_WCHAR textchar
379 #endif
380   ) ;
381
382 void item(
383 #if defined(M_PROTO)
384   M_WCHAR *id
385 #endif
386   ) ;
387
388 char *m_itoa(
389 #if defined(M_PROTO)
390   int n, char *s
391 #endif
392   ) ;
393
394 void itoletter(
395 #if defined(M_PROTO)
396   int n, char start, char *dest, int length
397 #endif
398   ) ;
399
400 LOGICAL m_letter(
401 #if defined(M_PROTO)
402   M_WCHAR c
403 #endif
404   ) ;
405
406 void loadxref(
407 #if defined(M_PROTO)
408   M_NOPAR
409 #endif
410   ) ;
411
412 int m_lower(
413 #if defined(M_PROTO)
414   int c
415 #endif
416   ) ;
417
418 char *makecsname(
419 #if defined(M_PROTO)
420   M_WCHAR *id
421 #endif
422   ) ;
423
424 void manustart(
425 #if defined(M_PROTO)
426   M_WCHAR *language, M_WCHAR *idxvol, M_WCHAR *status
427 #endif
428   ) ;
429
430 void notimp(
431 #if defined(M_PROTO)
432   char *eltname, char *option
433 #endif
434   ) ;
435
436 M_WCHAR *okdimen (
437 #if defined(M_PROTO)
438   M_WCHAR *val
439 #endif
440   ) ;
441
442 void onlygraphic(
443 #if defined(M_PROTO)
444   char    *param,    M_WCHAR *magnify, M_WCHAR *video,     M_WCHAR *mirror,
445   M_WCHAR *margin,   M_WCHAR *clip,    M_WCHAR *penwidth,  M_WCHAR *autoscale,
446   M_WCHAR *plottype, M_WCHAR *hadjust, M_WCHAR *vadjust
447 #endif
448   ) ;
449
450 void open_new_helpfile(
451 #if defined(M_PROTO)   
452    M_NOPAR
453 #endif
454 );
455                        
456 void notallow(
457 #if defined(M_PROTO)
458   char *param1, char *param2
459 #endif
460   ) ;
461
462 void options(
463 #if defined(M_PROTO)
464   LOGICAL filelenonly
465 #endif
466   ) ;
467
468 void outcall(
469 #if defined(M_PROTO)
470   M_WCHAR textchar, FILE *outfile
471 #endif
472   ) ;
473
474 void outchar(
475 #if defined(M_PROTO)
476   M_WCHAR textchar, FILE *outfile 
477 #endif
478   ) ;
479
480 void outpi(
481 #if defined(M_PROTO)
482   int enttype, M_WCHAR *pi, M_WCHAR *entname
483 #endif
484   ) ;
485
486 void parspace(
487 #if defined(M_PROTO)
488   M_NOPAR
489 #endif
490   ) ;
491
492 LOGICAL pushndok(
493 #if defined(M_PROTO)
494   LOGICAL val
495 #endif
496   ) ;
497
498 LOGICAL popndok(
499 #if defined(M_PROTO)
500   M_NOPAR
501 #endif
502   ) ;
503
504 void prfigborder(
505 #if defined(M_PROTO)
506   int val
507 #endif
508   ) ;
509
510 void prfigclip(
511 #if defined(M_PROTO)
512   M_WCHAR figmargin [NFIGSIDES] [M_NAMELEN+1]
513 #endif
514   ) ;
515
516 void prfigheight(
517 #if defined(M_PROTO)
518   char *val
519 #endif
520   ) ;
521
522 void prfigmagnify(
523 #if defined(M_PROTO)
524   char *val
525 #endif
526   ) ;
527
528 void prfigmargin(
529 #if defined(M_PROTO)
530   M_WCHAR figmargin [NFIGSIDES] [M_NAMELEN+1]
531 #endif
532   ) ;
533
534 void prfigpenwds(
535 #if defined(M_PROTO)
536   long penwdarray[MAXPENS]
537 #endif
538   ) ;
539
540 void prfigwidth(
541 #if defined(M_PROTO)
542   char *val
543 #endif
544   ) ;
545
546 LOGICAL print_vectors(
547 #if defined(M_PROTO)
548   FILE * hOutFile, PTWTXT **Points, int *maxcalltxt, FILE *hCalFile, int CalNo
549 #endif
550   ) ;
551
552 void prplottype(
553 #if defined(M_PROTO)
554   int p1x, int p1y, int p2x, int p2y
555 #endif
556   ) ;
557
558 float readcoord(
559 #if defined(M_PROTO)
560   FILE *fh
561 #endif
562   ) ;
563
564 float readinches(
565 #if defined(M_PROTO)
566   FILE *fh
567 #endif
568   ) ;
569
570 void realoutchar(
571 #if defined(M_PROTO)
572   M_WCHAR textchar, FILE *outfile
573 #endif
574   ) ;
575
576 void rsectstart(
577 #if defined(M_PROTO)
578   M_WCHAR *id, M_WCHAR *pagebreak
579 #endif
580   ) ;
581
582 void rseqend(
583 #if defined(M_PROTO)
584   M_NOPAR
585 #endif
586   ) ;
587
588 void rshnewclear(
589 #if defined(M_PROTO)
590   M_NOPAR
591 #endif
592   ) ;
593
594 M_WCHAR *searchforfile(
595 #if defined(M_PROTO)
596   M_WCHAR *file
597 #endif
598   ) ;
599
600 void setid(
601 #if defined(M_PROTO)
602   M_WCHAR *id,
603   LOGICAL where,
604   LOGICAL csensitive,
605   LOGICAL inchapter,
606   char *chapter,
607   M_WCHAR *xrffile,
608   int xrfline,
609   LOGICAL xrefable         
610 #endif
611   ) ;
612
613 void setopt(
614 #if defined(M_PROTO)
615   char *string, LOGICAL filelenonly
616 #endif
617   ) ;
618
619 LOGICAL setvalopt(
620 #if defined(M_PROTO)
621   int thisopt, char *string, LOGICAL filelenonly
622 #endif
623   ) ;
624
625 void shchar(
626 #if defined(M_PROTO)
627   M_WCHAR textchar,
628   int *len,
629   int max,
630   M_WCHAR *string,
631   void (*proc)(M_WCHAR *string),
632   char *msg,
633   LOGICAL *errflg
634 #endif
635   ) ;
636
637 void mb_shchar(
638 #if defined(M_PROTO)
639   char textchar,
640   int *len,
641   int max,
642   M_WCHAR *string,
643   void (*proc)(M_WCHAR *string),
644   char *msg,
645   LOGICAL *errflg
646 #endif
647   ) ;
648
649 void shstring(
650 #if defined(M_PROTO)
651   M_WCHAR *addstring,
652   int *len,
653   int max,
654   M_WCHAR *storestring,
655   char *msg,
656   LOGICAL *errflg
657 #endif
658   ) ;
659
660 void mb_shstring(
661 #if defined(M_PROTO)
662   char *addstring,
663   int *len,
664   int max,
665   M_WCHAR *storestring,
666   char *msg,
667   LOGICAL *errflg
668 #endif
669   ) ;
670
671 void starthelpnode(
672 #if defined(M_PROTO)
673   M_WCHAR *id,
674   LOGICAL suppress_topic_map
675 #endif
676   ) ;
677
678 void mb_starthelpnode(
679 #if defined(M_PROTO)
680   char *id,
681   LOGICAL suppress_topic_map
682 #endif
683   ) ;
684
685 void startlablist(
686 #if defined(M_PROTO)
687   M_WCHAR *longlabel, M_WCHAR *width, M_WCHAR *spacing
688 #endif
689   ) ;
690
691 void startlist(
692 #if defined(M_PROTO)
693   M_WCHAR *type, M_WCHAR *order, M_WCHAR *spacing, M_WCHAR *cont
694 #endif
695   ) ;
696
697 void strcode(
698 #if defined(M_PROTO)
699   M_WCHAR *string, FILE *outfile
700 #endif
701   ) ;
702
703 void mb_strcode(
704 #if defined(M_PROTO)
705   char *string, FILE *outfile
706 #endif
707   ) ;
708
709 #if defined(hpux) || defined(__aix) || defined(sun) || defined(USL) || defined(__uxp__)
710 char *strstr(
711 #if defined(M_PROTO)
712   const char *s1, const char *s2
713 #endif
714   ) ;
715 #endif
716
717 void svhdstring(
718 #if defined(M_PROTO)
719   M_WCHAR *string
720 #endif
721   ) ;
722
723 void svtcstring(
724 #if defined(M_PROTO)
725   M_WCHAR *string
726 #endif
727   ) ;
728
729 void taboutre(
730 #if defined(M_PROTO)
731   M_NOPAR
732 #endif
733   ) ;
734
735 void termchar(
736 #if defined(M_PROTO)
737   M_WCHAR textchar
738 #endif
739   ) ;
740
741 void termpi(
742 #if defined(M_PROTO)
743   int m_enttype, M_WCHAR *m_pi, M_WCHAR *m_entname
744 #endif
745   ) ;
746
747 void testindexfile(
748 #if defined(M_PROTO)
749   FILE *first
750 #endif
751   ) ;
752
753 void texinit(
754 #if defined(M_PROTO)
755   M_NOPAR
756 #endif
757   ) ;
758
759 void unimp(
760 #if defined(M_PROTO)
761   M_WCHAR *eltname
762 #endif
763   ) ;
764
765 void mb_unimp(
766 #if defined(M_PROTO)
767   char *eltname
768 #endif
769   ) ;
770
771 int m_upstrcmp(
772 #if defined(M_PROTO)
773   char *p, char *q
774 #endif
775   ) ;
776
777 int vextextsize(
778 #if defined(M_PROTO)
779   const M_WCHAR *keyword
780 #endif
781   ) ;
782
783 int vgloss(
784 #if defined(M_PROTO)
785   const M_WCHAR *keyword
786 #endif
787   ) ;
788
789 int vcenter(
790 #if defined(M_PROTO)
791   const M_WCHAR *keyword
792 #endif
793   ) ;
794
795 int vnumber(
796 #if defined(M_PROTO)
797   const M_WCHAR *keyword
798 #endif
799   ) ;
800
801 int vordertype(
802 #if defined(M_PROTO)
803   const M_WCHAR *keyword
804 #endif
805   ) ;
806
807 int vrsectpage(
808 #if defined(M_PROTO)
809   const M_WCHAR *keyword
810 #endif
811   ) ;
812
813 int vspacing(
814 #if defined(M_PROTO)
815   const M_WCHAR *keyword
816 #endif
817   ) ;
818
819 int vtype(
820 #if defined(M_PROTO)
821   const M_WCHAR *keyword
822 #endif
823   ) ;
824
825 void xrefexpand(
826 #if defined(M_PROTO)
827   M_WCHAR *id
828 #endif
829   ) ;
830
831 void rtrim(
832 #if defined(M_PROTO)
833   char *s
834 #endif
835   ) ;
836
837 double usertopt(
838 #if defined(M_PROTO)
839   M_WCHAR *s
840 #endif
841   ) ;
842
843 double mb_usertopt(
844 #if defined(M_PROTO)
845   char *s
846 #endif
847   ) ;
848
849 long usertosp(
850 #if defined(M_PROTO)
851   char *s
852 #endif
853   ) ;
854
855 void whereneedused(
856 #if defined(M_PROTO)
857   M_NOPAR
858 #endif
859   ) ;
860
861 void t_addnotes(
862 #if defined(M_PROTO)
863   M_WCHAR *tnoteid
864 #endif
865   ) ;
866
867 void t_prntnotes(
868 #if defined(M_PROTO)
869   M_NOPAR
870 #endif
871   ) ;
872
873 LOGICAL t_want_a_Q(
874 #if defined(M_PROTO)
875   int span_count
876 #endif
877   );               
878
879
880 void t_xrefnotes(
881 #if defined(M_PROTO)
882   M_WCHAR *tnoteid
883 #endif
884   ) ;
885
886 int t_getnum(
887 #if defined(M_PROTO)
888   char *s
889 #endif
890   ) ;
891
892 void t_insertcellmarkup(
893 #if defined(M_PROTO)
894   M_NOPAR
895 #endif
896   ) ;
897
898 void t_newpage(
899 #if defined(M_PROTO)
900   M_NOPAR
901 #endif
902   ) ;
903
904 void t_startcolh(
905 #if defined(M_PROTO)
906   M_NOPAR
907 #endif
908   ) ;
909
910 void t_start_tabhead_colh(
911 #if defined(M_PROTO)
912   M_NOPAR
913 #endif
914   ) ;
915
916 void t_nextcell(
917 #if defined(M_PROTO)
918   M_NOPAR
919 #endif
920   ) ;
921
922 void t_checkcaption(
923 #if defined(M_PROTO)
924   M_NOPAR
925 #endif
926   ) ;
927
928 void t_preamble(
929 #if defined(M_PROTO)
930   M_NOPAR
931 #endif
932   ) ;
933
934 void t_getstyle(
935 #if defined(M_PROTO)
936   M_NOPAR
937 #endif
938   ) ;
939
940 void t_dospan(
941 #if defined(M_PROTO)
942   LOGICAL in_colh
943 #endif
944   ) ;
945
946 void t_startcell(
947 #if defined(M_PROTO)
948   M_WCHAR *span, M_WCHAR *vspan, char *msg
949 #endif
950   ) ;
951
952 void t_endcell(
953 #if defined(M_PROTO)
954   M_WCHAR *span, M_WCHAR *vspan
955 #endif
956   ) ;
957
958 void t_startrow(
959 #if defined(M_PROTO)
960   M_NOPAR
961 #endif
962   ) ;
963
964 void t_endrow(
965 #if defined(M_PROTO)
966   M_WCHAR *taglevone
967 #endif
968   ) ;
969
970 void sizetofloat(
971 #if defined(M_PROTO)
972   int column, char *s
973 #endif
974   ) ;
975
976 void t_tabstart(
977 #if defined(M_PROTO)
978   M_WCHAR *style, M_WCHAR *id, M_WCHAR *number, M_WCHAR *box, M_WCHAR *rule, 
979   M_WCHAR *vrule, M_WCHAR *hrule, M_WCHAR *vcount, M_WCHAR *hcount,
980   M_WCHAR *spacing, M_WCHAR *width, M_WCHAR *position, 
981   M_WCHAR *tonumber, M_WCHAR *divide, M_WCHAR *textsize
982 #endif
983   ) ;
984
985 void t_tablebody(
986 #if defined(M_PROTO)
987   M_NOPAR
988 #endif
989   ) ;
990
991 void t_sendout_rowrule(
992 #if defined(M_PROTO)
993   M_NOPAR
994 #endif
995   ) ;
996
997 void showmemavail(
998 #if defined(M_PROTO)
999   M_NOPAR
1000 #endif
1001   );
1002
1003 int m_upper(
1004 #if defined(M_PROTO)
1005   int c
1006 #endif
1007   ) ;
1008
1009 char *GetDefaultHeaderString(
1010 #if defined(M_PROTO)
1011   char          *elementName,
1012   unsigned char  desiredType,
1013   char          *defaultString
1014 #endif
1015   ) ;
1016
1017
1018 void SetDefaultLocale(
1019 #if defined(M_PROTO)
1020   M_NOPAR
1021 #endif
1022   );
1023
1024 char *MakeMByteString(
1025 #if defined(M_PROTO)
1026   const M_WCHAR *from
1027 #endif
1028   );
1029
1030 M_WCHAR *MakeWideCharString(
1031 #if defined(M_PROTO)
1032   const char *from
1033 #endif
1034   );
1035
1036 void paragraph(
1037 #if defined(M_PROTO)
1038   M_WCHAR *indent,
1039   M_WCHAR *id,
1040   M_WCHAR *gentity,
1041   M_WCHAR *gposition,
1042   M_WCHAR *ghyperlink,
1043   M_WCHAR *glinktype,
1044   M_WCHAR *gdescription,
1045   char    *listinfo
1046 #endif
1047   );
1048
1049 void figure(
1050 #if defined(M_PROTO)
1051        M_WCHAR *number,
1052        M_WCHAR *tonumber,
1053        M_WCHAR *id,
1054        M_WCHAR *file,
1055        M_WCHAR *figpos,
1056        M_WCHAR *cappos,
1057        M_WCHAR *oldtype,
1058        M_WCHAR *xwidth,
1059        M_WCHAR *xdepth,
1060        M_WCHAR *xhadjust,
1061        M_WCHAR *xvadjust,
1062        M_WCHAR *border,
1063        M_WCHAR *type,
1064        M_WCHAR *xmagnify,
1065        M_WCHAR *video,
1066        M_WCHAR *strip,
1067        M_WCHAR *mirror,
1068        M_WCHAR *margin,
1069        M_WCHAR *clip,
1070        M_WCHAR *penwidth,
1071        M_WCHAR *snap,
1072        M_WCHAR *autoscale,
1073        M_WCHAR *plottype,
1074        M_WCHAR *callout,
1075        M_WCHAR *textsize,
1076        M_WCHAR *ghyperlink,
1077        M_WCHAR *glinktype,
1078        M_WCHAR *gdescription,
1079        char    *listinfo
1080 #endif
1081   );
1082
1083 void endterm(
1084 #if defined(M_PROTO)
1085        M_WCHAR *base,
1086        M_WCHAR *gloss,
1087        int      linktype
1088 #endif
1089   );
1090
1091 M_WCHAR wc_toupper(
1092 #if defined(M_PROTO)
1093        M_WCHAR wc
1094 #endif
1095   );