23 lines
632 B
C
23 lines
632 B
C
#ifndef __DISPLAY_H
|
|
#define __DISPLAY_H
|
|
|
|
#include <stdbool.h>
|
|
#include "main.h"
|
|
#include "arguments.h"
|
|
|
|
void display_type( entry_type_t type, bool no_colour );
|
|
void display_permissions( const char* const permissions, bool no_colour );
|
|
void display_size( const directory_entry_t* const entry, bool no_colour );
|
|
void display_user( const directory_entry_t* const entry, bool no_colour );
|
|
void display_time( time_t time, bool no_colour );
|
|
void display_entry(
|
|
const directory_entry_t* const entry,
|
|
const arguments_t* const args
|
|
);
|
|
void display_link_target(
|
|
const directory_entry_t* const entry,
|
|
bool no_colour
|
|
);
|
|
|
|
#endif
|