summaryrefslogtreecommitdiff
path: root/sbin/dump
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/dumprmt.c10
-rw-r--r--sbin/dump/optr.c4
-rw-r--r--sbin/dump/tape.c6
-rw-r--r--sbin/dump/traverse.c3
4 files changed, 19 insertions, 4 deletions
diff --git a/sbin/dump/dumprmt.c b/sbin/dump/dumprmt.c
index da6a17d07ca..38664f74bdc 100644
--- a/sbin/dump/dumprmt.c
+++ b/sbin/dump/dumprmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dumprmt.c,v 1.26 2009/10/27 23:59:32 deraadt Exp $ */
+/* $OpenBSD: dumprmt.c,v 1.27 2013/11/12 04:59:02 deraadt Exp $ */
/* $NetBSD: dumprmt.c,v 1.17 1997/06/05 16:10:47 mrg Exp $ */
/*-
@@ -71,6 +71,14 @@ static void rmtgetconn(void);
static void rmtgets(char *, int);
static int rmtreply(char *);
+int rmthost(char *host);
+int rmtopen(char *tape, int mode);
+int rmtread(char *buf, int count);
+int rmtwrite(char *buf, int count);
+int rmtseek(int offset, int pos);
+int rmtioctl(int cmd, int count);
+void rmtclose(void);
+
extern int ntrec; /* blocking factor on tape */
int
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c
index e86abfac7c6..4e67f11bb77 100644
--- a/sbin/dump/optr.c
+++ b/sbin/dump/optr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: optr.c,v 1.33 2013/04/25 06:43:20 otto Exp $ */
+/* $OpenBSD: optr.c,v 1.34 2013/11/12 04:59:02 deraadt Exp $ */
/* $NetBSD: optr.c,v 1.11 1997/05/27 08:34:36 mrg Exp $ */
/*-
@@ -68,6 +68,8 @@ int datesort(const void *, const void *);
static int timeout;
static char *attnmessage; /* attention message */
+struct fstab *allocfsent(struct fstab *fs);
+
int
query(char *question)
{
diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c
index 0094f0948e3..2b001f38da2 100644
--- a/sbin/dump/tape.c
+++ b/sbin/dump/tape.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tape.c,v 1.37 2013/11/02 00:08:16 krw Exp $ */
+/* $OpenBSD: tape.c,v 1.38 2013/11/12 04:59:02 deraadt Exp $ */
/* $NetBSD: tape.c,v 1.11 1997/06/05 11:13:26 lukem Exp $ */
/*-
@@ -70,6 +70,10 @@ static void flushtape(void);
static void killall(void);
static void rollforward(void);
+void tperror(int signo);
+void sigpipe(int signo);
+void proceed(int signo);
+
/*
* Concurrent dump mods (Caltech) - disk block reading and tape writing
* are exported to several slave processes. While one slave writes the
diff --git a/sbin/dump/traverse.c b/sbin/dump/traverse.c
index 2d35b2cc59d..736922d774c 100644
--- a/sbin/dump/traverse.c
+++ b/sbin/dump/traverse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: traverse.c,v 1.27 2013/06/11 16:42:04 deraadt Exp $ */
+/* $OpenBSD: traverse.c,v 1.28 2013/11/12 04:59:02 deraadt Exp $ */
/* $NetBSD: traverse.c,v 1.17 1997/06/05 11:13:27 lukem Exp $ */
/*-
@@ -63,6 +63,7 @@ union dinode {
static int dirindir(ino_t, daddr_t, int, off_t *, off_t *, int);
static void dmpindir(ino_t, daddr_t, int, off_t *);
static int searchdir(ino_t, daddr_t, long, off_t, off_t *, int);
+void fs_mapinodes(ino_t maxino, off_t *tapesize, int *anydirskipped);
/*
* This is an estimation of the number of TP_BSIZE blocks in the file.