Skip to content

Commit

Permalink
name fix: input -^> data input
Browse files Browse the repository at this point in the history
  • Loading branch information
Maslinin committed Jan 16, 2023
1 parent da88d91 commit 0134db1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif()
add_executable(FileEncryptor
src/main.c
src/macros.h
src/input.h src/input.c
src/dinput.h src/dinput.c
src/Encryptors/xorencryptor.h src/Encryptors/xorencryptor.c
src/Customs/cstmio.h src/Customs/cstmio.c
src/Customs/cstmstr.h src/Customs/cstmstr.c)
2 changes: 1 addition & 1 deletion src/input.c → src/dinput.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "input.h"
#include "dinput.h"
#include "macros.h"
#include "Customs/cstmio.h"
#include "Customs/cstmstr.h"
Expand Down
6 changes: 3 additions & 3 deletions src/input.h → src/dinput.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#ifndef _INPUT_H
#define _INPUT_H
#ifndef _DINPUT_H
#define _DINPUT_H

char* input_path(char* forPath, int pathLength, const char* fileMode);
int input_encrypt_mode(int* encMode);
int input_key_mode(int* keyMode);
char* input_key(char* forKey, int size);
int input_exit_symbol(int* ch);

#endif // _INPUT_H
#endif // _DINPUT_H
6 changes: 3 additions & 3 deletions src/macros.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _macros_H
#define _macros_H
#ifndef _MACROS_H
#define _MACROS_H

#include "Customs/cstmio.h"

Expand Down Expand Up @@ -28,4 +28,4 @@
#define INPUT_KEY_MESSAGE "Input the encryption key:\n"
#define INPUT_EXIT_SYMBOL_MESSAGE "Input a symbol: "

#endif // _macros_H
#endif // _MACROS_H
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>

#include "input.h"
#include "dinput.h"
#include "macros.h"
#include "Customs/cstmio.h"
#include "Customs/cstmstr.h"
Expand Down

0 comments on commit 0134db1

Please sign in to comment.