vcs-svn: remove header files as well
fc47391e24 (drop vcs-svn experiment, 2020-08-13) removed most vcs-svn files. Drop the remaining header files as well, as they are no longer used. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
René Scharfe committed
Mar 14, 2021 at 15:37 UTC
8588aa86574dce01d26e7706c9a1152aaf4a1acb
5 files changed
-102
vcs-svn/fast_export.h
deleted
-34
@@ -1,34 +0,0 @@
1
-#ifndef FAST_EXPORT_H
2
-#define FAST_EXPORT_H
3
-
4
-struct strbuf;
5
-struct line_buffer;
6
-
7
-void fast_export_init(int fd);
8
-void fast_export_deinit(void);
9
-
10
-void fast_export_delete(const char *path);
11
-void fast_export_modify(const char *path, uint32_t mode, const char *dataref);
12
-void fast_export_note(const char *committish, const char *dataref);
13
-void fast_export_begin_note(uint32_t revision, const char *author,
14
- const char *log, timestamp_t timestamp, const char *note_ref);
15
-void fast_export_begin_commit(uint32_t revision, const char *author,
16
- const struct strbuf *log, const char *uuid,const char *url,
17
- timestamp_t timestamp, const char *local_ref);
18
-void fast_export_end_commit(uint32_t revision);
19
-void fast_export_data(uint32_t mode, off_t len, struct line_buffer *input);
20
-void fast_export_buf_to_data(const struct strbuf *data);
21
-void fast_export_blob_delta(uint32_t mode,
22
- uint32_t old_mode, const char *old_data,
23
- off_t len, struct line_buffer *input);
24
-
25
-/* If there is no such file at that rev, returns -1, errno == ENOENT. */
26
-int fast_export_ls_rev(uint32_t rev, const char *path,
27
- uint32_t *mode_out, struct strbuf *dataref_out);
28
-int fast_export_ls(const char *path,
29
- uint32_t *mode_out, struct strbuf *dataref_out);
30
-
31
-void fast_export_copy(uint32_t revision, const char *src, const char *dst);
32
-const char *fast_export_read_path(const char *path, uint32_t *mode_out);
33
-
34
-#endif
vcs-svn/line_buffer.h
deleted
-30
@@ -1,30 +0,0 @@
1
-#ifndef LINE_BUFFER_H
2
-#define LINE_BUFFER_H
3
-
4
-#include "strbuf.h"
5
-
6
-#define LINE_BUFFER_LEN 10000
7
-
8
-struct line_buffer {
9
- char line_buffer[LINE_BUFFER_LEN];
10
- FILE *infile;
11
-};
12
-#define LINE_BUFFER_INIT { "", NULL }
13
-
14
-int buffer_init(struct line_buffer *buf, const char *filename);
15
-int buffer_fdinit(struct line_buffer *buf, int fd);
16
-int buffer_deinit(struct line_buffer *buf);
17
-
18
-int buffer_tmpfile_init(struct line_buffer *buf);
19
-FILE *buffer_tmpfile_rewind(struct line_buffer *buf); /* prepare to write. */
20
-long buffer_tmpfile_prepare_to_read(struct line_buffer *buf);
21
-
22
-int buffer_ferror(struct line_buffer *buf);
23
-char *buffer_read_line(struct line_buffer *buf);
24
-int buffer_read_char(struct line_buffer *buf);
25
-size_t buffer_read_binary(struct line_buffer *buf, struct strbuf *sb, size_t len);
26
-/* Returns number of bytes read (not necessarily written). */
27
-off_t buffer_copy_bytes(struct line_buffer *buf, off_t len);
28
-off_t buffer_skip_bytes(struct line_buffer *buf, off_t len);
29
-
30
-#endif
vcs-svn/sliding_window.h
deleted
-18
@@ -1,18 +0,0 @@
1
-#ifndef SLIDING_WINDOW_H
2
-#define SLIDING_WINDOW_H
3
-
4
-#include "strbuf.h"
5
-
6
-struct sliding_view {
7
- struct line_buffer *file;
8
- off_t off;
9
- size_t width;
10
- off_t max_off; /* -1 means unlimited */
11
- struct strbuf buf;
12
-};
13
-
14
-#define SLIDING_VIEW_INIT(input, len) { (input), 0, 0, (len), STRBUF_INIT }
15
-
16
-int move_window(struct sliding_view *view, off_t off, size_t width);
17
-
18
-#endif
vcs-svn/svndiff.h
deleted
-10
@@ -1,10 +0,0 @@
1
-#ifndef SVNDIFF_H
2
-#define SVNDIFF_H
3
-
4
-struct line_buffer;
5
-struct sliding_view;
6
-
7
-int svndiff0_apply(struct line_buffer *delta, off_t delta_len,
8
- struct sliding_view *preimage, FILE *postimage);
9
-
10
-#endif
vcs-svn/svndump.h
deleted
-10
@@ -1,10 +0,0 @@
1
-#ifndef SVNDUMP_H
2
-#define SVNDUMP_H
3
-
4
-int svndump_init(const char *filename);
5
-int svndump_init_fd(int in_fd, int back_fd);
6
-void svndump_read(const char *url, const char *local_ref, const char *notes_ref);
7
-void svndump_deinit(void);
8
-void svndump_reset(void);
9
-
10
-#endif