VirtualBox

Changeset 32568 in vbox for trunk/include


Ignore:
Timestamp:
Sep 16, 2010 3:26:13 PM (14 years ago)
Author:
vboxsync
Message:

OVA: parse ovf in memory on ova import (no need for a temporary ovf anymore)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/sha.h

    r30079 r32568  
    114114
    115115/**
     116 * Creates a SHA1 digest for the given memory buffer.
     117 *
     118 * @returns iprt status code.
     119 *
     120 * @param   pvBuf                 Memory buffer to create a SHA1 digest for.
     121 * @param   cbBuf                 The amount of data (in bytes).
     122 * @param   ppszDigest            On success the SHA1 digest.
     123 * @param   pfnProgressCallback   optional callback for the progress indication
     124 * @param   pvUser                user defined pointer for the callback
     125 */
     126RTR3DECL(int) RTSha1Digest(void* pvBuf, size_t cbBuf, char **ppszDigest, FNRTPROGRESS pfnProgressCallback, void *pvUser);
     127
     128/**
    116129 * Creates a SHA1 digest for the given file.
    117130 *
     
    123136 * @param   pvUser                user defined pointer for the callback
    124137 */
    125 RTR3DECL(int) RTSha1Digest(const char *pszFile, char **ppszDigest, FNRTPROGRESS pfnProgressCallback, void *pvUser);
    126 
     138RTR3DECL(int) RTSha1DigestFromFile(const char *pszFile, char **ppszDigest, FNRTPROGRESS pfnProgressCallback, void *pvUser);
    127139
    128140
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette