camcontrol.h (8fa0b743820f61c661ba5f3ea0e3be0dc137910e) | camcontrol.h (3ff78f821849dc402ff146f1cc7b34757b1810d0) |
---|---|
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 --- 27 unchanged lines hidden (view full) --- 36struct get_hook 37{ 38 int argc; 39 char **argv; 40 int got; 41}; 42 43int fwdownload(struct cam_device *device, int argc, char **argv, | 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 --- 27 unchanged lines hidden (view full) --- 36struct get_hook 37{ 38 int argc; 39 char **argv; 40 int got; 41}; 42 43int fwdownload(struct cam_device *device, int argc, char **argv, |
44 char *combinedopt, int verbose, int retry_count, int timeout); | 44 char *combinedopt, int verbose, int retry_count, int timeout, 45 const char */*type*/); |
45void mode_sense(struct cam_device *device, int mode_page, int page_control, 46 int dbd, int retry_count, int timeout, u_int8_t *data, 47 int datalen); 48void mode_select(struct cam_device *device, int save_pages, int retry_count, 49 int timeout, u_int8_t *data, int datalen); 50void mode_edit(struct cam_device *device, int page, int page_control, int dbd, 51 int edit, int binary, int retry_count, int timeout); 52void mode_list(struct cam_device *device, int page_control, int dbd, 53 int retry_count, int timeout); 54int scsidoinquiry(struct cam_device *device, int argc, char **argv, 55 char *combinedopt, int retry_count, int timeout); 56char *cget(void *hook, char *name); 57int iget(void *hook, char *name); 58void arg_put(void *hook, int letter, void *arg, int count, char *name); 59int get_confirmation(void); 60void usage(int verbose); 61#endif /* _CAMCONTROL_H */ | 46void mode_sense(struct cam_device *device, int mode_page, int page_control, 47 int dbd, int retry_count, int timeout, u_int8_t *data, 48 int datalen); 49void mode_select(struct cam_device *device, int save_pages, int retry_count, 50 int timeout, u_int8_t *data, int datalen); 51void mode_edit(struct cam_device *device, int page, int page_control, int dbd, 52 int edit, int binary, int retry_count, int timeout); 53void mode_list(struct cam_device *device, int page_control, int dbd, 54 int retry_count, int timeout); 55int scsidoinquiry(struct cam_device *device, int argc, char **argv, 56 char *combinedopt, int retry_count, int timeout); 57char *cget(void *hook, char *name); 58int iget(void *hook, char *name); 59void arg_put(void *hook, int letter, void *arg, int count, char *name); 60int get_confirmation(void); 61void usage(int verbose); 62#endif /* _CAMCONTROL_H */ |