#define americano 0 #define europeo 1 #define lmax 200 #define posin 18 #define estac 25+posin #define linea 47+posin #define durac 16+posin #define hor 10+posin #define fech 1 +posin #define tranf 0 #define numero 29+posin #define ccost 0 #define proye 0 #define cuenta 0 #define pulsos 0 #define ruta 0 #define prinum 0 #define ring 0 #define antran 0 // anexo transferido #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 i,k,it ; char aux,vtip ; k = 0; i = strlen(buf); aux = 0; if (i>(vlinea) && buf[vfech+2]=='/' && buf[vfech+5]=='/' && buf[vhor+2]==':' && buf[vdurac+2]==':'&& buf[vdurac+5]==':' && buf[vlinea-1]=='L') { aux = buf[vestac]; for (it=0;isdigit(buf[vestac+it]) && it