1 /*  -- translated by f2c (version 20100827).
2    You must link the resulting object file with libf2c:
3 	on Microsoft Windows system, link with libf2c.lib;
4 	on Linux or Unix systems, link with .../path/to/libf2c.a -lm
5 	or, if you install libf2c.a in a standard place, with -lf2c -lm
6 	-- in that order, at the end of the command line, as in
7 		cc *.o -lf2c -lm
8 	Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
9 
10 		http://www.netlib.org/f2c/libf2c.zip
11 */
12 
13 #include "libtinyf2c.h"
14 
15 /* Table of constant values */
16 
17 static integer c__1 = 1;
18 
19 /* ----------------------------------------------------------------------- */
20 /*     UZLGET / UZLSET / UZLSTX */
21 /* ----------------------------------------------------------------------- */
22 /*     Copyright (C) 2000-2004 GFD Dennou Club. All rights reserved. */
23 /* ----------------------------------------------------------------------- */
uzlget_0_(int n__,char * cp,logical * lpara,ftnlen cp_len)24 /* Subroutine */ int uzlget_0_(int n__, char *cp, logical *lpara, ftnlen
25 	cp_len)
26 {
27     static char cl[40], cx[8];
28     static logical lp;
29     static integer idx;
30     extern /* Subroutine */ int rllget_(char *, logical *, integer *, ftnlen),
31 	     rtlget_(char *, char *, logical *, integer *, ftnlen, ftnlen),
32 	    uzlqid_(char *, integer *, ftnlen), uzlqcl_(integer *, char *,
33 	    ftnlen), uzlqcp_(integer *, char *, ftnlen), uzlqvl_(integer *,
34 	    logical *), uzlsvl_(integer *, logical *);
35 
36     switch(n__) {
37 	case 1: goto L_uzlset;
38 	case 2: goto L_uzlstx;
39 	}
40 
41     uzlqid_(cp, &idx, cp_len);
42     uzlqvl_(&idx, lpara);
43     return 0;
44 /* ----------------------------------------------------------------------- */
45 
46 L_uzlset:
47     uzlqid_(cp, &idx, cp_len);
48     uzlsvl_(&idx, lpara);
49     return 0;
50 /* ----------------------------------------------------------------------- */
51 
52 L_uzlstx:
53     lp = *lpara;
54     uzlqid_(cp, &idx, cp_len);
55 /*     / SHORT NAME / */
56     uzlqcp_(&idx, cx, (ftnlen)8);
57     rtlget_("UZ", cx, &lp, &c__1, (ftnlen)2, (ftnlen)8);
58 /*     / LONG NAME / */
59     uzlqcl_(&idx, cl, (ftnlen)40);
60     rllget_(cl, &lp, &c__1, (ftnlen)40);
61     uzlsvl_(&idx, &lp);
62     return 0;
63 } /* uzlget_ */
64 
uzlget_(char * cp,logical * lpara,ftnlen cp_len)65 /* Subroutine */ int uzlget_(char *cp, logical *lpara, ftnlen cp_len)
66 {
67     return uzlget_0_(0, cp, lpara, cp_len);
68     }
69 
uzlset_(char * cp,logical * lpara,ftnlen cp_len)70 /* Subroutine */ int uzlset_(char *cp, logical *lpara, ftnlen cp_len)
71 {
72     return uzlget_0_(1, cp, lpara, cp_len);
73     }
74 
uzlstx_(char * cp,logical * lpara,ftnlen cp_len)75 /* Subroutine */ int uzlstx_(char *cp, logical *lpara, ftnlen cp_len)
76 {
77     return uzlget_0_(2, cp, lpara, cp_len);
78     }
79 
80