*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> cr_verify (3)              
Title
Content
Arch
Section
 

Contents


 cr_verify(3)                                                   cr_verify(3)




 NAME    [Toc]    [Back]
      cr_verify - verify integrity of crash dump

 SYNOPSIS    [Toc]    [Back]
      #include <libcrash.h>

      int cr_verify(CRASH *crash_cb, int flags);

 DESCRIPTION    [Toc]    [Back]
      cr_verify() uncompresses and verifies the sizes and checksums of every
      file in the crash dump identified by crash_cb.

      flags is a bitmask of zero or more of the following flag values:

      CR_NOCHECKSUM         cr_verify() will not attempt to verify checksums
                            of files in the crash dump if this flag is set.
                            Only sizes will be verified.

      CR_DELAYMSGS          cr_verify() will write messages to stderr during
                            time-consuming operations (decompressions and
                            checksums) if this flag is set.

      CR_ERRORMSGS          cr_verify() will write messages to stderr
                            describing any validation problems that are
                            encountered.  If this flag is set, cr_perror()
                            should not be called when cr_verify() returns;
                            repeated error messages would result.

 RETURN VALUE    [Toc]    [Back]
      Returns zero for success.  Other possible return values are described
      in libcrash(5).

 EXAMPLES    [Toc]    [Back]
      The following call to cr_verify(3) verifies the integrity of the dump.

           #include <libcrash.h>

           CRASH *crash_cb;
           int ret;

           ret = cr_verify(crash_cb, CR_DELAYMSGS | CR_ERRORMSGS);

 WARNINGS    [Toc]    [Back]
      Because it uncompresses and checksums all files in a dump, cr_verify()
      can be very time-consuming.  If CR_DELAYMSGS was not specified, the
      calling application should notify its user before calling cr_verify()
      that there may be a significant delay.

 AUTHOR    [Toc]    [Back]
      cr_verify() was developed by HP.




 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 cr_verify(3)                                                   cr_verify(3)




 SEE ALSO    [Toc]    [Back]
      cr_open(3), cr_perror(3), libcrash(5).


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
gss_verify_mic HP-UX check a cryptographic message integrity code (MIC) against a message to verify its integrity
pwck Linux verify integrity of password files
grpck Linux verify integrity of group files
TP_CrlVerify Tru64 Verify integrity of the certificate revocation list (CDSA)
CSSM_TP_CrlVerify Tru64 Verify integrity of the certificate revocation list (CDSA)
cr_read HP-UX read from crash dump
cr_info HP-UX retrieve crash dump information
cr_open HP-UX open crash dump for reading
kvm_dump OpenBSD crash dump support functions
cr_uncompress HP-UX uncompress a file in a crash dump
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service