2
Copyright (c) 2008 Gordon Gremme <gremme@zbh.uni-hamburg.de>
3
Copyright (c) 2008 Center for Bioinformatics, University of Hamburg
5
Permission to use, copy, modify, and distribute this software for any
6
purpose with or without fee is hereby granted, provided that the above
7
copyright notice and this permission notice appear in all copies.
9
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18
#ifndef GFF3_ESCAPING_H
19
#define GFF3_ESCAPING_H
23
/* Escape <unescaped_seq> of given <length> for GFF3 format and append the
24
result to <escaped_seq>. */
25
void gt_gff3_escape(GtStr *escaped_seq, const char *unescaped_seq,
26
unsigned long length);
28
/* Unescape GFF3 format <escaped_seq> of given <length> and append the result to
30
int gt_gff3_unescape(GtStr *unescaped_seq, const char *escaped_seq,
31
unsigned long length, GtError*);
33
/* Perform unit test of GFF3 format escaping module */
34
int gt_gff3_escaping_unit_test(GtError*);