Changeset 452 for trunk/sm5/atacmds.h
- Timestamp:
- 01/17/03 12:20:24 (10 years ago)
- Files:
-
- 1 modified
-
trunk/sm5/atacmds.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sm5/atacmds.h
r451 r452 27 27 28 28 #ifndef ATACMDS_H_CVSID 29 #define ATACMDS_H_CVSID "$Id: atacmds.h,v 1.3 2 2003/01/16 15:51:09ballen4705 Exp $\n"29 #define ATACMDS_H_CVSID "$Id: atacmds.h,v 1.33 2003/01/17 12:20:24 ballen4705 Exp $\n" 30 30 #endif 31 31 … … 346 346 void ataPrintSmartAttribName(char *output, unsigned char id, unsigned char *defs); 347 347 348 // like printf() except that we can control it better....349 void pout(char *fmt, ...)350 __attribute__ ((format (printf, 1, 2)));351 352 // replacement for perror() with redirected output.353 void syserror(const char *message);354 355 356 348 // This checks the n'th attribute in the attribute list, NOT the 357 349 // attribute with id==n. If the attribute does not exist, or the … … 364 356 int n); 365 357 366 367 358 // External handler function, for when a checksum is not correct. Can 368 359 // simply return if no action is desired, or can print error messages