summaryrefslogtreecommitdiff
path: root/cgats
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:54 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:54 +0100
commit1b1126bd023a2bb92699773a1867358067dabcb8 (patch)
tree6fd56d034e5a154c7992e7855d61691cecd043c4 /cgats
parentcb5c7cec4aa1946f75dc3d408eb7f1051f3fb3d4 (diff)
parentf6b8e0eae4374f339487a33e3e4fe5462d5816e1 (diff)
Update upstream source from tag 'upstream/2.0.0'
Update to upstream version '2.0.0' with Debian dir e866e6e75661017faaa5331becda76021407390b
Diffstat (limited to 'cgats')
-rwxr-xr-x[-rw-r--r--]cgats/Jamfile0
-rwxr-xr-x[-rw-r--r--]cgats/License4.txt0
-rwxr-xr-x[-rw-r--r--]cgats/Makefile0
-rwxr-xr-x[-rw-r--r--]cgats/Makefile.IBMNT0
-rwxr-xr-x[-rw-r--r--]cgats/Makefile.OSX0
-rwxr-xr-x[-rw-r--r--]cgats/Makefile.UNIX0
-rwxr-xr-x[-rw-r--r--]cgats/Makefile.WNT0
-rwxr-xr-x[-rw-r--r--]cgats/Readme.txt0
-rwxr-xr-x[-rw-r--r--]cgats/afiles0
-rwxr-xr-x[-rw-r--r--]cgats/cgats.c1
-rwxr-xr-x[-rw-r--r--]cgats/cgats.h3
-rwxr-xr-x[-rw-r--r--]cgats/cgatsstd.c0
-rwxr-xr-x[-rw-r--r--]cgats/makezip.ksh0
-rwxr-xr-x[-rw-r--r--]cgats/pars.c6
-rwxr-xr-x[-rw-r--r--]cgats/pars.h0
-rwxr-xr-x[-rw-r--r--]cgats/parsstd.c0
-rwxr-xr-x[-rw-r--r--]cgats/test.txt0
17 files changed, 10 insertions, 0 deletions
diff --git a/cgats/Jamfile b/cgats/Jamfile
index 813269a..813269a 100644..100755
--- a/cgats/Jamfile
+++ b/cgats/Jamfile
diff --git a/cgats/License4.txt b/cgats/License4.txt
index 6db70c8..6db70c8 100644..100755
--- a/cgats/License4.txt
+++ b/cgats/License4.txt
diff --git a/cgats/Makefile b/cgats/Makefile
index 5312104..5312104 100644..100755
--- a/cgats/Makefile
+++ b/cgats/Makefile
diff --git a/cgats/Makefile.IBMNT b/cgats/Makefile.IBMNT
index 26a2bd2..26a2bd2 100644..100755
--- a/cgats/Makefile.IBMNT
+++ b/cgats/Makefile.IBMNT
diff --git a/cgats/Makefile.OSX b/cgats/Makefile.OSX
index fb1c88f..fb1c88f 100644..100755
--- a/cgats/Makefile.OSX
+++ b/cgats/Makefile.OSX
diff --git a/cgats/Makefile.UNIX b/cgats/Makefile.UNIX
index 91d6005..91d6005 100644..100755
--- a/cgats/Makefile.UNIX
+++ b/cgats/Makefile.UNIX
diff --git a/cgats/Makefile.WNT b/cgats/Makefile.WNT
index 4ca291d..4ca291d 100644..100755
--- a/cgats/Makefile.WNT
+++ b/cgats/Makefile.WNT
diff --git a/cgats/Readme.txt b/cgats/Readme.txt
index 89c554e..89c554e 100644..100755
--- a/cgats/Readme.txt
+++ b/cgats/Readme.txt
diff --git a/cgats/afiles b/cgats/afiles
index 5532110..5532110 100644..100755
--- a/cgats/afiles
+++ b/cgats/afiles
diff --git a/cgats/cgats.c b/cgats/cgats.c
index 3741a5d..578da10 100644..100755
--- a/cgats/cgats.c
+++ b/cgats/cgats.c
@@ -135,6 +135,7 @@ cgatsAlloc *al /* memory allocator */
p->add_other = add_other;
p->get_oi = get_oi;
p->add_kword = add_kword;
+ p->add_kword_at = add_kword_at;
p->add_field = add_field;
p->add_set = add_set;
p->add_setarr = add_setarr;
diff --git a/cgats/cgats.h b/cgats/cgats.h
index bf5c94e..9ef5f7f 100644..100755
--- a/cgats/cgats.h
+++ b/cgats/cgats.h
@@ -132,6 +132,9 @@ struct _cgats {
int (*add_kword)(struct _cgats *p, int table, const char *ksym, const char *kdata, const char *kcom);
/* Add a new keyword/value pair + optional comment to the table */
/* Return index of new keyword, or -1, errc & err on error */
+ int (*add_kword_at)(struct _cgats *p, int table, int pos, const char *ksym,
+ const char *kdata, const char *kcom);
+ /* Replace or append a new keyword/value pair + optional comment */
int (*add_field)(struct _cgats *p, int table, const char *fsym, data_type ftype);
/* Add a new field to the table */
/* Return index of new field, or -1, -2, errc and err on error */
diff --git a/cgats/cgatsstd.c b/cgats/cgatsstd.c
index 22c17ed..22c17ed 100644..100755
--- a/cgats/cgatsstd.c
+++ b/cgats/cgatsstd.c
diff --git a/cgats/makezip.ksh b/cgats/makezip.ksh
index 8cc5f6c..8cc5f6c 100644..100755
--- a/cgats/makezip.ksh
+++ b/cgats/makezip.ksh
diff --git a/cgats/pars.c b/cgats/pars.c
index c3038d5..d4d04bf 100644..100755
--- a/cgats/pars.c
+++ b/cgats/pars.c
@@ -17,6 +17,12 @@
* see the License4.txt file in this directory for licensing details.
*/
+/*
+ TTBD:
+
+ Should skip UTF-8 BOM (0xef 0xbb 0xbf)
+
+*/
#define _PARS_C_ /* Turn on implimentation code */
diff --git a/cgats/pars.h b/cgats/pars.h
index 083a745..083a745 100644..100755
--- a/cgats/pars.h
+++ b/cgats/pars.h
diff --git a/cgats/parsstd.c b/cgats/parsstd.c
index 2246c97..2246c97 100644..100755
--- a/cgats/parsstd.c
+++ b/cgats/parsstd.c
diff --git a/cgats/test.txt b/cgats/test.txt
index 5036d32..5036d32 100644..100755
--- a/cgats/test.txt
+++ b/cgats/test.txt