Lines Matching refs:folder_list
143 static SANE_String *folder_list;
565 /* If we've already got a folder_list, free it up before starting
568 if (folder_list != NULL)
571 for (tmp = 0; folder_list[tmp]; tmp++)
573 free (folder_list[tmp]);
575 free (folder_list);
578 folder_list =
586 folder_list[n] = strdup (val);
587 if (strchr ((const char *) folder_list[n], ' '))
589 *strchr ((const char *) folder_list[n], ' ') = '\0';
594 folder_list[n++] = (SANE_String) strdup ("");
600 folder_list[n++] = "N/A";
603 folder_list[n] = NULL;
605 (SANE_String_Const *) folder_list;
627 (const char *) folder_list[current_folder]);
1264 if (folder_list == NULL)
1268 strncpy ((char *) value, (const char *) folder_list[current_folder],
1429 (const char *) folder_list[current_folder]);
1609 if (folder_list[current_folder] != NULL)
1612 strcat (path, (const char *) folder_list[current_folder]);
1781 strcat (path, (const char *) folder_list[current_folder]);
1835 (const char *) folder_list[current_folder]);