Imported Upstream version 2.5.0
[debian/amanda] / client-src / amandad.h
diff --git a/client-src/amandad.h b/client-src/amandad.h
new file mode 100644 (file)
index 0000000..054f6bd
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * Amanda, The Advanced Maryland Automatic Network Disk Archiver
+ * Copyright (c) 1999 University of Maryland at College Park
+ * All Rights Reserved.
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation, and that the name of U.M. not be used in advertising or
+ * publicity pertaining to distribution of the software without specific,
+ * written prior permission.  U.M. makes no representations about the
+ * suitability of this software for any purpose.  It is provided "as is"
+ * without express or implied warranty.
+ *
+ * U.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL U.M.
+ * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Authors: the Amanda Development Team.  Its members are listed in a
+ * file named AUTHORS, in the root directory of this distribution.
+ */
+/*
+ * $Id: amandad.h,v 1.2 1999/04/16 05:12:39 kashmir Exp $
+ */
+#ifndef        AMANDAD_H
+#define        AMANDAD_H
+
+/*
+ * General-use pipes inherited by sendbackup that are connected to the
+ * data, mesg, index, etc connections on the server.  amandad sets these
+ * up before calling sendbackup, and will relay data sent on them
+ * back to the server.
+ */
+#define        DATA_FD_COUNT   3               /* number of general-use pipes */
+#define        DATA_FD_OFFSET  50              /* fd at which they start */
+
+#endif /* AMANDAD_H */