jclass.c
static void followClass(ClassModule * classModule, char * filterClass) {
	int i = 0;
	char * className = NULL;
	char * fieldName = NULL;
	char * fieldSig = NULL;

	className = strtok(filterClass, ",");
	fieldName = strtok(NULL, ",");
	if (fieldName != NULL) {
		fieldSig = strtok(NULL, ",");
	}
#ifdef DEBUG
	ulog("class: %s, fieldName: %s, fieldSig: %s\n", className, fieldName,
			fieldSig);
#endif

	for (i = 0; i < classModule->classCount; i++) {
		if (strcmp(classModule->classes[i].classSig, className) == 0) {
			classModule->classes[i].follow = true;
			if (fieldName != NULL && fieldSig != NULL) {
				classModule->classes[i].fieldName = strdup(fieldName);
				classModule->classes[i].fieldSig = strdup(fieldSig);
			}
#ifdef DEBUG
			ulog("Set filter class: %s\n", className);
#endif
		}
	}
}
/**
 * Set follow information in classes.
 */
Set follow information in classes.
Set follow information in classes .
static void followClass(ClassModule * classModule, char * filterClass) {
	int i = 0;
	char * className = NULL;
	char * fieldName = NULL;
	char * fieldSig = NULL;
	className = strtok(filterClass, ",");
	fieldName = strtok(NULL, ",");
	if (fieldName != NULL) {
		fieldSig = strtok(NULL, ",");
	}
#ifdef DEBUG
	ulog("class: %s, fieldName: %s, fieldSig: %s\n", className, fieldName,
			fieldSig);
#endif
	for (i = 0; i < classModule->classCount; i++) {
		if (strcmp(classModule->classes[i].classSig, className) == 0) {
			classModule->classes[i].follow = true;
			if (fieldName != NULL && fieldSig != NULL) {
				classModule->classes[i].fieldName = strdup(fieldName);
				classModule->classes[i].fieldSig = strdup(fieldSig);
			}
#ifdef DEBUG
			ulog("Set filter class: %s\n", className);
#endif
		}
	}
}
static void followClass ( ClassModule * classModule , char * filterClass ) { int i = 0 ; char * className = NULL ; char * fieldName = NULL ; char * fieldSig = NULL ; className = strtok ( filterClass , " " ) ; fieldName = strtok ( NULL , " " ) ; if ( fieldName != NULL ) { fieldSig = strtok ( NULL , " " ) ; } #ifdef DEBUG ulog ( " \n " , className , fieldName , fieldSig ) ; #endif for ( i = 0 ; i < classModule -> classCount ; i ++ ) { if ( strcmp ( classModule -> classes [ i ] . classSig , className ) == 0 ) { classModule -> classes [ i ] . follow = true ; if ( fieldName != NULL && fieldSig != NULL ) { classModule -> classes [ i ] . fieldName = strdup ( fieldName ) ; classModule -> classes [ i ] . fieldSig = strdup ( fieldSig ) ; } #ifdef DEBUG ulog ( " \n " , className ) ; #endif } } }
Set follow information in classes.
Set follow information in classes .