root/src/editor/editsearch.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 #ifndef MC__EDIT_SEARCH_H
   2 #define MC__EDIT_SEARCH_H 1
   3 
   4 /*** typedefs(not structures) and defined constants **********************************************/
   5 
   6 /*** enums ***************************************************************************************/
   7 
   8 /*** structures declarations (and typedefs of structures)*****************************************/
   9 
  10 typedef struct
  11 {
  12     simple_status_msg_t status_msg;     /* base class */
  13 
  14     gboolean first;
  15     WEdit *edit;
  16     off_t offset;
  17 } edit_search_status_msg_t;
  18 
  19 /*** global variables defined in .c file *********************************************************/
  20 
  21 /*** declarations of public functions ************************************************************/
  22 
  23 gboolean edit_search_init (WEdit * edit, const char *s);
  24 void edit_search_deinit (WEdit * edit);
  25 
  26 mc_search_cbret_t edit_search_cmd_callback (const void *user_data, gsize char_offset,
  27                                             int *current_char);
  28 mc_search_cbret_t edit_search_update_callback (const void *user_data, gsize char_offset);
  29 int edit_search_status_update_cb (status_msg_t * sm);
  30 
  31 void edit_search_cmd (WEdit * edit, gboolean again);
  32 void edit_replace_cmd (WEdit * edit, gboolean again);
  33 
  34 /*** inline functions ****************************************************************************/
  35 
  36 #endif /* MC__EDIT_SEARCH_H */

/* [previous][next][first][last][top][bottom][index][help]  */