diff options
Diffstat (limited to 'cgats')
-rwxr-xr-x[-rw-r--r--] | cgats/Jamfile | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/License4.txt | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/Makefile | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/Makefile.IBMNT | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/Makefile.OSX | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/Makefile.UNIX | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/Makefile.WNT | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/Readme.txt | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/afiles | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/cgats.c | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/cgats.h | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/cgatsstd.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/makezip.ksh | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/pars.c | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/pars.h | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/parsstd.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | cgats/test.txt | 0 |
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 |