~mfisch/nano/update_to_2.3.1

« back to all changes in this revision

Viewing changes to src/proto.h

  • Committer: Matthew Fischer
  • Date: 2012-12-17 03:53:35 UTC
  • mfrom: (1.3.4)
  • Revision ID: matthew.fischer@canonical.com-20121217035335-wbz6a5h6m262ahi9
* New upstream release (LP: #1091076)
 - Refreshed auto.patch and sent it upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: proto.h 4460 2009-12-09 16:51:43Z astyanax $ */
 
1
/* $Id: proto.h 4530 2011-02-18 07:30:57Z astyanax $ */
2
2
/**************************************************************************
3
3
 *   proto.h                                                              *
4
4
 *                                                                        *
113
113
extern filestruct *replace_history;
114
114
extern filestruct *replaceage;
115
115
extern filestruct *replacebot;
 
116
extern poshiststruct *poshistory;
 
117
void update_poshistory(char *filename, ssize_t lineno, ssize_t xpos);
116
118
#endif
117
119
 
118
120
#ifdef HAVE_REGEX_H
321
323
void load_history(void);
322
324
bool writehist(FILE *hist, filestruct *histhead);
323
325
void save_history(void);
 
326
int check_dotnano(void);
 
327
void load_poshistory(void);
 
328
void save_poshistory(void);
 
329
int check_poshistory(const char *file, ssize_t *line, ssize_t *column);
324
330
#endif
325
331
 
326
332
/* All functions in global.c. */
460
466
#endif
461
467
#ifndef NANO_TINY
462
468
void do_toggle(int flag);
 
469
void do_toggle_void(void);
463
470
#endif
464
471
void disable_extended_io(void);
465
472
#ifdef USE_SLANG
546
553
char *parse_next_regex(char *ptr);
547
554
bool nregcomp(const char *regex, int eflags);
548
555
void parse_syntax(char *ptr);
 
556
void parse_magic_syntax(char *ptr);
549
557
void parse_include(char *ptr);
550
558
short color_to_short(const char *colorname, bool *bright);
551
559
void parse_colors(char *ptr, bool icase);
611
619
void update_history(filestruct **h, const char *s);
612
620
char *get_history_older(filestruct **h);
613
621
char *get_history_newer(filestruct **h);
 
622
void get_history_older_void(void);
 
623
void get_history_newer_void(void);
614
624
#ifndef DISABLE_TABCOMP
615
625
char *get_history_completion(filestruct **h, const char *s, size_t len);
616
626
#endif
631
641
void do_redo(void);
632
642
#endif
633
643
void do_enter(bool undoing);
 
644
void do_enter_void(void);
634
645
#ifndef NANO_TINY
635
646
RETSIGTYPE cancel_command(int signal);
636
647
bool execute_command(const char *command);
752
763
#endif
753
764
const sc *get_shortcut(int menu, int *kbinput, bool
754
765
        *meta_key, bool *func_key);
755
 
const sc *first_sc_for(int menu, short func);
 
766
const sc *first_sc_for(int menu, void (*func)(void));
756
767
void blank_line(WINDOW *win, int y, int x, int n);
757
768
void blank_titlebar(void);
758
769
void blank_topbar(void);
793
804
void assign_keyinfo(sc *s);
794
805
void xon_complaint(void);
795
806
void xoff_complaint(void);
796
 
int sc_seq_or (short func, int defaultval);
 
807
int sc_seq_or (void (*func)(void), int defaultval);
797
808
void do_suspend_void(void);
798
809
 
799
810
extern const char *cancel_msg;
820
831
extern const char *gototext_msg;
821
832
extern const char *new_buffer_msg;
822
833
 
823
 
void iso_me_harder_funcmap(short func);
824
834
void enable_nodelay(void);
825
835
void disable_nodelay(void);
826
836
 
832
842
void do_credits(void);
833
843
#endif
834
844
 
 
845
/* May as just throw these here since they are just placeholders */
 
846
void do_cancel(void);
 
847
void case_sens_void(void);
 
848
void regexp_void(void);
 
849
void gototext_void(void);
 
850
void to_files_void(void);
 
851
void dos_format_void(void);
 
852
void mac_format_void(void);
 
853
void append_void(void);
 
854
void prepend_void(void);
 
855
void backup_file_void(void);
 
856
void new_buffer_void(void);
 
857
void backwards_void(void);
 
858
void goto_dir_void(void);
 
859
void no_replace_void(void);
 
860
void ext_cmd_void(void);
 
861
 
 
862
 
835
863
#endif /* !PROTO_H */