Lines Matching refs:params
101 } params; member
2375 typedef uint16_t (* PTPDataGetFunc) (PTPParams* params, void*priv,
2379 typedef uint16_t (* PTPDataPutFunc) (PTPParams* params, void*priv,
2392 typedef uint16_t (* PTPIOSendReq) (PTPParams* params, PTPContainer* req, int dataphase);
2393 typedef uint16_t (* PTPIOSendData) (PTPParams* params, PTPContainer* ptp,
2396 typedef uint16_t (* PTPIOGetResp) (PTPParams* params, PTPContainer* resp);
2397 typedef uint16_t (* PTPIOGetData) (PTPParams* params, PTPContainer* ptp,
2399 typedef uint16_t (* PTPIOCancelReq) (PTPParams* params, uint32_t transaction_id);
2553 typedef void (*PTPEventCbFn)(PTPParams *params, uint16_t code, PTPContainer *event, void *user_data…
2556 uint16_t ptp_usb_sendreq (PTPParams* params, PTPContainer* req, int dataphase);
2557 uint16_t ptp_usb_senddata (PTPParams* params, PTPContainer* ptp,
2559 uint16_t ptp_usb_getresp (PTPParams* params, PTPContainer* resp);
2560 uint16_t ptp_usb_getdata (PTPParams* params, PTPContainer* ptp,
2562 uint16_t ptp_usb_event_async (PTPParams *params, PTPEventCbFn cb, void *user_data);
2563 uint16_t ptp_usb_event_wait (PTPParams* params, PTPContainer* event);
2564 uint16_t ptp_usb_event_check (PTPParams* params, PTPContainer* event);
2565 uint16_t ptp_usb_event_check_queue (PTPParams* params, PTPContainer* event);
2567 uint16_t ptp_usb_control_get_extended_event_data (PTPParams *params, char *buffer, int *size);
2568 uint16_t ptp_usb_control_device_reset_request (PTPParams *params);
2569 uint16_t ptp_usb_control_get_device_status (PTPParams *params, char *buffer, int *size);
2570 uint16_t ptp_usb_control_cancel_request (PTPParams *params, uint32_t transid);
2573 int ptp_ptpip_connect (PTPParams* params, const char *port);
2574 uint16_t ptp_ptpip_sendreq (PTPParams* params, PTPContainer* req, int dataphase);
2575 uint16_t ptp_ptpip_senddata (PTPParams* params, PTPContainer* ptp,
2577 uint16_t ptp_ptpip_getresp (PTPParams* params, PTPContainer* resp);
2578 uint16_t ptp_ptpip_getdata (PTPParams* params, PTPContainer* ptp,
2580 uint16_t ptp_ptpip_event_wait (PTPParams* params, PTPContainer* event);
2581 uint16_t ptp_ptpip_event_check (PTPParams* params, PTPContainer* event);
2582 uint16_t ptp_ptpip_event_check_queue (PTPParams* params, PTPContainer* event);
2584 uint16_t ptp_getdeviceinfo (PTPParams* params, PTPDeviceInfo* deviceinfo);
2586 uint16_t ptp_generic_no_data (PTPParams* params, uint16_t opcode, unsigned int cnt, ...);
2588 uint16_t ptp_opensession (PTPParams *params, uint32_t session);
2590 uint16_t ptp_transaction_new (PTPParams* params, PTPContainer* ptp,
2594 uint16_t ptp_transaction (PTPParams* params, PTPContainer* ptp,
2607 #define ptp_closesession(params) ptp_generic_no_data(params,PTP_OC_CloseSession,0) argument
2617 #define ptp_powerdown(params) ptp_generic_no_data(params,PTP_OC_PowerDown,0) argument
2627 #define ptp_resetdevice(params) ptp_generic_no_data(params,PTP_OC_ResetDevice,0) argument
2629 uint16_t ptp_getstorageids (PTPParams* params, PTPStorageIDs* storageids);
2630 uint16_t ptp_getstorageinfo (PTPParams* params, uint32_t storageid,
2641 #define ptp_formatstore(params,storageid) ptp_generic_no_data(params,PTP_OC_FormatStore,1,storageid) argument
2643 uint16_t ptp_getobjecthandles (PTPParams* params, uint32_t storage,
2649 uint16_t ptp_getnumobjects (PTPParams* params, uint32_t storage,
2654 uint16_t ptp_getobjectinfo (PTPParams *params, uint32_t handle,
2657 uint16_t ptp_getobject (PTPParams *params, uint32_t handle,
2659 uint16_t ptp_getobject_with_size (PTPParams *params, uint32_t handle,
2661 uint16_t ptp_getobject_tofd (PTPParams* params, uint32_t handle, int fd);
2662 uint16_t ptp_getobject_to_handler (PTPParams* params, uint32_t handle, PTPDataHandler*);
2663 uint16_t ptp_getpartialobject (PTPParams* params, uint32_t handle, uint32_t offset,
2666 uint16_t ptp_getpartialobject_to_handler (PTPParams* params, uint32_t handle, uint32_t offset,
2669 uint16_t ptp_getthumb (PTPParams *params, uint32_t handle,
2672 uint16_t ptp_deleteobject (PTPParams* params, uint32_t handle,
2675 uint16_t ptp_sendobjectinfo (PTPParams* params, uint32_t* store,
2688 #define ptp_setobjectprotection(params,oid,newprot) ptp_generic_no_data(params,PTP_OC_SetObjectProt… argument
2689 uint16_t ptp_sendobject (PTPParams* params, unsigned char* object,
2691 uint16_t ptp_sendobject_fromfd (PTPParams* params, int fd, uint64_t size);
2692 uint16_t ptp_sendobject_from_handler (PTPParams* params, PTPDataHandler*, uint64_t size);
2707 #define ptp_initiatecapture(params,storageid,ofc) ptp_generic_no_data(params,PTP_OC_InitiateCapture… argument
2709 #define ptp_initiateopencapture(params,storageid,ofc) ptp_generic_no_data(params,PTP_OC_InitiateOpe… argument
2710 #define ptp_terminateopencapture(params,transid) ptp_generic_no_data(params,PTP_OC_TerminateOpenCap… argument
2712 uint16_t ptp_getdevicepropdesc (PTPParams* params, uint16_t propcode,
2714 uint16_t ptp_generic_getdevicepropdesc (PTPParams *params, uint16_t propcode,
2716 uint16_t ptp_getdevicepropvalue (PTPParams* params, uint16_t propcode,
2718 uint16_t ptp_setdevicepropvalue (PTPParams* params, uint16_t propcode,
2720 uint16_t ptp_generic_setdevicepropvalue (PTPParams* params, uint16_t propcode,
2722 uint16_t ptp_getfilesystemmanifest (PTPParams* params, uint32_t storage,
2728 uint16_t ptp_check_event (PTPParams *params);
2729 uint16_t ptp_check_event_queue (PTPParams *params);
2730 uint16_t ptp_wait_event (PTPParams *params);
2731 uint16_t ptp_add_event (PTPParams *params, PTPContainer *evt);
2732 int ptp_get_one_event (PTPParams *params, PTPContainer *evt);
2733 uint16_t ptp_check_eos_events (PTPParams *params);
2734 int ptp_get_one_eos_event (PTPParams *params, PTPCanon_changes_entry *entry);
2738 uint16_t ptp_mtp_getobjectpropdesc (PTPParams* params, uint16_t opc, uint16_t ofc,
2740 uint16_t ptp_mtp_getobjectpropvalue (PTPParams* params, uint32_t oid, uint16_t opc,
2742 uint16_t ptp_mtp_setobjectpropvalue (PTPParams* params, uint32_t oid, uint16_t opc,
2744 uint16_t ptp_mtp_getobjectreferences (PTPParams* params, uint32_t handle, uint32_t** ohArray, uint3…
2745 uint16_t ptp_mtp_setobjectreferences (PTPParams* params, uint32_t handle, uint32_t* ohArray, uint32…
2746 uint16_t ptp_mtp_getobjectproplist (PTPParams* params, uint32_t handle, MTPProperties **props, int …
2747 uint16_t ptp_mtp_getobjectproplist_single (PTPParams* params, uint32_t handle, MTPProperties **prop…
2748 uint16_t ptp_mtp_sendobjectproplist (PTPParams* params, uint32_t* store, uint32_t* parenthandle, ui…
2750 uint16_t ptp_mtp_setobjectproplist (PTPParams* params, MTPProperties *props, int nrofprops);
2754 #define ptp_mtpz_resethandshake(params) ptp_generic_no_data(params, PTP_OC_MTP_WMDRMPD_EndTrustedA… argument
2756 #define ptp_mtpz_wmdrmpd_enabletrustedfilesoperations(params,hash1,hash2,hash3,hash4) \ argument
2757 ptp_generic_no_data(params, PTP_OC_MTP_WMDRMPD_EnableTrustedFilesOperations, 4,\
2761 uint16_t ptp_ek_9007 (PTPParams* params, unsigned char **serial, unsigned int *size);
2762 uint16_t ptp_ek_9009 (PTPParams* params, uint32_t*, uint32_t*);
2763 uint16_t ptp_ek_900c (PTPParams* params, unsigned char **serial, unsigned int *size);
2764 uint16_t ptp_ek_getserial (PTPParams* params, unsigned char **serial, unsigned int *size);
2765 uint16_t ptp_ek_setserial (PTPParams* params, unsigned char *serial, unsigned int size);
2766 uint16_t ptp_ek_settext (PTPParams* params, PTPEKTextParams *text);
2767 uint16_t ptp_ek_sendfileobjectinfo (PTPParams* params, uint32_t* store,
2770 uint16_t ptp_ek_sendfileobject (PTPParams* params, unsigned char* object,
2772 uint16_t ptp_ek_sendfileobject_from_handler (PTPParams* params, PTPDataHandler*,
2776 #define ptp_canon_9012(params) ptp_generic_no_data(params,0x9012,0) argument
2777 uint16_t ptp_canon_gettreeinfo (PTPParams* params, uint32_t* out);
2778 uint16_t ptp_canon_gettreesize (PTPParams* params, PTPCanon_directtransfer_entry**, unsigned int*cn…
2779 uint16_t ptp_canon_getpartialobjectinfo (PTPParams* params, uint32_t handle,
2782 uint16_t ptp_canon_get_mac_address (PTPParams* params, unsigned char **mac);
2795 #define ptp_canon_startshootingmode(params) ptp_generic_no_data(params,PTP_OC_CANON_InitiateRelease… argument
2809 #define ptp_canon_endshootingmode(params) ptp_generic_no_data(params,PTP_OC_CANON_TerminateReleaseC… argument
2821 #define ptp_canon_viewfinderon(params) ptp_generic_no_data(params,PTP_OC_CANON_ViewfinderOn,0) argument
2834 #define ptp_canon_viewfinderoff(params) ptp_generic_no_data(params,PTP_OC_CANON_ViewfinderOff,0) argument
2850 #define ptp_canon_reset_aeafawb(params,flags) ptp_generic_no_data(params,PTP_OC_CANON_DoAeAfAwb,1,f… argument
2851 uint16_t ptp_canon_checkevent (PTPParams* params,
2865 #define ptp_canon_focuslock(params) ptp_generic_no_data(params,PTP_OC_CANON_FocusLock,0) argument
2878 #define ptp_canon_focusunlock(params) ptp_generic_no_data(params,PTP_OC_CANON_FocusUnlock,0) argument
2889 #define ptp_canon_keepdeviceon(params) ptp_generic_no_data(params,PTP_OC_CANON_KeepDeviceOn,0) argument
2900 #define ptp_canon_eos_keepdeviceon(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_KeepDeviceOn… argument
2918 #define ptp_canon_initiatecaptureinmemory(params) ptp_generic_no_data(params,PTP_OC_CANON_InitiateC… argument
2934 #define ptp_canon_eos_setrequestolcinfogroup(params,igmask) ptp_generic_no_data(params,PTP_OC_CANON… argument
2935 #define ptp_canon_eos_requestdevicepropvalue(params,prop) ptp_generic_no_data(params,PTP_OC_CANON_E… argument
2936 uint16_t ptp_canon_eos_capture (PTPParams* params, uint32_t *result);
2937 uint16_t ptp_canon_eos_getevent (PTPParams* params, PTPCanon_changes_entry **entries, int *nrofentr…
2938 uint16_t ptp_canon_getpartialobject (PTPParams* params, uint32_t handle,
2942 uint16_t ptp_canon_getviewfinderimage (PTPParams* params, unsigned char** image,
2944 uint16_t ptp_canon_getchanges (PTPParams* params, uint16_t** props,
2946 uint16_t ptp_canon_getobjectinfo (PTPParams* params, uint32_t store,
2951 uint16_t ptp_canon_eos_getdeviceinfo (PTPParams* params, PTPCanonEOSDeviceInfo*di);
2962 #define ptp_canon_eos_setuilock(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_SetUILock,0) argument
2973 #define ptp_canon_eos_resetuilock(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_ResetUILock,0) argument
2984 #define ptp_canon_eos_start_viewfinder(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_Initiate… argument
2995 #define ptp_canon_eos_end_viewfinder(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_TerminateV… argument
2996 uint16_t ptp_canon_eos_get_viewfinder_image (PTPParams* params, unsigned char **data, unsigned int …
2997 uint16_t ptp_canon_eos_get_viewfinder_image_handler (PTPParams* params, PTPDataHandler*);
2998 uint16_t ptp_canon_get_objecthandle_by_name (PTPParams* params, char* name, uint32_t* objectid);
2999 uint16_t ptp_canon_get_directory (PTPParams* params, PTPObjectHandles *handles, PTPObjectInfo **oin…
3010 #define ptp_canon_setobjectarchive(params,oid,flags) ptp_generic_no_data(params,PTP_OC_CANON_SetObj… argument
3011 #define ptp_canon_eos_setobjectattributes(params,oid,flags) ptp_generic_no_data(params,PTP_OC_CANON… argument
3012 uint16_t ptp_canon_get_customize_data (PTPParams* params, uint32_t themenr,
3014 uint16_t ptp_canon_getpairinginfo (PTPParams* params, uint32_t nr, unsigned char**, unsigned int*);
3016 uint16_t ptp_canon_eos_getstorageids (PTPParams* params, PTPStorageIDs* storageids);
3017 uint16_t ptp_canon_eos_getstorageinfo (PTPParams* params, uint32_t p1, unsigned char**, unsigned in…
3018 uint16_t ptp_canon_eos_getpartialobject (PTPParams* params, uint32_t oid, uint32_t off, uint32_t xs…
3019 uint16_t ptp_canon_eos_getobjectinfoex (PTPParams* params, uint32_t storageid, uint32_t objectid, u…
3021 uint16_t ptp_canon_eos_setdevicepropvalueex (PTPParams* params, unsigned char* data, unsigned int s…
3022 #define ptp_canon_eos_setremotemode(params,p1) ptp_generic_no_data(params,PTP_OC_CANON_EOS_SetRemot… argument
3023 #define ptp_canon_eos_seteventmode(params,p1) ptp_generic_no_data(params,PTP_OC_CANON_EOS_SetEventM… argument
3035 #define ptp_canon_eos_transfercomplete(params,oid) ptp_generic_no_data(params,PTP_OC_CANON_EOS_Tran… argument
3037 #define ptp_canon_eos_pchddcapacity(params,p1,p2,p3) ptp_generic_no_data(params,PTP_OC_CANON_EOS_PC… argument
3038 uint16_t ptp_canon_eos_bulbstart (PTPParams* params);
3039 uint16_t ptp_canon_eos_bulbend (PTPParams* params);
3040 uint16_t ptp_canon_eos_getdevicepropdesc (PTPParams* params, uint16_t propcode,
3042 uint16_t ptp_canon_eos_setdevicepropvalue (PTPParams* params, uint16_t propcode,
3044 uint16_t ptp_nikon_get_vendorpropcodes (PTPParams* params, uint16_t **props, unsigned int *size);
3045 uint16_t ptp_nikon_curve_download (PTPParams* params,
3047 uint16_t ptp_nikon_getptpipinfo (PTPParams* params, unsigned char **data, unsigned int *size);
3048 uint16_t ptp_nikon_getwifiprofilelist (PTPParams* params);
3049 uint16_t ptp_nikon_writewifiprofile (PTPParams* params, PTPNIKONWifiProfile* profile);
3051 uint16_t ptp_sony_sdioconnect (PTPParams* params, uint32_t p1, uint32_t p2, uint32_t p3);
3052 uint16_t ptp_sony_get_vendorpropcodes (PTPParams* params, uint16_t **props, unsigned int *size);
3053 uint16_t ptp_sony_getdevicepropdesc (PTPParams* params, uint16_t propcode,
3055 uint16_t ptp_sony_getalldevicepropdesc (PTPParams* params);
3056 uint16_t ptp_sony_setdevicecontrolvaluea (PTPParams* params, uint16_t propcode,
3058 uint16_t ptp_sony_setdevicecontrolvalueb (PTPParams* params, uint16_t propcode,
3060 uint16_t ptp_sony_9280 (PTPParams* params, uint32_t additional, uint32_t data1, uint32_t data2, uin…
3061 uint16_t ptp_sony_9281 (PTPParams* params, uint32_t param1);
3073 #define ptp_nikon_deletewifiprofile(params,profilenr) ptp_generic_no_data(params,PTP_OC_NIKON_Delet… argument
3085 #define ptp_nikon_setcontrolmode(params,mode) ptp_generic_no_data(params,PTP_OC_NIKON_SetControlMod… argument
3098 #define ptp_nikon_terminatecapture(params,p1,p2) ptp_generic_no_data(params,PTP_OC_NIKON_TerminateC… argument
3109 #define ptp_nikon_afdrive(params) ptp_generic_no_data(params,PTP_OC_NIKON_AfDrive,0) argument
3122 #define ptp_nikon_changeafarea(params,x,y) ptp_generic_no_data(params,PTP_OC_NIKON_ChangeAfArea,2,x… argument
3133 #define ptp_nikon_startmovie(params) ptp_generic_no_data(params,PTP_OC_NIKON_StartMovieRecInCard,0) argument
3144 #define ptp_nikon_stopmovie(params) ptp_generic_no_data(params,PTP_OC_NIKON_EndMovieRec,0) argument
3155 #define ptp_canon_eos_afdrive(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_DoAf,0) argument
3166 #define ptp_canon_eos_afcancel(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_AfCancel,0) argument
3178 #define ptp_canon_eos_zoom(params,x) ptp_generic_no_data(params,PTP_OC_CANON_EOS_Zoom,1,x) argument
3179 #define ptp_canon_eos_zoomposition(params,x,y) ptp_generic_no_data(params,PTP_OC_CANON_EOS_ZoomPosi… argument
3181 #define ptp_canon_eos_remotereleaseon(params,x,y) ptp_generic_no_data(params,PTP_OC_CANON_EOS_Remot… argument
3182 #define ptp_canon_eos_remotereleaseoff(params,x) ptp_generic_no_data(params,PTP_OC_CANON_EOS_Remote… argument
3195 #define ptp_nikon_mfdrive(params,flag,amount) ptp_generic_no_data(params,PTP_OC_NIKON_MfDrive,2,fla… argument
3208 #define ptp_canon_eos_drivelens(params,amount) ptp_generic_no_data(params,PTP_OC_CANON_EOS_DriveLen… argument
3220 #define ptp_nikon_capture(params,x) ptp_generic_no_data(params,PTP_OC_NIKON_Capture,1,x) argument
3236 #define ptp_nikon_capture2(params,af,target) ptp_generic_no_data(params,PTP_OC_NIKON_InitiateCaptur… argument
3247 #define ptp_nikon_capture_sdram(params) ptp_generic_no_data(params,PTP_OC_NIKON_AfCaptureSDRAM,0) argument
3259 #define ptp_nikon_delete_sdram_image(params,oid) ptp_generic_no_data(params,PTP_OC_NIKON_DelImageSD… argument
3270 #define ptp_nikon_start_liveview(params) ptp_generic_no_data(params,PTP_OC_NIKON_StartLiveView,0) argument
3271 uint16_t ptp_nikon_get_liveview_image (PTPParams* params, unsigned char**,unsigned int*);
3272 uint16_t ptp_nikon_get_preview_image (PTPParams* params, unsigned char**, unsigned int*, uint32_t*);
3283 #define ptp_nikon_end_liveview(params) ptp_generic_no_data(params,PTP_OC_NIKON_EndLiveView,0) argument
3284 uint16_t ptp_nikon_check_event (PTPParams* params, PTPContainer **evt, unsigned int *evtcnt);
3285 uint16_t ptp_nikon_getfileinfoinblock (PTPParams* params, uint32_t p1, uint32_t p2, uint32_t p3,
3298 #define ptp_nikon_device_ready(params) ptp_generic_no_data (params, PTP_OC_NIKON_DeviceReady, 0) argument
3299 uint16_t ptp_mtp_getobjectpropssupported (PTPParams* params, uint16_t ofc, uint32_t *propnum, uint1…
3303 uint16_t ptp_android_getpartialobject64 (PTPParams* params, uint32_t handle, uint64_t offset,
3306 #define ptp_android_begineditobject(params,handle) ptp_generic_no_data (params, PTP_OC_ANDROID_Begi… argument
3307 #define ptp_android_truncate(params,handle,offset) ptp_generic_no_data (params, PTP_OC_ANDROID_Trun… argument
3308 uint16_t ptp_android_sendpartialobject (PTPParams *params, uint32_t handle,
3310 #define ptp_android_endeditobject(params,handle) ptp_generic_no_data (params, PTP_OC_ANDROID_EndEdi… argument
3313 #define ptp_olympus_setcameracontrolmode(params,p1) ptp_generic_no_data (params, PTP_OC_OLYMPUS_Set… argument
3315 #define ptp_olympus_capture(params,p1) ptp_generic_no_data (params, PTP_OC_OLYMPUS_Capture, 1, p1) argument
3320 ptp_operation_issupported(PTPParams* params, uint16_t operation) in ptp_operation_issupported() argument
3324 for (;i<params->deviceinfo.OperationsSupported_len;i++) { in ptp_operation_issupported()
3325 if (params->deviceinfo.OperationsSupported[i]==operation) in ptp_operation_issupported()
3331 int ptp_event_issupported (PTPParams* params, uint16_t event);
3332 int ptp_property_issupported (PTPParams* params, uint16_t property);
3334 void ptp_free_params (PTPParams *params);
3342 void ptp_debug (PTPParams *params, const char *format, ...);
3343 void ptp_error (PTPParams *params, const char *format, ...);
3346 const char* ptp_get_property_description(PTPParams* params, uint16_t dpc);
3348 const char* ptp_get_opcode_name(PTPParams* params, uint16_t opcode);
3351 ptp_render_property_value(PTPParams* params, uint16_t dpc,
3353 int ptp_render_ofc(PTPParams* params, uint16_t ofc, int spaceleft, char *txt);
3358 MTPProperties *ptp_find_object_prop_in_cache(PTPParams *params, uint32_t const handle, uint32_t con…
3359 uint16_t ptp_remove_object_from_cache(PTPParams *params, uint32_t handle);
3360 uint16_t ptp_add_object_to_cache(PTPParams *params, uint32_t handle);
3363 uint16_t ptp_object_find (PTPParams *params, uint32_t handle, PTPObject **retob);
3364 uint16_t ptp_object_find_or_insert (PTPParams *params, uint32_t handle, PTPObject **retob);
3381 #define ptp_chdk_switch_mode(params,mode) ptp_generic_no_data(params,PTP_OC_CHDK,2,PTP_CHDK_SwitchM… argument
3410 uint16_t ptp_chdk_get_memory(PTPParams* params, int start, int num, unsigned char **);
3411 uint16_t ptp_chdk_set_memory_long(PTPParams* params, int addr, int val);
3412 int ptp_chdk_upload(PTPParams* params, char *local_fn, char *remote_fn);
3413 uint16_t ptp_chdk_download(PTPParams* params, char *remote_fn, PTPDataHandler *handler);
3416 uint16_t ptp_chdk_rcisready(PTPParams* params, int *isready,int *imgnum);
3417 uint16_t ptp_chdk_rcgetchunk(PTPParams* params,int fmt, ptp_chdk_rc_chunk *chunk);
3419 uint16_t ptp_chdk_exec_lua(PTPParams* params, char *script, int flags, int *script_id,int *status);
3420 uint16_t ptp_chdk_get_version(PTPParams* params, int *major, int *minor);
3421 uint16_t ptp_chdk_get_script_support(PTPParams* params, unsigned *status);
3422 uint16_t ptp_chdk_get_script_status(PTPParams* params, unsigned *status);
3423 uint16_t ptp_chdk_write_script_msg(PTPParams* params, char *data, unsigned size, int target_script_…
3424 uint16_t ptp_chdk_read_script_msg(PTPParams* params, ptp_chdk_script_msg **msg);
3425 uint16_t ptp_chdk_get_live_data(PTPParams* params, unsigned flags, unsigned char **data, unsigned i…
3426 uint16_t ptp_chdk_call_function(PTPParams* params, int *args, int size, int *ret);