Lines Matching refs:parent_buf
287 char * parent_buf = NULL;
367 parent_buf = dirname(path_buf);
371 //DEBUG DPRINTF(E_DEBUG, L_INOTIFY, "Checking %s\n", parent_buf);
373 " where d.PATH = '%q' and REF_ID is NULL", parent_buf);
378 DPRINTF(E_DEBUG, L_INOTIFY, "Found first known parentID: %s [%s]\n", id, parent_buf);
387 strcpy(last_dir, parent_buf);
388 parent_buf = dirname(parent_buf);
390 while( strcmp(parent_buf, "/") != 0 );
392 if( strcmp(parent_buf, "/") == 0 )
423 char *id, *parent_buf, *esc_name;
442 parent_buf = strdup(path);
444 " where d.PATH = '%q' and REF_ID is NULL", dirname(parent_buf));
449 free(parent_buf);