diff options
author | tenox <as@tenoware.com> | 2017-01-21 01:32:08 -0800 |
---|---|---|
committer | tenox <as@tenoware.com> | 2017-01-21 01:32:08 -0800 |
commit | e9d79c70ed2d6d2a89cb5dbd9ff14d7d78b6c6de (patch) | |
tree | b2c722036b2e77059007ee9bd46fc205ecf4a3af /wfm.h | |
parent | 34d5f06f39ef4051793b8200be0cc532ebf63c8f (diff) | |
download | wfm-e9d79c70ed2d6d2a89cb5dbd9ff14d7d78b6c6de.tar.gz |
git rename support
Diffstat (limited to 'wfm.h')
-rw-r--r-- | wfm.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -78,6 +78,7 @@ char *virt_filename_urlencoded; char phys_filename[PHYS_FILENAME_SIZE]; char virt_destination[VIRT_DESTINATION_SIZE]; char phys_destination[PHYS_DESTINATION_SIZE]; +char final_destination[PHYS_DESTINATION_SIZE]; char virt_parent[VIRT_DIRNAME_SIZE]; char *virt_parent_urlencoded; @@ -105,6 +106,7 @@ struct timeval mt; enum { FALSE, TRUE }; enum { PERM_NO, PERM_RO, PERM_RW }; +enum { CHANGE, DELETE, MOVE }; typedef struct asdir_ { char name[NAME_MAX]; @@ -149,8 +151,5 @@ void html_title(char *); void singleprompt_ui(char *); char *url_encode(char *); char *url_decode(char *); -int change_commit(char *); -int delete_commit(char *); -int rename_commit(char *); -int move_commit(char *); +int wfm_commit(int); int repo_check(void);
\ No newline at end of file |