Lines Matching refs:PTPParams
2372 typedef struct _PTPParams PTPParams; typedef
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,
2629 uint16_t ptp_getstorageids (PTPParams* params, PTPStorageIDs* storageids);
2630 uint16_t ptp_getstorageinfo (PTPParams* params, uint32_t storageid,
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,
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);
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);
2753 uint16_t ptp_mtpz_sendwmdrmpdapprequest (PTPParams*, unsigned char *, uint32_t);
2755 uint16_t ptp_mtpz_getwmdrmpdappresponse (PTPParams*, unsigned char **, uint32_t*);
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*,
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);
2851 uint16_t ptp_canon_checkevent (PTPParams* params,
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);
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…
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…
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);
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*);
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,
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,
3308 uint16_t ptp_android_sendpartialobject (PTPParams *params, uint32_t handle,
3312 uint16_t ptp_olympus_getdeviceinfo (PTPParams*, PTPDeviceInfo*);
3314 uint16_t ptp_olympus_opensession (PTPParams*, unsigned char**, unsigned int *);
3316 uint16_t ptp_olympus_getcameraid (PTPParams*, unsigned char**, unsigned int *);
3320 ptp_operation_issupported(PTPParams* params, uint16_t 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);
3361 uint16_t ptp_object_want (PTPParams *, uint32_t handle, unsigned int want, PTPObject**retob);
3362 void ptp_objects_sort (PTPParams *);
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);
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);