Lines Matching defs:treeRoot
177 void SearchServerTree(Server_TreeNode* treeRoot)
181 for(i=0;i<treeRoot->level;i++)
184 if(treeRoot->browse != NULL)
188 de_foldercurrent = treeRoot->browse->folderlist->next;
189 de_filecurrent = treeRoot->browse->filelist->next;
201 printf("treeRoot->browse is null\n");
205 if((treeRoot->Child!=NULL))
206 SearchServerTree(treeRoot->Child);
208 if(treeRoot->NextBrother != NULL)
209 SearchServerTree(treeRoot->NextBrother);
770 CloudFile *get_CloudFile_node(Server_TreeNode* treeRoot,const char *dofile_href,int a){
775 if(treeRoot == NULL)
779 if(treeRoot->browse != NULL)
785 //printf("111111folder = %d,file = %d\n",treeRoot->browse->foldernumber,treeRoot->browse->filenumber);
786 if(treeRoot->browse->foldernumber > 0)
787 de_foldercurrent = treeRoot->browse->folderlist->next;
788 if(treeRoot->browse->filenumber > 0)
789 de_filecurrent = treeRoot->browse->filelist->next;
823 if((treeRoot->Child!=NULL))
826 finded_file = get_CloudFile_node(treeRoot->Child,dofile_href,a);
837 if(treeRoot->NextBrother != NULL)
840 finded_file = get_CloudFile_node(treeRoot->NextBrother,dofile_href,a);