JASSv2
Functions
hash.cpp File Reference

Compute hash values of files. More...

#include <stdio.h>
#include <stdlib.h>
#include "checksum.h"
Include dependency graph for hash.cpp:

Functions

uint8_t usage (const std::string &filename)
 Explain how to use this tool. More...
 
int main (int argc, char *argv[])
 Generate the checksum of a file. More...
 

Detailed Description

Compute hash values of files.

Author
Andrew Trotman

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Generate the checksum of a file.

Parameters
argc[in] The number of parameters (filenames) to checksum
argv[in] The list of filenames to checksum
Returns
0 on success, else failuer

◆ usage()

uint8_t usage ( const std::string &  filename)

Explain how to use this tool.

Parameters
filename[in] The path to this executable.
Returns
returns 0.