chiark / gitweb /
Merge branch 'master' of git+ssh://master.kernel.org/pub/scm/linux/hotplug/udev
[elogind.git] / extras / modem-modeswitch / option.h
1 /*
2  * Modem mode switcher
3  *
4  * Copyright (C) 2008  Dan Williams <dcbw@redhat.com>
5  * Copyright (C) 2008  Peter Henn <support@option.com>
6  *
7  * Heavily based on the 'ozerocdoff' tool by Peter Henn.
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details:
18  */
19
20 #ifndef __OPTION_H__
21 #define __OPTION_H__
22
23 #include <usb.h>
24
25 struct usb_device *option_zerocd_find (int vid, int pid);
26
27 int option_zerocd_switch (struct usb_dev_handle *dh, struct usb_device *dev);
28
29 #endif  /* __OPTION_H__ */