summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-06-26 21:04:21 +0000
committerMiles Bader <miles@gnu.org>1996-06-26 21:04:21 +0000
commite5c4c042b9d476b75c86c3df6a1822e22bdb1535 (patch)
tree99dc2e1154e4b41cc7cf12f27b26dd198c583cde
parent9e010f9c9dcaf7b1a360baf4be090e79b87981c4 (diff)
Initial revision
-rw-r--r--libnetfs/runtime-argp.c23
-rw-r--r--libnetfs/std-runtime-argp.c23
-rw-r--r--libnetfs/std-startup-argp.c26
3 files changed, 72 insertions, 0 deletions
diff --git a/libnetfs/runtime-argp.c b/libnetfs/runtime-argp.c
new file mode 100644
index 00000000..ae787fe2
--- /dev/null
+++ b/libnetfs/runtime-argp.c
@@ -0,0 +1,23 @@
+/* Default definition for netfs_runtime_argp
+
+ Copyright (C) 1996 Free Software Foundation, Inc.
+
+ This file is part of the GNU Hurd.
+
+ The GNU Hurd is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2, or (at
+ your option) any later version.
+
+ The GNU Hurd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#include "netfs.h"
+
+struct argp *netfs_runtime_argp = (struct argp *)&netfs_std_runtime_argp;
diff --git a/libnetfs/std-runtime-argp.c b/libnetfs/std-runtime-argp.c
new file mode 100644
index 00000000..d8d4ba0a
--- /dev/null
+++ b/libnetfs/std-runtime-argp.c
@@ -0,0 +1,23 @@
+/* Parse standard run-time options
+
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+
+ This file is part of the GNU Hurd.
+
+ The GNU Hurd is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2, or (at
+ your option) any later version.
+
+ The GNU Hurd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#include "netfs.h"
+
+const struct argp netfs_std_runtime_argp = { 0 };
diff --git a/libnetfs/std-startup-argp.c b/libnetfs/std-startup-argp.c
new file mode 100644
index 00000000..7fc4b024
--- /dev/null
+++ b/libnetfs/std-startup-argp.c
@@ -0,0 +1,26 @@
+/* Standard startup-time command line parser
+
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+
+ Written by Miles Bader <miles@gnu.ai.mit.edu>
+
+ This file is part of the GNU Hurd.
+
+ The GNU Hurd is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2, or (at
+ your option) any later version.
+
+ The GNU Hurd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#include "netfs.h"
+
+const struct argp
+netfs_std_startup_argp = { 0 };