~ubuntu-branches/ubuntu/oneiric/sg3-utils/oneiric

« back to all changes in this revision

Viewing changes to include/sg_io_linux.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2009-11-05 20:42:13 UTC
  • mfrom: (5.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091105204213-ug7wrb6m7l9kmvyg
Tags: 1.28-2
* QA upload.
* Add libsgutils2-2.symbols.kfreebsd. Some of the symbols are Linux
  specific causing FTBFS on kfreebsd.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#define SG_IO_LINUX_H
3
3
 
4
4
/*
5
 
 * Copyright (c) 2004-2005 Douglas Gilbert.
 
5
 * Copyright (c) 2004-2009 Douglas Gilbert.
6
6
 * All rights reserved.
7
7
 *
8
8
 * Redistribution and use in source and binary forms, with or without
31
31
 */
32
32
 
33
33
/*
34
 
 * Version 1.02 [20070121]
 
34
 * Version 1.02 [20090708]
35
35
 */
36
36
 
37
37
/*
142
142
 
143
143
/* sg_chk_n_print() returns 1 quietly if there are no errors/warnings
144
144
   else it prints errors/warnings (prefixed by 'leadin') to
145
 
   'sg_warnings_fd' and returns 0. */
 
145
   'sg_warnings_fd' and returns 0. raw_sinfo indicates whether the
 
146
   raw sense buffer (in ASCII hex) should be printed. */
146
147
extern int sg_chk_n_print(const char * leadin, int masked_status,
147
148
                          int host_status, int driver_status,
148
149
                          const unsigned char * sense_buffer, int sb_len,