-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutils.h
More file actions
27 lines (23 loc) · 669 Bytes
/
utils.h
File metadata and controls
27 lines (23 loc) · 669 Bytes
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
#ifndef BASE64_UTILS_H /* Include guard */
#define BASE64_UTILS_H
//Function declarations
#ifdef _WIN32
char ch = 0, slash = '\\';
#elif __unix__
char ch = 10, slash = '/';
#endif
int insert(char*data, int index, int element, int uSize, int tSize);
int delete(char*data, int index, int len);
void reverse(char*str);
int power(int base, int exp);
int Strlen(const char* string);
char* decToBin(int dec);
int binToDec(char* bin);
int charValidate(char ch);
int base64Validate(char b64ed);
int retbuf(char* file_name);
int fcheck(const char * filename);
char* retrieve(char*file);
char *basename(char const *path, char slash);
void delspace(char* s);
#endif