static char * medin_findstartwrapper( char *buf, int *ntype ) { char *startptr=NULL; int i; for ( i=0; i<nwrapper && startptr==NULL; ++i ) { startptr = xml_findstart( buf, wrapper[ i ] ); if ( startptr && *ntype==-1 ) *ntype = i; } return startptr; }
static char * wordin_findstartwrapper( char *buf, int *ntype ) { char *startptr = xml_findstart( buf, "b:Source" ); return startptr; }