Skip to content
Snippets Groups Projects
Commit 34c2c736 authored by Florian Burgener's avatar Florian Burgener
Browse files

Add header in source files

parent 9df79d44
Branches
No related tags found
No related merge requests found
/**
* @file Array.c
* @author Florian Burgener (florian.burgener@etu.hesge.ch)
* @brief
* @version 1.0
* @date 2022-06-XX
*/
#include "Array.h" #include "Array.h"
#include <stdbool.h> #include <stdbool.h>
......
/**
* @file Array.h
* @author Florian Burgener (florian.burgener@etu.hesge.ch)
* @brief
* @version 1.0
* @date 2022-06-XX
*/
#ifndef ARRAY_H #ifndef ARRAY_H
#define ARRAY_H #define ARRAY_H
......
/**
* @file BPTree.c
* @author Florian Burgener (florian.burgener@etu.hesge.ch)
* @brief
* @version 1.0
* @date 2022-06-XX
*/
#include "BPTree.h" #include "BPTree.h"
#include <stdbool.h> #include <stdbool.h>
......
/**
* @file BPTree.h
* @author Florian Burgener (florian.burgener@etu.hesge.ch)
* @brief
* @version 1.0
* @date 2022-06-XX
*/
#ifndef BPTREE_H #ifndef BPTREE_H
#define BPTREE_H #define BPTREE_H
......
// CAUTION : Je devrais refactor l'implémentation avec le FILE. /**
* @file Directory.c
* @author Florian Burgener (florian.burgener@etu.hesge.ch)
* @brief
* @version 1.0
* @date 2022-06-XX
*/
#include "Directory.h" #include "Directory.h"
#include <openssl/sha.h> #include <openssl/sha.h>
...@@ -11,6 +16,7 @@ ...@@ -11,6 +16,7 @@
#include "Array.h" #include "Array.h"
#include "BPTree.h" #include "BPTree.h"
#include "DirectoryRecord.h" #include "DirectoryRecord.h"
// CAUTION : Je devrais refactor l'implémentation avec le FILE.
static uint64_t hash_string(char *str) { static uint64_t hash_string(char *str) {
SHA256_CTX sha256; SHA256_CTX sha256;
......
/**
* @file Directory.h
* @author Florian Burgener (florian.burgener@etu.hesge.ch)
* @brief
* @version 1.0
* @date 2022-06-XX
*/
#ifndef DIRECTORY_H #ifndef DIRECTORY_H
#define DIRECTORY_H #define DIRECTORY_H
......
/**
* @file DirectoryRecord.c
* @author Florian Burgener (florian.burgener@etu.hesge.ch)
* @brief
* @version 1.0
* @date 2022-06-XX
*/
#include "DirectoryRecord.h" #include "DirectoryRecord.h"
#include <stdbool.h> #include <stdbool.h>
......
/**
* @file DirectoryRecord.h
* @author Florian Burgener (florian.burgener@etu.hesge.ch)
* @brief
* @version 1.0
* @date 2022-06-XX
*/
#ifndef DIRECTORY_RECORD_H #ifndef DIRECTORY_RECORD_H
#define DIRECTORY_RECORD_H #define DIRECTORY_RECORD_H
......
/**
* @file main.c
* @author Florian Burgener (florian.burgener@etu.hesge.ch)
* @brief
* @version 1.0
* @date 2022-06-XX
*/
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @author Florian Burgener (florian.burgener@etu.hesge.ch) * @author Florian Burgener (florian.burgener@etu.hesge.ch)
* @brief Unit tests of the BPTree data structure. * @brief Unit tests of the BPTree data structure.
* @version 1.0 * @version 1.0
* @date 2022-06-07 * @date 2022-06-XX
*/ */
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment