1 /* remotecap functions and structures exported to modules*/ 2 #ifndef REMOTECAP_H 3 #define REMOTECAP_H 4 typedef struct { 5 unsigned int address; 6 unsigned int length; 7 } ptp_data_chunk; 8 9 // get supported remote capture data types 10 int remotecap_get_target_support(void); 11 // set request remote capture data 12 int remotecap_set_target(int type, int lstart, int lcount); 13 // get currently selected data types 14 int remotecap_get_target(void); 15 // set timeout for hooks, in ms. <=0 sets default 16 void remotecap_set_timeout(int timeout); 17 // returns non-zero if remotecap requires the DNG module to stay loaded 18 int remotecap_using_dng_module(); 19 #endif