Lines Matching refs:params

97 		} params;  member
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);
2018 #define ptp_closesession(params) ptp_generic_no_data(params,PTP_OC_CloseSession,0) argument
2028 #define ptp_resetdevice(params) ptp_generic_no_data(params,PTP_OC_ResetDevice,0) argument
2030 uint16_t ptp_getstorageids (PTPParams* params, PTPStorageIDs* storageids);
2031 uint16_t ptp_getstorageinfo (PTPParams* params, uint32_t storageid,
2042 #define ptp_formatstore(params,storageid) ptp_generic_no_data(params,PTP_OC_FormatStore,1,storageid) argument
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,
2082 #define ptp_setobjectprotection(params,oid,newprot) ptp_generic_no_data(params,PTP_OC_SetObjectProt… argument
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);
2101 #define ptp_initiatecapture(params,storageid,ofc) ptp_generic_no_data(params,PTP_OC_InitiateCapture… argument
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*,
2144 #define ptp_canon_9012(params) ptp_generic_no_data(params,0x9012,0) argument
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);
2163 #define ptp_canon_startshootingmode(params) ptp_generic_no_data(params,PTP_OC_CANON_InitiateRelease… argument
2177 #define ptp_canon_endshootingmode(params) ptp_generic_no_data(params,PTP_OC_CANON_TerminateReleaseC… argument
2189 #define ptp_canon_viewfinderon(params) ptp_generic_no_data(params,PTP_OC_CANON_ViewfinderOn,0) argument
2202 #define ptp_canon_viewfinderoff(params) ptp_generic_no_data(params,PTP_OC_CANON_ViewfinderOff,0) argument
2218 #define ptp_canon_reset_aeafawb(params,flags) ptp_generic_no_data(params,PTP_OC_CANON_DoAeAfAwb,1,f… argument
2219 uint16_t ptp_canon_checkevent (PTPParams* params,
2233 #define ptp_canon_focuslock(params) ptp_generic_no_data(params,PTP_OC_CANON_FocusLock,0) argument
2246 #define ptp_canon_focusunlock(params) ptp_generic_no_data(params,PTP_OC_CANON_FocusUnlock,0) argument
2257 #define ptp_canon_keepdeviceon(params) ptp_generic_no_data(params,PTP_OC_CANON_KeepDeviceOn,0) argument
2268 #define ptp_canon_eos_keepdeviceon(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_KeepDeviceOn… argument
2286 #define ptp_canon_initiatecaptureinmemory(params) ptp_generic_no_data(params,PTP_OC_CANON_InitiateC… argument
2297 #define ptp_canon_eos_requestdevicepropvalue(params,prop) ptp_generic_no_data(params,PTP_OC_CANON_E… argument
2310 #define ptp_canon_eos_capture(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_RemoteRelease,0) argument
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);
2336 #define ptp_canon_eos_setuilock(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_SetUILock,0) argument
2347 #define ptp_canon_eos_resetuilock(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_ResetUILock,0) argument
2358 #define ptp_canon_eos_start_viewfinder(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_Initiate… argument
2369 #define ptp_canon_eos_end_viewfinder(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_TerminateV… argument
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…
2383 #define ptp_canon_setobjectarchive(params,oid,flags) ptp_generic_no_data(params,PTP_OC_CANON_SetObj… argument
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…
2392 #define ptp_canon_eos_setremotemode(params,p1) ptp_generic_no_data(params,PTP_OC_CANON_EOS_SetRemot… argument
2393 #define ptp_canon_eos_seteventmode(params,p1) ptp_generic_no_data(params,PTP_OC_CANON_EOS_SetEventM… argument
2405 #define ptp_canon_eos_transfercomplete(params,oid) ptp_generic_no_data(params,PTP_OC_CANON_EOS_Tran… argument
2407 #define ptp_canon_eos_pchddcapacity(params,p1,p2,p3) ptp_generic_no_data(params,PTP_OC_CANON_EOS_PC… argument
2408 #define ptp_canon_eos_bulbstart(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_BulbStart,1) argument
2409 #define ptp_canon_eos_bulbend(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_BulbEnd,1) argument
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);
2431 #define ptp_nikon_deletewifiprofile(params,profilenr) ptp_generic_no_data(params,PTP_OC_NIKON_Delet… argument
2443 #define ptp_nikon_setcontrolmode(params,mode) ptp_generic_no_data(params,PTP_OC_NIKON_SetControlMod… argument
2454 #define ptp_nikon_afdrive(params) ptp_generic_no_data(params,PTP_OC_NIKON_AfDrive,0) argument
2467 #define ptp_nikon_mfdrive(params,flag,amount) ptp_generic_no_data(params,PTP_OC_NIKON_MfDrive,2,fla… argument
2479 #define ptp_nikon_capture(params,x) ptp_generic_no_data(params,PTP_OC_NIKON_Capture,1,x) argument
2490 #define ptp_nikon_capture_sdram(params) ptp_generic_no_data(params,PTP_OC_NIKON_AfCaptureSDRAM,0) argument
2501 #define ptp_nikon_start_liveview(params) ptp_generic_no_data(params,PTP_OC_NIKON_StartLiveView,0) argument
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*);
2514 #define ptp_nikon_end_liveview(params) ptp_generic_no_data(params,PTP_OC_NIKON_EndLiveView,0) argument
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,
2529 #define ptp_nikon_device_ready(params) ptp_generic_no_data (params, PTP_OC_NIKON_DeviceReady, 0) argument
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);
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);