void init_history(history_t *ph); void history_add(history_t *ph, char *string); char * search_history(history_t *ph, char *search_string);