1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Changeset 452 for trunk/sm5/atacmds.h

Show
Ignore:
Timestamp:
01/17/03 12:20:24 (10 years ago)
Author:
ballen4705
Message:

Code Janitor work. Moving general-purpose code into utility.[hc].

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/sm5/atacmds.h

    r451 r452  
    2727 
    2828#ifndef ATACMDS_H_CVSID 
    29 #define ATACMDS_H_CVSID "$Id: atacmds.h,v 1.32 2003/01/16 15:51:09 ballen4705 Exp $\n" 
     29#define ATACMDS_H_CVSID "$Id: atacmds.h,v 1.33 2003/01/17 12:20:24 ballen4705 Exp $\n" 
    3030#endif 
    3131 
     
    346346void ataPrintSmartAttribName(char *output, unsigned char id, unsigned char *defs); 
    347347 
    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  
    356348// This checks the n'th attribute in the attribute list, NOT the 
    357349// attribute with id==n.  If the attribute does not exist, or the 
     
    364356                      int n); 
    365357 
    366  
    367358// External handler function, for when a checksum is not correct.  Can 
    368359// simply return if no action is desired, or can print error messages