8 #define RCNWIREPACK 0x27022004
11 extern void duplorcnet(losig_list
*, losig_list
*);
12 extern int breakloop(losig_list
*);
13 todolist
* breakloop2(losig_list
*, lonode_list
*, lowire_list
*, todolist
*, chain_list
**);
14 extern int reduce_rcn(losig_list
*);
15 extern int connexe(losig_list
*);
16 void connexe_rec(losig_list
*, lowire_list
*, lonode_list
*, int);
17 extern void clean_connexe(losig_list
*);
18 extern chain_list
* getway(losig_list
*, long, long);
19 chain_list
* getwayrec(losig_list
*, long, long, lowire_list
* );
20 void rcn_dumprcn(losig_list
*, long, char*, lowire_list
*, FILE* );
21 int rcn_testandmarknode(lonode_list
*);
23 extern void rcn_setcoupledinformation( losig_list
*, losig_list
*, long, long );
24 extern void rcn_freecoupledinformation( losig_list
*losig
, long );
26 int rcn_treetrip_rec( losig_list
*losig
, lonode_list
*lonode
, int fn_up( losig_list
*, lonode_list
*, lowire_list
*, void* ), int fn_down( losig_list
*, lonode_list
*, chain_list
*, ht
*, void* ), int fn_pack_up( losig_list
*, lonode_list
*, void*, void* ), lowire_list
*from
, void *prevpack
, void *userdata
, int maxdepth
);
27 extern int rcn_treetrip( losig_list
*losig
, lonode_list
*lonode
, int fn_up( losig_list
*, lonode_list
*, lowire_list
*, void* ), int fn_down( losig_list
*, lonode_list
*, chain_list
*, ht
*, void* ), int fn_pack_up( losig_list
*, lonode_list
*, void*, void* ), void *userdata
, int maxdepth
);
28 extern void* rcn_getpack( losig_list
*losig
, lowire_list
*wire
);
29 extern void rcn_setpack( losig_list
*losig
, lowire_list
*wire
, void *pack
);
30 extern void rcn_clearpack( losig_list
*losig
, lowire_list
*wire
);
31 chain_list
* rcn_expandpack( losig_list
*losig
, lonode_list
*node
, chain_list
*hwire
, char search
);
32 extern void rcn_clean_para( losig_list
*losig
);
33 int rcn_build_para_from_node( losig_list
*losig
, lonode_list
*lonode
);
34 extern void rcn_build_para( losig_list
*losig
);
35 extern float rcn_get_resi_para( lowire_list
*wire
) ;
36 extern int rcn_tripconnexe_rec( losig_list
*losig
, lonode_list
*from
, lowire_list
*wire
, int fn( losig_list
*, lowire_list
*, void*), void *userdata
);
37 extern int rcn_tripconnexe( losig_list
*losig
, int startnode
, int fn( losig_list
*, lowire_list
*, void*), void *userdata
);
38 int rcn_tripconnexe_rec( losig_list
*losig
, lonode_list
*from
, lowire_list
*wire
, int fn( losig_list
*, lowire_list
*, void*), void *userdata
);
39 extern long rcn_getcoupledinformation( losig_list
*victime
, losig_list
*agresseur
, long ptype
);