aboutsummaryrefslogtreecommitdiff
path: root/pkg/utilities/nttools/stxtools/template.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /pkg/utilities/nttools/stxtools/template.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/utilities/nttools/stxtools/template.h')
-rw-r--r--pkg/utilities/nttools/stxtools/template.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkg/utilities/nttools/stxtools/template.h b/pkg/utilities/nttools/stxtools/template.h
new file mode 100644
index 00000000..9df66f37
--- /dev/null
+++ b/pkg/utilities/nttools/stxtools/template.h
@@ -0,0 +1,21 @@
+# TEMPLATE.H -- Structure used to expand image names over groups
+
+define LEN_TPSTRUCT 5
+
+define TP_ROOTPTR Memi[$1] # Pointer to image root name
+define TP_SECTPTR Memi[$1+1] # Pointer to image section
+define TP_START Memi[$1+2] # First group
+define TP_COUNT Memi[$1+3] # Total number of groups
+define TP_INDEX Memi[$1+4] # Current group
+
+define TP_ROOT Memc[TP_ROOTPTR($1)]
+define TP_SECT Memc[TP_SECTPTR($1)]
+
+define TP_EXT_LIST "|stf|fxf|oif|plf|qpf|"
+
+define TP_UNKNOWN 0
+define TP_GEIS 1
+define TP_FITS 2
+define TP_IRAF 3
+define TP_PIXLIST 4
+define TP_QPOE 5