Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/patch/pch.h
Show All 31 Lines | |||||
#define INDEX_FILE 2 | #define INDEX_FILE 2 | ||||
#define MAX_FILE 3 | #define MAX_FILE 3 | ||||
struct file_name { | struct file_name { | ||||
char *path; | char *path; | ||||
bool exists; | bool exists; | ||||
}; | }; | ||||
extern char *source_file; | |||||
void re_patch(void); | void re_patch(void); | ||||
void open_patch_file(const char *); | void open_patch_file(const char *); | ||||
void set_hunkmax(void); | void set_hunkmax(void); | ||||
bool there_is_another_patch(void); | bool there_is_another_patch(void); | ||||
bool another_hunk(void); | bool another_hunk(void); | ||||
bool pch_swap(void); | bool pch_swap(void); | ||||
char *pfetch(LINENUM); | char *pfetch(LINENUM); | ||||
unsigned short pch_line_len(LINENUM); | unsigned short pch_line_len(LINENUM); | ||||
Show All 9 Lines |