Lines Matching refs:PTPParams

1844 typedef struct _PTPParams PTPParams;  typedef
1847 typedef uint16_t (* PTPDataGetFunc) (PTPParams* params, void*priv,
1851 typedef uint16_t (* PTPDataPutFunc) (PTPParams* params, void*priv,
1864 typedef uint16_t (* PTPIOSendReq) (PTPParams* params, PTPContainer* req);
1865 typedef uint16_t (* PTPIOSendData) (PTPParams* params, PTPContainer* ptp,
1868 typedef uint16_t (* PTPIOGetResp) (PTPParams* params, PTPContainer* resp);
1869 typedef uint16_t (* PTPIOGetData) (PTPParams* params, PTPContainer* ptp,
1871 typedef uint16_t (* PTPIOCancelReq) (PTPParams* params, uint32_t transaction_id);
1979 uint16_t ptp_usb_sendreq (PTPParams* params, PTPContainer* req);
1980 uint16_t ptp_usb_senddata (PTPParams* params, PTPContainer* ptp,
1982 uint16_t ptp_usb_getresp (PTPParams* params, PTPContainer* resp);
1983 uint16_t ptp_usb_getdata (PTPParams* params, PTPContainer* ptp,
1985 uint16_t ptp_usb_event_check (PTPParams* params, PTPContainer* event);
1986 uint16_t ptp_usb_event_wait (PTPParams* params, PTPContainer* event);
1988 uint16_t ptp_usb_control_get_extended_event_data (PTPParams *params, char *buffer, int *size);
1989 uint16_t ptp_usb_control_device_reset_request (PTPParams *params);
1990 uint16_t ptp_usb_control_get_device_status (PTPParams *params, char *buffer, int *size);
1991 uint16_t ptp_usb_control_cancel_request (PTPParams *params, uint32_t transid);
1994 int ptp_ptpip_connect (PTPParams* params, const char *port);
1995 uint16_t ptp_ptpip_sendreq (PTPParams* params, PTPContainer* req);
1996 uint16_t ptp_ptpip_senddata (PTPParams* params, PTPContainer* ptp,
1998 uint16_t ptp_ptpip_getresp (PTPParams* params, PTPContainer* resp);
1999 uint16_t ptp_ptpip_getdata (PTPParams* params, PTPContainer* ptp,
2001 uint16_t ptp_ptpip_event_wait (PTPParams* params, PTPContainer* event);
2002 uint16_t ptp_ptpip_event_check (PTPParams* params, PTPContainer* event);
2004 uint16_t ptp_getdeviceinfo (PTPParams* params, PTPDeviceInfo* deviceinfo);
2006 uint16_t ptp_generic_no_data (PTPParams* params, uint16_t opcode, unsigned int cnt, ...);
2008 uint16_t ptp_opensession (PTPParams *params, uint32_t session);
2030 uint16_t ptp_getstorageids (PTPParams* params, PTPStorageIDs* storageids);
2031 uint16_t ptp_getstorageinfo (PTPParams* params, uint32_t storageid,
2044 uint16_t ptp_getobjecthandles (PTPParams* params, uint32_t storage,
2049 uint16_t ptp_getnumobjects (PTPParams* params, uint32_t storage,
2054 uint16_t ptp_getobjectinfo (PTPParams *params, uint32_t handle,
2057 uint16_t ptp_getobject (PTPParams *params, uint32_t handle,
2059 uint16_t ptp_getobject_tofd (PTPParams* params, uint32_t handle, int fd);
2060 uint16_t ptp_getobject_to_handler (PTPParams* params, uint32_t handle, PTPDataHandler*);
2061 uint16_t ptp_getpartialobject (PTPParams* params, uint32_t handle, uint32_t offset,
2063 uint16_t ptp_getthumb (PTPParams *params, uint32_t handle,
2066 uint16_t ptp_deleteobject (PTPParams* params, uint32_t handle,
2069 uint16_t ptp_sendobjectinfo (PTPParams* params, uint32_t* store,
2083 uint16_t ptp_sendobject (PTPParams* params, unsigned char* object,
2085 uint16_t ptp_sendobject_fromfd (PTPParams* params, int fd, uint32_t size);
2086 uint16_t ptp_sendobject_from_handler (PTPParams* params, PTPDataHandler*, uint32_t size);
2103 uint16_t ptp_getdevicepropdesc (PTPParams* params, uint16_t propcode,
2105 uint16_t ptp_getdevicepropvalue (PTPParams* params, uint16_t propcode,
2107 uint16_t ptp_setdevicepropvalue (PTPParams* params, uint16_t propcode,
2111 uint16_t ptp_check_event (PTPParams *params);
2112 int ptp_get_one_event (PTPParams *params, PTPContainer *evt);
2115 uint16_t ptp_mtp_getobjectpropdesc (PTPParams* params, uint16_t opc, uint16_t ofc,
2117 uint16_t ptp_mtp_getobjectpropvalue (PTPParams* params, uint32_t oid, uint16_t opc,
2119 uint16_t ptp_mtp_setobjectpropvalue (PTPParams* params, uint32_t oid, uint16_t opc,
2121 uint16_t ptp_mtp_getobjectreferences (PTPParams* params, uint32_t handle, uint32_t** ohArray, uint3…
2122 uint16_t ptp_mtp_setobjectreferences (PTPParams* params, uint32_t handle, uint32_t* ohArray, uint32…
2123 uint16_t ptp_mtp_getobjectproplist (PTPParams* params, uint32_t handle, MTPProperties **props, int …
2124 uint16_t ptp_mtp_sendobjectproplist (PTPParams* params, uint32_t* store, uint32_t* parenthandle, ui…
2126 uint16_t ptp_mtp_setobjectproplist (PTPParams* params, MTPProperties *props, int nrofprops);
2129 uint16_t ptp_ek_9007 (PTPParams* params, unsigned char **serial, unsigned int *size);
2130 uint16_t ptp_ek_9009 (PTPParams* params, uint32_t*, uint32_t*);
2131 uint16_t ptp_ek_900c (PTPParams* params, unsigned char **serial, unsigned int *size);
2132 uint16_t ptp_ek_getserial (PTPParams* params, unsigned char **serial, unsigned int *size);
2133 uint16_t ptp_ek_setserial (PTPParams* params, unsigned char *serial, unsigned int size);
2134 uint16_t ptp_ek_settext (PTPParams* params, PTPEKTextParams *text);
2135 uint16_t ptp_ek_sendfileobjectinfo (PTPParams* params, uint32_t* store,
2138 uint16_t ptp_ek_sendfileobject (PTPParams* params, unsigned char* object,
2140 uint16_t ptp_ek_sendfileobject_from_handler (PTPParams* params, PTPDataHandler*,
2145 uint16_t ptp_canon_gettreeinfo (PTPParams* params, uint32_t* out);
2146 uint16_t ptp_canon_gettreesize (PTPParams* params, PTPCanon_directtransfer_entry**, unsigned int*cn…
2147 uint16_t ptp_canon_getpartialobjectinfo (PTPParams* params, uint32_t handle,
2150 uint16_t ptp_canon_get_mac_address (PTPParams* params, unsigned char **mac);
2219 uint16_t ptp_canon_checkevent (PTPParams* params,
2311 uint16_t ptp_canon_eos_getevent (PTPParams* params, PTPCanon_changes_entry **entries, int *nrofentr…
2312 uint16_t ptp_canon_getpartialobject (PTPParams* params, uint32_t handle,
2316 uint16_t ptp_canon_getviewfinderimage (PTPParams* params, unsigned char** image,
2318 uint16_t ptp_canon_getchanges (PTPParams* params, uint16_t** props,
2320 uint16_t ptp_canon_getobjectinfo (PTPParams* params, uint32_t store,
2325 uint16_t ptp_canon_eos_getdeviceinfo (PTPParams* params, PTPCanonEOSDeviceInfo*di);
2370 uint16_t ptp_canon_eos_get_viewfinder_image (PTPParams* params, unsigned char **data, unsigned int …
2371 uint16_t ptp_canon_get_objecthandle_by_name (PTPParams* params, char* name, uint32_t* objectid);
2372 uint16_t ptp_canon_get_directory (PTPParams* params, PTPObjectHandles *handles, PTPObjectInfo **oin…
2384 uint16_t ptp_canon_get_customize_data (PTPParams* params, uint32_t themenr,
2386 uint16_t ptp_canon_getpairinginfo (PTPParams* params, uint32_t nr, unsigned char**, unsigned int*);
2388 uint16_t ptp_canon_eos_getstorageids (PTPParams* params, PTPStorageIDs* storageids);
2389 uint16_t ptp_canon_eos_getstorageinfo (PTPParams* params, uint32_t p1);
2390 uint16_t ptp_canon_eos_getpartialobject (PTPParams* params, uint32_t oid, uint32_t off, uint32_t xs…
2391 uint16_t ptp_canon_eos_setdevicepropvalueex (PTPParams* params, unsigned char* data, unsigned int s…
2410 uint16_t ptp_canon_eos_getdevicepropdesc (PTPParams* params, uint16_t propcode,
2412 uint16_t ptp_canon_eos_setdevicepropvalue (PTPParams* params, uint16_t propcode,
2414 uint16_t ptp_nikon_get_vendorpropcodes (PTPParams* params, uint16_t **props, unsigned int *size);
2415 uint16_t ptp_nikon_curve_download (PTPParams* params,
2417 uint16_t ptp_nikon_getptpipinfo (PTPParams* params, unsigned char **data, unsigned int *size);
2418 uint16_t ptp_nikon_getwifiprofilelist (PTPParams* params);
2419 uint16_t ptp_nikon_writewifiprofile (PTPParams* params, PTPNIKONWifiProfile* profile);
2502 uint16_t ptp_nikon_get_liveview_image (PTPParams* params, unsigned char**,unsigned int*);
2503 uint16_t ptp_nikon_get_preview_image (PTPParams* params, unsigned char**, unsigned int*, uint32_t*);
2515 uint16_t ptp_nikon_check_event (PTPParams* params, PTPContainer **evt, int *evtcnt);
2516 uint16_t ptp_nikon_getfileinfoinblock (PTPParams* params, uint32_t p1, uint32_t p2, uint32_t p3,
2530 uint16_t ptp_mtp_getobjectpropssupported (PTPParams* params, uint16_t ofc, uint32_t *propnum, uint1…
2533 int ptp_operation_issupported (PTPParams* params, uint16_t operation);
2534 int ptp_event_issupported (PTPParams* params, uint16_t event);
2535 int ptp_property_issupported (PTPParams* params, uint16_t property);
2540 void ptp_free_params (PTPParams *params);
2544 void ptp_perror (PTPParams* params, uint16_t error);
2547 ptp_get_property_description(PTPParams* params, uint16_t dpc);
2550 ptp_render_property_value(PTPParams* params, uint16_t dpc,
2552 int ptp_render_ofc(PTPParams* params, uint16_t ofc, int spaceleft, char *txt);
2553 int ptp_render_opcode(PTPParams* params, uint16_t opcode, int spaceleft, char *txt);
2558 MTPProperties *ptp_find_object_prop_in_cache(PTPParams *params, uint32_t const handle, uint32_t con…
2559 void ptp_remove_object_from_cache(PTPParams *params, uint32_t handle);
2560 uint16_t ptp_add_object_to_cache(PTPParams *params, uint32_t handle);
2561 uint16_t ptp_object_want (PTPParams *, uint32_t handle, int want, PTPObject**retob);
2562 void ptp_objects_sort (PTPParams *);
2563 uint16_t ptp_object_find (PTPParams *params, uint32_t handle, PTPObject **retob);
2564 uint16_t ptp_object_find_or_insert (PTPParams *params, uint32_t handle, PTPObject **retob);