#define americano 0 #define europeo 1 #define lmax 200 #define posin 18 #define estac 0+posin #define linea 3+posin #define durac 20+posin #define hor 11+posin #define fech 5 +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>(vdurac) && buf[vfech+2]=='/' && buf[vhor+2]==':' && buf[vhor+5]==':'&& buf[vdurac+2]==':'&& buf[vdurac+5]==':') { aux = buf[vestac]; for (it=0;isdigit(buf[vestac+it]) && it