#define americano 0 #define europeo 1 #define lmax 200 #define posin 18 #define ladat 200 #define estac 26+posin #define linea 47+posin #define durac 16+posin #define hor 10+posin #define fech 1+posin #define tranf 29+posin #define numero 29+posin #define ccost 52+posin #define proye 58+posin #define cuenta 0 #define pulsos 70+posin #define ruta 0 #define prinum 0 #define ring 0 #define antran 0 // anexo transferido #define larnum 23 #define fofech americano extern char rgua[]; void in_central() { rgua[0]='\0'; } void fi_central() { } void DatCentral(char *buf, char *tel, int vestac, int vlinea,int vdurac,int vhor, int vfech, int vtranf, int vnumero, int vccost,int vproye, int vcuenta, int vpulsos, int vruta, int vprinum, int vring, int vantran, int vfofech) { int it,k,i=strlen(buf); char aux,vtip ; aux = 0; if (i>vlinea && buf[fech+2]=='/' && buf[fech+5]=='/' && buf[hor+2]==':'&& buf[durac+2]==':' && buf[durac+5]==':') { k=0 ; for (it =0;buf[vestac+it]!=' ' && it