history.h 1.0 KB

123456789101112131415161718192021222324252627
  1. /** \file history.h
  2. * \brief Header: save, load and show history
  3. */
  4. #ifndef MC__WIDGET_HISTORY_H
  5. #define MC__WIDGET_HISTORY_H
  6. /*** typedefs(not structures) and defined constants **********************************************/
  7. /*** enums ***************************************************************************************/
  8. /*** structures declarations (and typedefs of structures)*****************************************/
  9. /*** global variables defined in .c file *********************************************************/
  10. /*** declarations of public functions ************************************************************/
  11. GList *history_get (const char *input_name);
  12. void history_put (const char *input_name, GList * h);
  13. /* for repositioning of history dialog we should pass widget to this
  14. * function, as position of history dialog depends on widget's position */
  15. char *history_show (GList ** history, Widget * widget);
  16. /*** inline functions ****************************************************************************/
  17. #endif /* MC__WIDGET_HISTORY_H */