Classes |
struct | choicestruct |
Defines |
#define | best_string(choices) (first_node (choices) ? ((A_CHOICE*) (first_node (choices)))->string : NULL) |
#define | best_lengths(choices) (first_node (choices) ? ((A_CHOICE*) (first_node (choices)))->lengths : NULL) |
#define | best_rating(choices) (((A_CHOICE*) (first_node (choices)))->rating) |
#define | best_certainty(choices) (((A_CHOICE*) (first_node (choices)))->certainty) |
#define | class_rating(choice) (((A_CHOICE*) (choice))->rating) |
#define | class_certainty(choice) (((A_CHOICE*) (choice))->certainty) |
#define | class_string(choice) (((A_CHOICE*) (choice))->string) |
#define | class_lengths(choice) (((A_CHOICE*) (choice))->lengths) |
#define | class_permuter(choice) (((A_CHOICE*) (choice))->permuter) |
#define | class_config(choice) (((A_CHOICE*) (choice))->config) |
#define | class_script_id(choice) (((A_CHOICE*) (choice))->script_id) |
#define | free_choices(c) destroy_nodes ((c), free_choice) |
#define | print_bold(string) cprintf ("\033&dB%s\033&d@", string) |
Typedefs |
typedef LIST | CHOICES |
typedef struct choicestruct | A_CHOICE |
Functions |
bool | class_fragment_mark (A_CHOICE *choice) |
void | set_class_fragment_mark (A_CHOICE *choice, bool mark) |
const char * | class_fragment_lengths (A_CHOICE *choice) |
CHOICES | append_char_choice (CHOICES ratings, const char *string, const char *lengths, float rating, float certainty, inT8 config, int script_id) |
CHOICES | copy_choices (CHOICES choices) |
void | clone_choice (A_CHOICE *choice, const char *string, const char *lengths, float rating, float certainty, inT8 permuter, bool fragment_mark, const char *fragment_lengths) |
void | clone_choice (A_CHOICE *choice_2, A_CHOICE *choice_1) |
void | clear_choice (A_CHOICE *choice) |
void | free_choice (void *arg) |
A_CHOICE * | get_best_free_other (A_CHOICE *choice_1, A_CHOICE *choice_2) |
A_CHOICE * | new_choice (const char *string, const char *lengths, float rating, float certainty, inT8 config, int script_id, char permuter, bool fragment_mark, const char *fragment_lengths) |
A_CHOICE * | new_choice (const char *string, const char *lengths, float rating, float certainty, inT8 config, char permuter) |