renamed type_definitions.h to main.h

This commit is contained in:
root committed 2026-11-10 11:27:27 +01:00
1 parent f2e3801b8a
commit b91789df39
6 files changed
+10 -7

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#ifndef __MAIN_H
#define __MAIN_H
#include <linux/limits.h>
#include <sys/stat.h>
#include <sys/types.h>
// type definitions
typedef enum {
type_directory,
type_character,
type_block,
type_regular,
type_fifo,
type_link,
type_socket,
} entry_type_t;
typedef struct {
char name[ NAME_MAX ];
char* extension;
struct stat stats;
entry_type_t type;
} directory_entry_t;
#endif