Lines Matching defs:priv
190 void *priv;
193 static uint16_t get_func_wrapper(PTPParams* params, void* priv, unsigned long wantlen, unsigned char *data, unsigned long *gotlen);
194 static uint16_t put_func_wrapper(PTPParams* params, void* priv, unsigned long sendlen, unsigned char *data, unsigned long *putlen);
4655 static uint16_t get_func_wrapper(PTPParams* params, void* priv, unsigned long wantlen, unsigned char *data, unsigned long *gotlen)
4657 MTPDataHandler *handler = (MTPDataHandler *)priv;
4660 ret = handler->getfunc(params, handler->priv, wantlen, data, &local_gotlen);
4679 static uint16_t put_func_wrapper(PTPParams* params, void* priv, unsigned long sendlen, unsigned char *data, unsigned long *putlen)
4681 MTPDataHandler *handler = (MTPDataHandler *)priv;
4684 ret = handler->putfunc(params, handler->priv, sendlen, data, &local_putlen);
4838 * @param priv the user-defined pointer that is passed to
4851 void * priv,
4881 mtp_handler.priv = priv;
4886 handler.priv = &mtp_handler;
4967 * @param priv the user-defined pointer that is passed to
4980 void * priv,
4985 return LIBMTP_Get_File_To_Handler(device, id, put_func, priv, callback, data);
5166 * @param priv the user-defined pointer that is passed to
5199 MTPDataGetFunc get_func, void * priv, LIBMTP_track_t * const metadata,
5224 priv,
5443 * @param priv a user-defined pointer that is passed along to
5473 MTPDataGetFunc get_func, void * priv, LIBMTP_file_t * const filedata,
5499 mtp_handler.priv = priv;
5504 handler.priv = &mtp_handler;