summaryrefslogtreecommitdiff
path: root/vapi/libgphoto2.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi/libgphoto2.vapi')
-rw-r--r--vapi/libgphoto2.vapi2
1 files changed, 2 insertions, 0 deletions
diff --git a/vapi/libgphoto2.vapi b/vapi/libgphoto2.vapi
index b6deb1f..22f70ee 100644
--- a/vapi/libgphoto2.vapi
+++ b/vapi/libgphoto2.vapi
@@ -104,6 +104,8 @@ namespace GPhoto {
public class CameraFile {
[CCode (cname="gp_file_new")]
public static Result create(out CameraFile file);
+ [CCode (cname="gp_file_new_from_fd")]
+ public static Result create_from_fd(out CameraFile file, int fd);
public Result get_data_and_size(out uint8 *data, out ulong data_len);
public Result save(string filename);
public Result slurp(uint8[] data, out size_t readlen);