Lines Matching refs:new_folder
7375 PTPObjectInfo new_folder;
7387 memset(&new_folder, 0, sizeof(new_folder));
7388 new_folder.Filename = name;
7390 strip_7bit_from_utf8(new_folder.Filename);
7392 new_folder.ObjectCompressedSize = 0;
7393 new_folder.ObjectFormat = PTP_OFC_Association;
7394 new_folder.ProtectionStatus = PTP_PS_NoProtection;
7395 new_folder.AssociationType = PTP_AT_GenericFolder;
7396 new_folder.ParentObject = parent_id;
7397 new_folder.StorageID = store;
7416 ret = ptp_sendobjectinfo(params, &store, &parenthandle, &new_id, &new_folder);
7426 // NOTE: don't destroy the new_folder objectinfo, because it is statically referencing