refactor(tree,utilities)!: moved the PathBuffer to utilities
This commit is contained in:
parent
326a33a3f4
commit
e63fb4a0fa
4 changed files with 103 additions and 97 deletions
|
|
@ -1,26 +1,13 @@
|
|||
#ifndef TREE_H
|
||||
#define TREE_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <dirent.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <zlib.h>
|
||||
|
||||
#include "utilities.h"
|
||||
#include "hash.h"
|
||||
#include "file.h"
|
||||
|
||||
typedef List PathBuffer;
|
||||
typedef List FileInfoBuffer;
|
||||
|
||||
PathBuffer* path_buffer_new();
|
||||
void path_buffer_push(PathBuffer*, char*);
|
||||
void path_buffer_sort(PathBuffer*);
|
||||
void path_buffer_free(PathBuffer*);
|
||||
void save_tree(PathBuffer*);
|
||||
|
||||
#endif // TREE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue