1*bbecb9d1SAndroid Build Coastguard Worker /* 2*bbecb9d1SAndroid Build Coastguard Worker * Copyright © 2012 Collabora, Ltd. 3*bbecb9d1SAndroid Build Coastguard Worker * 4*bbecb9d1SAndroid Build Coastguard Worker * Permission is hereby granted, free of charge, to any person obtaining 5*bbecb9d1SAndroid Build Coastguard Worker * a copy of this software and associated documentation files (the 6*bbecb9d1SAndroid Build Coastguard Worker * "Software"), to deal in the Software without restriction, including 7*bbecb9d1SAndroid Build Coastguard Worker * without limitation the rights to use, copy, modify, merge, publish, 8*bbecb9d1SAndroid Build Coastguard Worker * distribute, sublicense, and/or sell copies of the Software, and to 9*bbecb9d1SAndroid Build Coastguard Worker * permit persons to whom the Software is furnished to do so, subject to 10*bbecb9d1SAndroid Build Coastguard Worker * the following conditions: 11*bbecb9d1SAndroid Build Coastguard Worker * 12*bbecb9d1SAndroid Build Coastguard Worker * The above copyright notice and this permission notice (including the 13*bbecb9d1SAndroid Build Coastguard Worker * next paragraph) shall be included in all copies or substantial 14*bbecb9d1SAndroid Build Coastguard Worker * portions of the Software. 15*bbecb9d1SAndroid Build Coastguard Worker * 16*bbecb9d1SAndroid Build Coastguard Worker * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17*bbecb9d1SAndroid Build Coastguard Worker * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18*bbecb9d1SAndroid Build Coastguard Worker * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19*bbecb9d1SAndroid Build Coastguard Worker * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 20*bbecb9d1SAndroid Build Coastguard Worker * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 21*bbecb9d1SAndroid Build Coastguard Worker * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 22*bbecb9d1SAndroid Build Coastguard Worker * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23*bbecb9d1SAndroid Build Coastguard Worker * SOFTWARE. 24*bbecb9d1SAndroid Build Coastguard Worker */ 25*bbecb9d1SAndroid Build Coastguard Worker 26*bbecb9d1SAndroid Build Coastguard Worker #ifndef _ANON_FILE_H_ 27*bbecb9d1SAndroid Build Coastguard Worker #define _ANON_FILE_H_ 28*bbecb9d1SAndroid Build Coastguard Worker 29*bbecb9d1SAndroid Build Coastguard Worker #include <sys/types.h> 30*bbecb9d1SAndroid Build Coastguard Worker 31*bbecb9d1SAndroid Build Coastguard Worker int os_create_anonymous_file(off_t size, const char *debug_name); 32*bbecb9d1SAndroid Build Coastguard Worker 33*bbecb9d1SAndroid Build Coastguard Worker #endif 34