~ubuntu-branches/debian/wheezy/libnjb/wheezy

« back to all changes in this revision

Viewing changes to src/usb_io.h

  • Committer: Bazaar Package Importer
  • Author(s): Shaun Jackman
  • Date: 2004-12-26 15:21:09 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041226152109-1jp8ujo260tfmybi
Tags: 1.2-2
Synopses were incorrect (closes: #287290). 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef __NJB__USB__IO__H
2
2
#define __NJB__USB__IO__H
3
3
 
4
 
#include "../config.h"
5
 
#include <sys/types.h>
6
4
#include "libnjb.h"
7
5
 
8
6
#define USBTIMEOUT 50000
40
38
 
41
39
ssize_t usb_pipe_read (njb_t *njb, void *buf, size_t nbytes);
42
40
ssize_t usb_pipe_write (njb_t *njb, void *buf, size_t nbytes);
43
 
int usb_setup (usb_dev_handle **dev, int type, int request, int value,
 
41
int usb_setup (njb_t *njb, int type, int request, int value,
44
42
        int index, int length, void *data);
45
43
 
46
44
#endif