checker.cpp File Reference

#include <basis/function.h>
#include <basis/istring.h>
#include <basis/utility.h>
#include <data_struct/static_memory_gremlin.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

Include dependency graph for checker.cpp:

Go to the source code of this file.

Defines

#define HIGHEST_CHECK   32714

Functions

void print_instructions_and_exit (char *program_name)
int do_checksum (char *file_name, int open_as_a_text_file)
int do_fletcher_checksum (char *file_name, int open_as_a_text_file)
int main (int argc, char *argv[])

Variables

const int buffer_size = 4096
 HOOPLE_STARTUP_CODE


Define Documentation

#define HIGHEST_CHECK   32714

Definition at line 54 of file checker.cpp.

Referenced by do_checksum().


Function Documentation

int do_checksum ( char *  file_name,
int  open_as_a_text_file 
)

Definition at line 59 of file checker.cpp.

References utility::bizarre_checksum(), buffer_size, HIGHEST_CHECK, LOG, and common::NOT_FOUND.

Referenced by main().

int do_fletcher_checksum ( char *  file_name,
int  open_as_a_text_file 
)

Definition at line 98 of file checker.cpp.

References buffer_size, LOG, common::NOT_FOUND, and utility::rolling_fletcher_checksum().

Referenced by main().

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

Definition at line 134 of file checker.cpp.

References do_checksum(), do_fletcher_checksum(), and print_instructions_and_exit().

void print_instructions_and_exit ( char *  program_name  ) 

Definition at line 35 of file checker.cpp.


Variable Documentation

const int buffer_size = 4096

Definition at line 28 of file checker.cpp.

Referenced by do_checksum(), do_fletcher_checksum(), and ini_configurator::get_section().

HOOPLE_STARTUP_CODE

Definition at line 30 of file checker.cpp.


Generated on Fri Oct 10 04:29:08 2008 for HOOPLE Libraries by  doxygen 1.5.1