Lines Matching defs:devlist
74 static SANE_Device const **devlist = NULL;
874 if (devlist)
875 free (devlist);
896 if (devlist) free(devlist);
897 devlist = malloc((NumDevices+1) * sizeof(devlist[0]));
898 if (!devlist) return SANE_STATUS_NO_MEM;
901 devlist[i++] = &dev->sane;
903 devlist[i] = NULL;
905 if (device_list) *device_list = devlist;