camcontrol.h (525689f1021dc672005bcc605d4f36ea986fbe23) camcontrol.h (c60e19a83b862d27963ab1c3f037191d12ff6502)
1/*
2 * Copyright (c) 1998 Kenneth D. Merry.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/*
2 * Copyright (c) 1998 Kenneth D. Merry.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $Id$
28 * $Id: camcontrol.h,v 1.1 1998/09/15 06:43:02 gibbs Exp $
29 */
30
31#ifndef _CAMCONTROL_H
32#define _CAMCONTROL_H
33/*
34 * get_hook: Structure for evaluating args in a callback.
35 */
36struct get_hook

--- 8 unchanged lines hidden (view full) ---

45 int datalen);
46void mode_select(struct cam_device *device, int save_pages, int retry_count,
47 int timeout, u_int8_t *data, int datalen);
48void mode_edit(struct cam_device *device, int page, int page_control, int dbd,
49 int edit, int retry_count, int timeout);
50char *cget(void *hook, char *name);
51int iget(void *hook, char *name);
52void arg_put(void *hook, int letter, void *arg, int count, char *name);
29 */
30
31#ifndef _CAMCONTROL_H
32#define _CAMCONTROL_H
33/*
34 * get_hook: Structure for evaluating args in a callback.
35 */
36struct get_hook

--- 8 unchanged lines hidden (view full) ---

45 int datalen);
46void mode_select(struct cam_device *device, int save_pages, int retry_count,
47 int timeout, u_int8_t *data, int datalen);
48void mode_edit(struct cam_device *device, int page, int page_control, int dbd,
49 int edit, int retry_count, int timeout);
50char *cget(void *hook, char *name);
51int iget(void *hook, char *name);
52void arg_put(void *hook, int letter, void *arg, int count, char *name);
53void usage(void);
53void usage(int verbose);
54#endif /* _CAMCONTROL_H */
54#endif /* _CAMCONTROL_H */