00001
00007 #ifndef INC_NAMES_H
00008 #define INC_NAMES_H
00009
00010 #include <stdbool.h>
00011 #include <stdint.h>
00012 #include <stdlib.h>
00013
00018 bool names_init();
00019
00025 const char *names_select_longname(const char *shortname);
00026
00034 bool names_generate_shortname(const char *longname, char *shortname, const size_t shortname_size);
00035
00040 bool names_save();
00041
00046 void names_insert(const char *filename);
00047
00053 bool names_delete(const char *filename);
00054
00058 void names_print();
00059
00063 void names_free();
00064
00072 bool names_select_shortname(const char *filename, char *shortname, const size_t shortname_size);
00073
00074 #endif