fdupes  2.1.2
About: FDUPES finds duplicate files in a given set of directories.
  Fossies Dox: fdupes-2.1.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

commandidentifier.c File Reference
#include <stdlib.h>
#include "commandidentifier.h"
Include dependency graph for commandidentifier.c:

Go to the source code of this file.

Functions

int insert_command_identifier_command (struct command_identifier_node *tree, struct command_map *command, size_t ch)
 
int compare_command_identifier_nodes (const void *a, const void *b)
 
void sort_command_identifier_nodes (struct command_identifier_node *root)
 
struct command_identifier_nodebuild_command_identifier_tree (struct command_map *commands)
 
void free_command_identifier_tree (struct command_identifier_node *tree)
 
struct command_identifier_nodefind_command_identifier_node (struct command_identifier_node *root, wchar_t character)
 
int identify_command (struct command_identifier_node *tree, wchar_t *command_buffer, size_t ch)
 

Function Documentation

◆ build_command_identifier_tree()

◆ compare_command_identifier_nodes()

int compare_command_identifier_nodes ( const void *  a,
const void *  b 
)

Definition at line 83 of file commandidentifier.c.

References command_identifier_node::character.

Referenced by sort_command_identifier_nodes().

◆ find_command_identifier_node()

struct command_identifier_node* find_command_identifier_node ( struct command_identifier_node root,
wchar_t  character 
)

◆ free_command_identifier_tree()

◆ identify_command()

int identify_command ( struct command_identifier_node tree,
wchar_t *  command_buffer,
size_t  ch 
)

◆ insert_command_identifier_command()

◆ sort_command_identifier_nodes()

void sort_command_identifier_nodes ( struct command_identifier_node root)