summaryrefslogtreecommitdiffstats
path: root/main.h
blob: 3a4ddb6e7fac2b99170ac564452dbb01c396c1f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef MAIN_H
#define MAIN_H

#include <stdbool.h>
//function prototypes
char *base64Encode(unsigned char *input, int size);
int base64Decode(unsigned char *string, int size);
void stdinMode(char *buffer, int wrap, bool decode, char argv[]);

#define DEFAULT_SIZE 4096 //the default size to make the buffer for input
#define WRAP_CHAR 76 //default wrapping is 76 characters

#endif