-
Notifications
You must be signed in to change notification settings - Fork 1
/
info.h
29 lines (24 loc) · 787 Bytes
/
info.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**************************************************
* Hexdump for Windows
*-------------------------------------------------
*
* Command line tool inspired by Linux tool
* hexdump - stripped to bare hexadecimal dump
* of given file with option to limit dump length
*
* File: info.h
*
*-------------------------------------------------
* Made by Marek Poláèek (Polda18)
**************************************************/
#pragma once
#ifndef __INFO_H__
#define __INFO_H__
// Defined constants
#define MAX_MSG 200 // Maximum length of an error message
#define VERSION "0.1 ALPHA" // Version
void print_help(void);
void print_error(char* msg);
void print_file_error(char* msg);
void print_error_memory(char* msg);
#endif