C API for remote ACNUC access

Download source code. Files raa_acnuc.{c,h}, parser.{c,h}, misc_acnuc.c, present therein, are used by API.

API functions in alphabetical order : raa_acnucclose, raa_acnucopen, raa_acnucopen_alt, raa_alllistranks, raa_bcount, raa_bit0, raa_bit1, raa_btest, raa_copylist, raa_countfilles, raa_decode_address, raa_extract_1_seq, raa_extract_interrupt, raa_fcode, raa_getemptylist, raa_getlistrank, raa_getliststate, raa_gfrag, raa_ghelp, raa_iknum, raa_isenum, raa_knowndbs, raa_modifylist, raa_next_annots, raa_nexteltinlist, raa_nexteltinlist_annots, raa_nextmatchkey, raa_prep_acnuc_requete, print_raa_long, raa_open_socket, raa_opendb, raa_prep_extract, raa_proc_requete, raa_read_annots, raa_readacc, raa_readext, raa_readkey, raa_readlng, raa_readloc, raa_readshrt, raa_readsmj, raa_readspec, raa_readsub, raa_read_first_rec, raa_releaselist, raa_residuecount, raa_savelist, raa_seq_to_annots, raa_setlistname, raa_setliststate, raa_setsimext, raa_zerolist, scan_raa_long

API functions by theme : #include "raa_acnuc.h"

Typedefs :

typedef long long raa_long; /* scan_raa_long/print_raa_long converts from/to string decimal form */
typedef enum { raa_sub = 0, raa_loc, raa_key, raa_spec, raa_shrt, raa_lng, raa_ext, raa_smj,
	raa_aut, raa_bib, raa_txt, raa_acc } raa_file;
struct rlng {         
	int sub[SUBINLNG]; 
	int next; 
	};

Global variables :
int nseq, genbank, embl, swissprot, nbrf, longa, maxa;
struct rlng *plng;
void (*raa_error_mess_proc)(char *message) = NULL;