Lines Matching defs:treeRoot
424 CloudFile *get_CloudFile_node(Server_TreeNode* treeRoot,const char *dofile_href,int a)
429 if(treeRoot == NULL)
434 if((treeRoot->Child!=NULL))
436 finded_file = get_CloudFile_node(treeRoot->Child,dofile_href,a);
443 if(treeRoot->NextBrother != NULL)
445 finded_file = get_CloudFile_node(treeRoot->NextBrother,dofile_href,a);
452 if(treeRoot->browse != NULL)
458 DEBUG("111111folder = %d,file = %d\n",treeRoot->browse->foldernumber,treeRoot->browse->filenumber);
459 if(treeRoot->browse->foldernumber > 0)
460 de_foldercurrent = treeRoot->browse->folderlist->next;
461 if(treeRoot->browse->filenumber > 0)
462 de_filecurrent = treeRoot->browse->filelist->next;
933 //void SearchServerTree(Server_TreeNode* treeRoot)
937 // if(treeRoot->level == 0)
940 // //fprintf(fp,"%d\n",treeRoot->level);
943 // if(treeRoot->level == 1)
946 // //fprintf(fp,"%d\n",treeRoot->level);
949 // if(treeRoot->level == 2)
952 // //fprintf(fp,"%d\n",treeRoot->level);
955 // if(treeRoot->browse != NULL)
959 // de_foldercurrent = treeRoot->browse->folderlist->next;
967 // if((treeRoot->Child != NULL))
968 // SearchServerTree(treeRoot->Child);
970 // if(treeRoot->NextBrother != NULL)
971 // SearchServerTree(treeRoot->NextBrother);